| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Move bootstrap metadata to build.bootstrap now that everything can be
specified in a single YAML file.
|
|
|
|
|
| |
Drop the current version number from the title of README.md. This is
not a common practice and doesn't seem to add much value.
|
|
|
|
|
|
|
|
|
|
| |
Drop support for the support.cpan metadata key, since the CPAN RT
instance is going away. For packages with support.cpan set, if
vcs.github was set and support.github was not, set support.github to
match vcs.github during a docknot update.
Change DocKnot to point to the GitHub issue tracker and make the
same change to the affected test data.
|
|
|
|
|
| |
Reflect the changes to the DocKnot package metadata in the test
expected thread output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the metadata format to a single YAML file, with a slightly
different internal representation, whose default location is
docs/docknot.yaml. The new docknot update command (or the
App::DocKnot::Update module) will convert from the old JSON format.
The new metadata format is checked against a schema when read.
DocKnot now depends on YAML::XS and Kwalify.
Word wrap numeric lists and, in Markdown output, quoted paragraphs.
Previously these preserved the original spacing from the input text
snippets.
Require paragraphs be indented by at least six spaces, not five, to be
treated as verbatim paragraphs and left unwrapped. (Markdown
paragraphs can still use four spaces because they are wrapped in
markup lines.)
|
|
|
|
|
| |
The badge appears to default to the stable distribution. Force it
to point to unstable.
|
|
|
|
|
|
| |
Ensure that style/critic tests pass with Perl::Critic::Freenode
installed. This fixes build issues when testing with the
perl-tester Docker image, which pre-installs that set of rules.
|
|
|
|
|
| |
Replace List::MoreUtils with List::SomeUtils and List::Util, as
recommended by Perl::Critic::Freenode.
|
|
|
|
| |
Recommended by Perl::Critic::Freenode.
|
|
|
|
|
| |
* Fix style issues caught by Perl::Critic::Freenode.
* Ignore debian/changelog when checking for obsolete strings.
|
|
|
|
|
|
| |
Change the heuristic for when to refrain from wrapping output
paragraphs to ignore the indentation, and increase the threshold
for a short line to 45 characters from 40.
|
|
|
|
|
|
| |
Change the heuristic for when to refrain from wrapping output
paragraphs to require they start with three short lines rather than
two.
|
|
|
|
|
| |
Ignore a top-level .pc directory when checking for SPDX license
identifiers.
|
|
|
|
| |
Switch entirely to GitHub Actions workflows for CI.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the vcs.travis metadata key to vcs.status.travis. This will
require changes to all templates and package metadata.json files that
use this key.
Add support for generating a build status badge from a GitHub Actions
workflow. To do this, set vcs.status.workflow to the name of the
workflow that should be referenced for the badge.
Also specify DocKnot's dependencies with a cpanfile. This makes it
easier to install its dependencies with some tools, such as cpm.
|
| |
|
|
|
|
|
|
|
|
| |
docknot dist now uses IO::Uncompress::Gunzip and IO::Compress::Xz to
generate a missing xz tarball rather than running external gzip and xz
programs, which avoids test failures when those programs aren't
available or don't support the expected options. Thanks to Slaven
Rezić for the testing and report. (#131406)
|
| |
|
|
|
|
|
| |
For packages with a Debian package, add a Shields.io badge for the
version in Debian.
|
|
|
|
|
|
| |
docknot dist now supports a distribution/ignore metadata setting,
which contains a list of regular expressions of files to ignore when
checking a distribution tarball for completeness.
|
| |
|
| |
|
|
|
|
|
|
| |
The metadata for the package was missing the API links for the
modules, now that App::DocKnot has been broken into multiple
modules.
|
| |
|
|
|
|
| |
Minor updates due to dropping compatibility with Perl 5.6.
|
| |
|
|
|
|
|
|
| |
docknot dist now checks for files present in the source tree but
missing from the distribution, apart from a (currently hard-coded)
list of exceptions.
|
|
|
|
|
|
| |
If the native distribution generation commands create only a
gzip-compressed tarball, generate an xz-compressed tarball from the
gzip-compressed tarball during docknot dist.
|
|
|
|
|
| |
Add support for the No Maintenance Intended badge in the Markdown
README file if the package is marked as orphaned.
|
|
|
|
|
|
|
|
| |
docknot dist now removes any existing directory when creating a new
distribution. It overrides permissions if possible while doing this
so that it can clean up from a failed Automake make distcheck, so the
destination directory should be trusted, not one to which an attacker
may be able to write files.
|
| |
|
|
|
|
| |
Documentation::RequirePodLinksIncludeText has been removed.
|
|
|
|
|
|
| |
Remove make warnings from the commands when building a distribution
that supports C++, since my current Autoconf warning flag discovery
code doesn't properly exclude options that are unsupported by C++.
|
| |
|
|
|
|
|
|
| |
If the valgrind key is set to true in the package build metadata,
docknot dist now also runs make check-valgrind for Autoconf build
systems.
|
|
|
|
|
| |
docknot dist now also runs make check-cppcheck for Autoconf build
systems.
|
|
|
|
|
|
|
| |
Hopefully fix tests on Windows via more correct use of File::Temp
objects: be clear about using the file name instead of the file
descriptor, and delete the file by letting the File::Temp object go
out of scope.
|
|
|
|
|
|
|
|
| |
Allow the path to Perl to be configured in App::DocKnot::Dist. This
is used primarily for testing so that we can try building a
distribution using Module::Build with the same Perl used to run the
test suite. This is exposed by the module API but (intentially) not
exposed on the docknot command line. Thanks, Slaven Rezic. (#129958)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Based on the tests that are failing on Windows, it looks like slurp
from inside the test suite of files written by the test suite isn't
converting from CRLF back to LF. Apply an explicit conversion layer
in the hope that this will fix the tests.
|
|
|
|
|
|
|
| |
Windows and other systems without diff just abort the test suite
if there is any mismatch in output, without reporting what the
mismatch is. Instead, fall back on printing the expected and seen
output if diff fails.
|
|
|
|
|
|
| |
The docknot dist command will now also build and test with C++ if
the package indicates that it supports C++ via the build.cplusplus
key in the package metadata.
|
|
|
|
|
| |
Use Capture::Tiny and File::Copy::Recursive to make the docknot
dist test a bit simpler and easier to maintain.
|
|
|
|
|
| |
Add new docknot dist command and App::DocKnot::Dist module, which runs
appropriate commands to create a distribution tarball.
|
| |
|
|
|
|
|
| |
Clear space for other directories of test data for other DocKnot
functions.
|
|
|
|
|
|
|
|
|
| |
Move the entry point for command-line commands from App::DocKnot to
App::DocKnot::Command. The App::DocKnot module now only provides some
helper methods to load application data, used by both
App::DocKnot::Config and App::DocKnot::Generate. It's no longer
necessary to explicitly load App::DocKnot before using one of the
submodules.
|
|
|
|
|
|
| |
Separate configuration parsing into a new App::DocKnot::Config module,
used by App::DocKnot::Generate. This is preparation for also using
the configuration in a separate App::DocKnot::Dist module.
|
|
|
|
|
| |
Support orphaned warnings in the README and README.md output as well
as thread output.
|