App-lcpan
view release on metacpan or search on metacpan
1.074 2023-09-26 Released-By: PERLANCAR; Urgency: medium
- Add subcommands: deps-to-other-author, rdeps-from-other-author.
1.073 2023-07-09 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- Remove use of smartmatch.
1.072 2023-03-28 Released-By: PERLANCAR; Urgency: low
- [subcommand deps] Add option --exclude-dep.
- [ux] Add summaries for namespace completion.
- [ux] Allow the use of '/' as namespace separator when completing
namespace or name in 'lcpan doc'.
1.071 2022-09-19 Released-By: PERLANCAR; Urgency: medium
- Disable saving old file/module/script records for now, because of
current lack of handling of duplicates.
- Add subcommands: author-mods-by-rdep-count (which is just a shortcut
for mods-by-rdep-count, author-mods-by-other-author-rdep-count,
delete-old-data, related-authors, .
- [ux] Provide summaries for most completion answers.
- [doc][subcommand related-mods] Add note about the downside of the
approach used.
- Add common option: --no-update-db-schema.
- [subcommand mods-by-rdep-count] Replace --author arg to
--module-author, --module-author-isnt, --dist-author,
--dist-author-isnt.
1.070_001 2022-05-07 Released-By: PERLANCAR; Urgency: medium
- [experimental] Retain historical records for tables file, module,
script (in old_file, old_module, old_script respectively). This
will be used to give more correct results with things like
'whatsnew'. Usually when a file is deleted, i.e. no longer
mentioned in the index, e.g. Foo-Bar-0.001.tar.gz which contains
module 'Foo::Bar' and script 'foo', some records like the 'foo'
script belonging to the file record are deleted along with it. Then
when a new file for the same distribution is added in the index,
e.g. Foo-Bar-0.002.tar.gz (which still contains the same 'Foo::Bar'
module and 'foo' script), the script record and some other records
are re-added to the lcpan index. This means lcpan sees the script
as new, when it's actually not. We now store old module record as
well as file and script records to old_* tables so we will be able
to know whether a distribution, module, or script is actually new
or just updated. But note that the last part has not been coded in
yet.
1.070 2022-03-27 Released-By: PERLANCAR; Urgency: medium
- Add subcommand: dists-by-mod-count.
1.069 2022-03-27 Released-By: PERLANCAR; Urgency: medium
- Add proper rank column to ranking subcommands (*-by-*count).
- Add subcommands: db-path, dists-by-script-count,
mods-by-rdep-author-count.
1.068 2021-06-05 Released-By: PERLANCAR; Urgency: medium
- [ux] [doc] Add description and cross-mention between mentions-for-mods
and mentions-for-all-mods.
- [build] Rebuild to bump dependency version to attempt to fix
RT#136715.
1.067 2021-06-03 Released-By: PERLANCAR; Urgency: medium
- [subcommand related-mods] Add option --(no-)submodules.
1.066 2021-05-31 Released-By: PERLANCAR; Urgency: medium
- [subcommand rdeps] Accept option --dist.
- [subcommand deps] Accept option --module.
1.065 2021-05-25 Released-By: PERLANCAR; Urgency: medium
- [subcommand rdeps] Allow finding revdeps for unindexed modules
(this is already in the database, we just need to give it to
user).
1.064 2021-04-21 Released-By: PERLANCAR; Urgency: medium
- [subcommand related-mods] Add option: --with-content-paths.
1.063 2021-02-13 Released-By: PERLANCAR; Urgency: medium
[subcommand authors]
- Add options --sort, --result-limit, --result-start, --random.
[subcommands dists, mods, rels]
- Add options --random, --result-limit, --result-start.
[subcommand rdeps-scripts]
- Add option --author.
1.062 2020-08-13 Released-By: PERLANCAR; Urgency: medium
- [bugfix] Fix completion of whatsnew's --my-author.
[subcommand update]
- Add retrying and retry options: retry_max_attempts, retry_delay.
- We now use LWP::UserAgent::Plugin.
1.061 2020-06-11 Released-By: PERLANCAR; Urgency: medium
[subcommand mentions]
- Add --{added,updated,added-or-updated-}-* options.
[subcommand whatsnew]
- Show new mentions for you.
1.060 2020-06-11 Released-By: PERLANCAR; Urgency: medium
- [bugfix] Fix author-deps & author-rdeps which didn't apply the
{added,updated,added_or_updated}_since filter to the correct
entity (to module/dist instead of dep).
- [bugfix] Fix typo that caused --added-since-last-n-index-updates
to not work.
[subcommand whatsnew]
- Add --my-author option to show additional added/updated items related
to you.
1.059 2020-06-10 Released-By: PERLANCAR; Urgency: medium
- The --updated-since X option now does not include records created at
X, to avoid duplication when viewing new records as well as updated
records in the same time (e.g. in whatsnew).
[subcommand deps]
- [ux] Delete module_file_id from results.
1.058 2020-05-26 Released-By: PERLANCAR; Urgency: medium
- [incompatible change] Add/replace/rename/remove ctime/mtime
options: remove --{added,updated}-before, replace
--{added,updated}-after with --{added,updated}-since, rename
--{added,updated}-in-last-update to
--{added,updated}-since-last-index-update, rename
--{added,updated}-in-last-n-updates to
--{added,updated}-since-last-n-index-updates, add
--added-or-updated-since* options.
- Add some subcommands: most-depended-mods, most-mentioned-mods,
most-mentioned-scripts, whatsnew, heaviest-dists.
- Add option -n to mods-by-mention-count, mods-by-rdep-count,
scripts-by-mention-count, dists-by-dep-count.
[subcommand scripts-by-mention-count]
- Return author.
- Add subcommand: heaviest-dists.
[subcommand dists-by-dep-count]
- [bugfix]Fix query, dependency count was incorrect (all 1).
1.057 2020-05-07 Released-By: PERLANCAR; Urgency: high
- [bugfix] Fix several misplaced parameters in SQL update query which
caused module & script abstract as well as distro information to not
be set. This version will bump database schema version to v15 which
will reset the database for reindexing.
- [enhancement] Aside from full reindexing, the database schema is also
changed. We now remove the 'dist' table and merge the information to
'file' table for simplicity. 'dist' has a 1:1 relattonship with 'file'
anyway. The 'file' table now adds several columns to store distro
information: dist_name, dist_abstract, dist_version, and
is_latest_dist.
- [subcommand deps] The subcommand can now show dependencies of older
distros, as long as it's still indexed in 02packages. Use this syntax:
'lcpan deps Foo-Bar@1.23' to show dependencies of a specific version.
Otherwise, without the version suffix, dependencies of the latest
Foo-Bar will be shown.
- [bugfix] Fix regex to catch META.json or META.yml on top-level
dir, which has path 'META.yml' instead of '/META.yml'.
- [subcommand update][bugfix] Update authors or deleted authors were not
reflected in the author table.
- [subcommand dist2author][bugfix] Didn't return author name when there
is only one input dist.
- [testing] Add more tests which uncovered a few other bugs, some listed
above.
1.056 2020-05-06 Released-By: PERLANCAR; Urgency: medium
- [testing] Avoid error when testing database schema version upgrades.
1.055 2020-05-06 Released-By: PERLANCAR; Urgency: medium
- [testing] Add some basic tests, finally.
1.054 2020-05-06 Released-By: PERLANCAR; Urgency: medium
- [bugfix] Fix typo in translating --updated-in-last-update.
- Add convenience options --{added,updated}-in-last-n-updates=n.
- [subcommand log] Reorder lcpan_version column.
1.053 2020-05-05 Released-By: PERLANCAR; Urgency: medium
- Bump database schema version to v14 to add 'log' table.
- [subcommand reset] Reset index_creation_time metadata, add
description.
- [subcommand update][bugfix] Mark files that we skip sub indexing for,
so we don't re-process them again and again.
- Add convenience options --added-in-last-update,
--updated-in-last-update.
- [subcommand author-rdeps] Add --{added,updated}-* options.
1.052 2020-05-04 Released-By: PERLANCAR; Urgency: medium
- Bump database schema version to v13 to add rec_mtime and rec_mtime to
all tables. Recording ctime and mtime will allow users to check for
newly added/updated authors, distributions, modules, and so on.
- Add filter options --added-{before,after} & --updated-{before,after}
to some subcommands.
- Record index creation time and show it in 'stats'.
1.051 2020-04-20 Released-By: PERLANCAR; Urgency: medium
- Add unique indexes for PK which apparently are not added for tables
that have other unique indexes (bump database schema version to v12).
1.050 2020-04-19 Released-By: PERLANCAR; Urgency: medium
- [subcommand deps] Fix query: do not link queries using dist_id +
is_latest because there might be several dists/releases for the same
module; use dist name instead.
- [subcommand rdeps] Like deps, fix query by linking using module
name instead of module ID.
- Remove App::lcpan::Manual::Cookbook (now in App-lcpan-Manual).
1.049 2020-04-11 Released-By: PERLANCAR; Urgency: high
- [bugfix] A logic bug in --dont-uniquify option broke deps & rdeps
subcommands.
1.048 2020-04-11 Released-By: PERLANCAR; Urgency: medium; Broken: yes
- UPDATE: this release was broken, fixed in 1.048.
- Bump database schema version to v11 to add some indices on dep
table.
- [subcommands deps, rdeps] Add option --dont-uniquify.
1.047 2020-04-11 Released-By: PERLANCAR; Urgency: medium
- [doc] Mention App::lcpan::Manual.
[subcommand deps]
- 'perl' is considered registered even though it does not have 'author'.
- Rename options --{include,exclude}-{,un}registered to *{,un}indexed*
to be more consistent with PAUSE/CPAN terminology.
[subcommand rdeps-scripts]
- Add --level (-R).
[subcommand author-deps]
- Add description & examples.
1.047 2020-04-11 Released-By: PERLANCAR; Urgency: medium
- New subcommands: contents, scripts, mentions, authors-by-script-count,
authors-by-mod-mention-count, scripts-from-same-dist, distscripts,
author-scripts. UPDATE 2016-02-20: distscripts now renamed to
dist-scripts.
0.66 2016-02-07 Released-By: PERLANCAR
- [Bugfix] file should be indexed by (cpanid,name) not (name) because
PAUSE allows two authors to have the same filename.
- Bump database schema version to v7 due to the above fix.
- [Incompatible change] [subcommand deps] Change default --include-core
to 1.
- [subcommands copy_*, extract_*]: Check that release file exists.
0.65 2016-01-23 Released-By: PERLANCAR
- [Bugfix] [subcommand deps] Dependency to unindexed modules was not
shown.
- Use authors/00whois.xml (produced by e.g. OrePAN) when
authors/01mailrc.txt.gz does not exist.
- [doc] Update mini CPAN current size.
- [subcommand mods] [ux] Complete namespace.
0.64 2016-01-16 Released-By: PERLANCAR
- Adjust so we can be used like a daemon.
- [Bugfix] mod2dist: Used wrong database result field.
- [Bugfix] releases: Used wrong result field.
- [doc] Update information about mini CPAN current size.
0.63 2016-01-06 Released-By: PERLANCAR
- [Bugfix] Propagate error from _update_index().
- Add safety code to bail out when indexer_version is newer than
current version, remove old code.
0.62 2016-01-04 Released-By: PERLANCAR
- [subcommand mods] Allow specifying multiple namespaces.
0.61 2015-12-31 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated PWR:DumpPerinciCmdLineScript (0.04) which
lets us avoid extraneous subcommands from being included in the
bin/lcpan's POD.
0.60 2015-12-25 Released-By: PERLANCAR; Message: It's *this* Christmas!
- Replace --exact-match with the more general --query-type to be
able to search certain fields only or exact match on certain
fields only.
- [subcommand deps] Add option --flatten when doing recursive.
- [internal] Replace 'format_options' result metadata with the simpler
'table.fields'.
- Bump prereq version Log::Any::IfLOG to 0.07.
0.59 2015-12-07 Released-By: PERLANCAR
- No functional changes.
- [Build] [Bugfix] Don't include subcommand modules outside of our dist
when building with dzil, because we'll document and depend on
extraneous subcommands/modules [CT].
0.58 2015-12-07 Released-By: PERLANCAR
- [subcommand mods-by-rdep-count] [ux] Allow lowercase names in author
argument.
- [Incompatible change] Rename subcommands author{rdeps,mods,rels,dists}
to author-{rdeps,mods,rels,dists} to be more consistent. It's
recommended that you first uninstall the old version (e.g. using
'pm-uninstall' or 'pmuninst') before installing this version, to clean
up old names.
0.57 2015-11-22 Released-By: PERLANCAR
- No functional changes.
- [doc] Don't show large results in example.
0.56 2015-11-21 Released-By: PERLANCAR
- [subcommand stats] Add num_authors_with_releases.
- [dist] Bump version of IPC::System::Options to fixed 0.22
version.
0.55 2015-10-20 Released-By: PERLANCAR
- [subcommand deps] Add --with-xs-or-pp to show dependency is XS/PP.
- Warn about modules that don't have dist ID.
- [Bugfix] Search for META.json, META.yml, Build.PL, Makefile.PL at
the top-level or second-level only, not anywhere.
- Switch from YAML::Syck to YAML::XS (YAML::Syck can't parse things
like '--- # YAML1.0' header).
0.35 2015-05-19 Released-By: PERLANCAR
- [subcommand dists] Add filtering options
--has-{makefilepl,buildpl,metayml,metajson}.
0.34 2015-05-15 Released-By: PERLANCAR
- [subcommand mod2dist] Accept multiple modules.
- [subcommand authorrdeps] Add completion for --user-author{,--isnt}.
0.33 2015-04-29 Released-By: PERLANCAR
- [Bugfix] (update schema) Mixed up 'has_child' and 'num_sep' columns
when filling the 'namespace' table. So we need to empty and re-fill
the table.
- [Bugfix] update: Forgot to update 'namespace' table when adding a new
module.
0.32 2015-04-29 Released-By: PERLANCAR
- Bump database schema version to v6 (add 'namespace' table). This is
mostly to help speed up tab completion query when completing module
name.
- Add subcommand: namespaces.
- [subcommand modules] Add filter option --namespace.
0.31 2015-04-28 Released-By: PERLANCAR
- [Bugfix] Don't update dist by name because name is not unique,
update by id instead.
0.30 2015-04-26 Released-By: PERLANCAR
- This version will require full reindex.
- [Bugfix] When indexing, used wrong dist_id (from last_insert_id())
when record already exists.
- [Bugfix] deps, rdeps: Result ordering fixes.
0.29 2015-04-24 Released-By: PERLANCAR
- [Bugfix] Fix missing dependencies/reverse dependencies information
when a depended module is updated, this is because we used INSERT OR
REPLACE {dist,module} which changes module/dist IDs. We should've used
INSERT or UPDATE. From this new version on we record the module
version which did the reindexing. We are doing a full reindex when
indexer <= 0.28.
0.28 2015-04-24 Released-By: PERLANCAR
- No functional changes.
- Avoid perl undef warning.
0.27 2015-04-23 Released-By: PERLANCAR
- [subcommand rdeps] Implement recursive (-l/-R).
- [subcommand deps] Ordering when in -l/-R mode.
- [subcommand deps] Optimize query (avoid retrieving module ID's twice
when in recursive mode).
- [Bugfix] [subcommand deps] Forget to clone data causing deps --phase &
--level defaults being reset to 'ALL'.
0.26 2015-04-22 Released-By: PERLANCAR
- Add phase & rel arguments to rdeps & authorrdeps.
- Add test: xt/author/sql_schema_versioned.t.
0.25 2015-04-22 Released-By: PERLANCAR
- [Bugfix] Fix SQL error when creating schema.
0.24 2015-04-21 Released-By: PERLANCAR
- [subcommand deps] Accept multiple modules, speed up query.
0.23 2015-04-16 Released-By: PERLANCAR
- Add subcommand: dists-by-dep-count.
- Add subcommand: authors-by-rdep-count.
- Remove unnecessary (and unhelpful) package metadata in command
modules, module abstract will be retrieved from handle_cmd's
metadata anyway.
- [subcommand mods-by-rdep-count] Add filter options --phase & --rel.
0.22 2015-04-15 Released-By: PERLANCAR
- [subcommand rdeps] Accept multiple modules.
( run in 0.565 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )