Changes for version 1.057 - 2020-05-07
- [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.
Documentation
Manage your local CPAN mirror
cpanm wrapper (set mirror to local CPAN by default)
cpanm wrapper (set mirror to local CPAN by default, install all modules from a namespace)
cpanm wrapper (set mirror to local CPAN by default, convert script names to module names)
Modules
Manage your local CPAN mirror
Show a single author
List dependencies for all of the dists of an author
List all dependencies of dists of an author, sorted by number of dependent dists
List distributions of an author
List modules of an author
Find distributions that use one of author's modules
List releases of an author
List scripts of an author
List authors
List authors ranked by number of dists
List authors ranked by total size of their indexed releases
List authors ranked by number of modules
List authors ranked by number of module mentions
List authors ranked by number of distributions using one of his/her modules
List authors ranked by number of releases
List authors ranked by number of scripts
Show Changes of distribution/module
List contents inside releases
Copy a module's latest release file to current directory
Copy a release file to current directory
Copy a script's latest release file to current directory
Delete a release record in the database
List dependencies of distributions
List dependencies, sorted by number of dependents
Show a single distribution
Get author of distribution(s)
Get (latest) release name of a distribution
List contents inside a distribution
Get distribution metadata
List modules in a distribution
List which distributions depend on specified distribution
List scripts in a distribution
List distributions
List "heavy" distributions (ranked by number of dependencies)
Show POD documentation of module/.pod/script
Extract a distribution's latest release file to current directory
Extract a module's latest release file to current directory
Extract a release to current directory
Extract a script's latest release file to current directory
Inject one or more tarballs to the mirror
Show database index log
List mentions
List POD mentions by module(s)
List POD mentions by script(s)
List PODs which mention all specified module(s)
List POD mentions for module(s)
List POD mentions for script(s)
Alias for 'module'
Get author of module(s)
Get distribution name of module(s)
Get (latest) release name of a module
List contents inside a module's distribution
Alias for 'modules'
List modules ranked by number of mentions
List modules ranked by number of reverse dependencies
Given a module, list all modules in the same distribution
Show a single module
List modules/packages
List namespaces
List reverse dependencies
List scripts that depend on specified modules
Alias for 'release'
List other modules related to module(s)
Show a single release
List releases/tarballs
Alias for 'releases'
Reset (empty) the database index
Show a single script
Get author name of script(s)
Get distribution(s) of script(s)
Get module(s) of script(s)
Get release(s) of script(s)
List scripts
List scripts ranked by number of mentions
Given a script, list all scripts in the same distribution
Show source of module/.pod/script
Statistics of your local CPAN mirror
Return last index time of mirror
List subroutine names ranked by number of occurrences
List subroutines
Create/update local CPAN mirror
List distributions which has an x_mentions relationship dependency for specified module
Pod parser for use in App::lcpan
Show LWP::Protocol::Patch::CountBytesIn::bytes_in
Filter mirror()