App-DuckPAN
view release on metacpan or search on metacpan
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-11 02:50:51 +0000
templates: Add subdir_support to TemplateSet.
This is a general addition, but it specifically allows us to error
out when the user provides a name containing path separators for
Cheat Sheets.
Change: 8fcd253f31d27f986e84e70b991d5dd377116464
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
Generic templates: added test cases
Change: 1af52038ea13f3cef57ebef305ec87f247249bb1
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
New.pm: Gracefully handle --template with no param
Change: 381b532de50bc14b49e5a95ec3485ddc8710c3c9
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
Generic Templates: user interface changes
1. Ask user if they want to see optional templates 2. Show all
possible combinations of optional templates in a menu
Also, made '_template_set' as an attribute of App::DuckPAN::New
instead of using a passing it around to methods.
Change: 1d345b72784954e8cf3d4d800de415a675135cbb
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
New.pm: modify display of created files; wording
- Use the word 'template' instead of 'sub-type' - Renamed
get_reply_yes_no() to ask_yn() for consitency with Term::UI. - Use
tabs instead of spaces (introduced in an earlier commit) in New.pm
for consitency - Other minor changes to names and comments
Change: 6ec078528bb38606856d1b498e32f2579a803910
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
Restart.pm: Use template info for monitoring
of directories which need the server to be restarted
Change: 69ca30161f2e3e7bb8fa3c32e3c6c2ce4245a6f3
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
Support for generic templates
Template information is now stored in respective IA packages for
easier extensibility. There's also support for optional files that
users can decide whether to generate.
Change: c2ac58d0bac53efb30cf7f832cbadb14341c3a61
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 07:12:16 +0000
New.pm: add ia_path_lc template var
Change: 789ced4bea0fcbfa32e07a4c3565bdf167236742
Author: Zaahir Moolla <moollaza@fastmail.fm>
Date : 2015-12-09 17:59:46 +0000
Merge pull request #289 from srvsh/ia_id
New.pm: add ia_id template variable
Change: 6f4e102842d4a5c499b96ed98801221603cc68ab
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-10 02:11:36 +0000
New.pm: add ia_id template variable
... and remove ia_name and lia_name
Change: 47ae1fb14d72e64d900c87cd69f673c897260170
Author: Zaahir Moolla <moollaza@fastmail.fm>
Date : 2015-12-08 22:46:28 +0000
Merge pull request #288 from srvsh/ia_package_name_fix
Fix camel casing of IA name containing path separators
Change: fe7c0a12b37b0498f73ba68f4342815e032882b8
Author: Sarvesh D <sarveshd@openmailbox.org>
Date : 2015-12-09 03:30:26 +0000
New.pm: fix camel casing of IA package name
... when the entered name contains a path
Change: 2a74dabe0c69c3219e8be6d54cc6ce78d8d30f1f
Author: Zaahir Moolla <moollaza@fastmail.fm>
Date : 2015-12-08 12:41:35 +0000
Merge pull request #287 from duckduckgo/zt/alt-to-hash
Capture rewrites before loop
Change: 0956109afbfcd16a1b7c257949114aa6d1827932
Author: Zach Thompson <zach@duckduckgo.com>
Date : 2015-12-08 10:31:39 +0000
Capture rewrites before loop
Change: 2ca6269ab6a768f62d455b2677d2af4b16acdb72
Author: Zaahir Moolla <moollaza@fastmail.fm>
Date : 2015-12-04 18:43:04 +0000
Merge pull request #286 from srvsh/getopt_long_conf
bin/duckpan: Fix Getopt::Long configuration
Date : 2014-11-07 11:33:02 +0000
Direct Data::Printer output to msg mechanisms.
This way the info gets caputred in the same ways.
Change: 125a0204e6afff04ec8d9bc09f0c40d6a1392f7d
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:02 +0000
DDG: turn per-class loads into verbose messages.
It all scrolls by so quickly that it is unlikey to help. It's mostly
the unable to load messages which are of interest. Those also become
warnings herein.
Change: 487f3d1ee3784d9ab9d176eaccc360e2e334d8c2
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:02 +0000
App::DuckPAN: add warning_msg and error_msg.
Still more abstracting of the output such that we can potentially do
interesting things with it later
Also: - Move meat of show_msg into _print_msg with filehandle
passing. - Put error_msg on to STDERR via the above facility. -
Minorly refactor _print_msg for slightly tighter output and better
comprehensibility.
Change: 9cf74984ad6faebe33a44272b8b9b1aa767f9509
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:01 +0000
Replace print with show_msg.
We want a consistent way of outputting messages, so all of the print
statements with access to the App are converted to use its
outputters.
Change: c5632933684b167eb14a705f292ae5cad6e1e2d5
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:01 +0000
DuckPAN: switch print_text to show_msg.
This creates a more consistent API and is easier to think about in a
general way.
`exit_with_msg` stays as it is, because an extra argument is required
which should be slightly more obvious with the naming difference.
Change: 2143d753e95fc3ac20ed6caa2d10c2904363e876
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:01 +0000
App::DuckPAN: add and use verbose message.
We abviously aren't _overly_ concerned about speed, so the early
return guard there is mostly in case we decide we want to mutate the
output or something else fancy inside `verbose_msg`
Change: da50bc836cf09c2c8ed1abb0d6565ee30a29b216
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:33:01 +0000
App::DuckPAN: move verbose option to App level.
There's no particular reason why verbosity should be set on only the
server command level. If we move it here, we can better unify logging
and create a more consistent interface.
This is a breaking change for scripts which expect the other
ordering, but it will really improve things. So let's do it now,
early in product up-take.
Change: 3206aa668fabe1ea0675200860aa43e2558e803c
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:10:42 +0000
DuckPAN: use a more reasonable terminal width for `print_text`.
If we can figure out their width, we might as well use it so we get a
nicer output.
I don't feel comfortable writing cross-platform code to determine
when the width may have changed, so I'll leave that for smarter
people.
Change: a6007cfb8e49e021c76211611181a5cec83d86cc
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:10:42 +0000
Perl: allow pinning for uninstalled packages.
We've always required that we have a local version against which we
compare. But if it's not installed at all, we'd miss the comparisons
with the pinned version. So, let's give it a value against which to
compare.
Hopefully that value is silly enough.
Change: 46f4dde9b515007081b8b48d6a64fa8bca5d1270
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:10:42 +0000
Perl: make pinned versions work.
We don't have access to an export which allows us to find previous
distributions, but we can assert a bunch of shaky premises and try to
find it anyway.
Change: 09ab54d928b35dd25d0ecdee9062cd2a687d48b8
Author: Matt Miller <mwmiller@outlook.com>
Date : 2014-11-07 11:10:42 +0000
Perl: simplify module version checking.
This makes things slightly easier to follow for the next person. I
suspect I'll be back here soon and I like my sanity.
( run in 2.212 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )