App-lcpan
view release on metacpan or search on metacpan
- [ux] Rename functions in App::lcpan to match CLI subcommand names
(e.g. list_local_cpan_authors -> authors) to make codebase easier to
use/understand.
- Various minor tweaks and fixes.
0.15 2015-04-11 Released-By: PERLANCAR
- Bump database schema version to v4. This update mainly adds column
'cpanid' to tables 'module' and 'dist' to speed up queries. This
version requires a full reindex.
- [Bugfix] Dependency information were sometimes lost when we update
mirror and old files information were removed, because we stored
dependency information on a per-dist basis instead of per-file.
- Enable authors-by-{mod,rel}-count because the queries are now fast.
- Add subcommand: authors-by-dist-count.
0.14 2015-04-07 Released-By: PERLANCAR
- Make subcommands pluggable (App::lcpan::Cmd::*) to prepare for adding
more/custom subcommands by plugins.
- Add subcommands authors-by-mod-count & authors-by-rel-count, though
they are currently disabled by default because the queries are slow
(100+ secs).
- [Optimization] update: don't update index if mirrored files do not
change (done by checking the mtime of
modules/02packages.details.txt.gz).
- Add completion for --index-name.
- [dist] Rebuild with newer Pod::Weaver::Plugin::Rinci for producing
Configuration POD section.
0.13 2015-02-26 Released-By: PERLANCAR
- No functional changes.
- Forget to tag 'index_name' arg as common arg.
0.12 2015-02-25 Released-By: PERLANCAR
- [ux] Avoid creating index database automatically when we are just
reading the index (ro mode).
- Allow customizing db filename via --index-name.
0.11 2015-02-24 Released-By: PERLANCAR
- To help chase bugs in updating index, now keeps old indexes (by
default 7, customize via --num-backups).
0.10 2015-02-06 Released-By: PERLANCAR
- Mark common args with 'common' tag.
- Add convenient option --all (equivalent to: --phase ALL --rel
ALL).
0.09 2015-01-20 Released-By: PERLANCAR
- Skip erroneous version in dep information, instead of exploding.
- rdeps: Allow multiple --author & --author-isnt options.
0.08 2015-01-14 Released-By: PERLANCAR
- More tweaks and minor bug fixes.
- Add more examples.
0.07 2015-01-14 Released-By: PERLANCAR
- Various small tweaks.
0.06 2015-01-14 Released-By: PERLANCAR
[REMOVED FEATURES]
- Remove the feature that extracts dist metadata from Makefile.PL and
Build.PL because this is unsafe (we are running untrusted code). Note
that MetaCPAN also does not extract dist metadata from Makefile.PL and
Build.PL for the same reason. Also, it has been pointed out to me that
the current way is not proper ("idiomatic"). The more proper way is to
let perl run Makefile.PL and Build.PL to generate Makefile/Build as
well as MYMETA.{json,yml}. Then we read MYMETA. Perhaps this feature
will come back as an optional plugin later, should there be any
demand. BTW, Dist::Requires does this kind of functionality.
- Also remove the feature that detects *.meta files, because these files
are not present in a mini CPAN mirror.
[ENHANCEMENTS]
- New subcommands: releases, mod2dist, mod2rel, dist2rel, distmods,
authormods, authordists, authorrels. UPDATE 2015-12-06: authormods now
renamed to author-mods, authordists -> author-dists, authorrels ->
author-rels. UPDATE 2016-02-20: distmods now renamed to dist-mods.
[DATABASE CHANGES]
- Bump database schema version to v3: add columns
has_{metayml,metajson,makefilepl,buildpl} to 'file' table. Add
'version_numified' to 'dist' and 'module' tables.
- Clear data for reindexing.
( run in 0.456 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )