summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* Move bootstrap to build.bootstrapRuss Allbery2020-12-24
| | | | | Move bootstrap metadata to build.bootstrap now that everything can be specified in a single YAML file.
* Drop version number from README.mdRuss Allbery2020-12-24
| | | | | 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 support.cpanRuss Allbery2020-12-24
| | | | | | | | | | 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.
* Regenerate test dataRuss Allbery2020-09-20
| | | | | Reflect the changes to the DocKnot package metadata in the test expected thread output.
* Change the metadata format to YAMLRuss Allbery2020-09-20
| | | | | | | | | | | | | | | | | | 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.)
* Fix status badge for Debian versionsRuss Allbery2020-08-08
| | | | | The badge appears to default to the stable distribution. Force it to point to unstable.
* Fix style issues found by Perl::Critic::FreenodeRuss Allbery2020-07-04
| | | | | | 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.
* Use List::SomeUtils and List::UtilRuss Allbery2020-07-04
| | | | | Replace List::MoreUtils with List::SomeUtils and List::Util, as recommended by Perl::Critic::Freenode.
* Depend on JSON::MaybeXS instead of JSONRuss Allbery2020-07-04
| | | | Recommended by Perl::Critic::Freenode.
* Update to rra-c-util 8.3Russ Allbery2020-07-04
| | | | | * Fix style issues caught by Perl::Critic::Freenode. * Ignore debian/changelog when checking for obsolete strings.
* Further tweak the wrapping heuristicRuss Allbery2020-06-28
| | | | | | 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 heuristic for wrapping output paragraphsRuss Allbery2020-05-17
| | | | | | Change the heuristic for when to refrain from wrapping output paragraphs to require they start with three short lines rather than two.
* Update to rra-c-util 8.2Russ Allbery2020-05-16
| | | | | Ignore a top-level .pc directory when checking for SPDX license identifiers.
* Remove Travis-CI configurationRuss Allbery2020-02-29
| | | | Switch entirely to GitHub Actions workflows for CI.
* Add support for GitHub Actions workflowsRuss Allbery2020-02-29
| | | | | | | | | | | | | 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.
* Fix spelling errors found by codespellRuss Allbery2020-01-19
|
* Use Perl modules instead of gzip and xz programsRuss Allbery2020-01-17
| | | | | | | | 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)
* Adjust formatting for new Perl::TidyRuss Allbery2020-01-17
|
* Add badge for Debian package versionRuss Allbery2020-01-17
| | | | | For packages with a Debian package, add a Shields.io badge for the version in Debian.
* Support ignore regexes for checking a distributionRuss Allbery2020-01-17
| | | | | | 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.
* Fix test for xzRuss Allbery2020-01-08
|
* Skip the dist integration test if xz is not availableRuss Allbery2020-01-08
|
* Include the API documentation in web pagesRuss Allbery2020-01-08
| | | | | | The metadata for the package was missing the API links for the modules, now that App::DocKnot has been broken into multiple modules.
* Release 3.02Russ Allbery2020-01-08
|
* Update to rra-c-util 8.1Russ Allbery2020-01-08
| | | | Minor updates due to dropping compatibility with Perl 5.6.
* Fix code formatting issueRuss Allbery2020-01-08
|
* Check for files missing from the distRuss Allbery2020-01-07
| | | | | | 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.
* Generate xz-compressed tarballsRuss Allbery2020-01-05
| | | | | | 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 No Maintenance IntendedRuss Allbery2019-12-31
| | | | | Add support for the No Maintenance Intended badge in the Markdown README file if the package is marked as orphaned.
* Remove a distribution directory if it already existsRuss Allbery2019-09-01
| | | | | | | | 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.
* Update formatting for perltidy 20190601Russ Allbery2019-08-31
|
* Update for Perl::Critic 1.134Russ Allbery2019-08-31
| | | | Documentation::RequirePodLinksIncludeText has been removed.
* Remove make warnings from C++ dist commandsRuss Allbery2019-08-31
| | | | | | 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++.
* Properly skip a test on Windows that requires tarRuss Allbery2019-07-15
|
* Run make check-valgrind for Valgrind packagesRuss Allbery2019-07-14
| | | | | | 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.
* Also run make check-cppcheckRuss Allbery2019-07-14
| | | | | docknot dist now also runs make check-cppcheck for Autoconf build systems.
* Hopefully fix test temporary file issues on WindowsRuss Allbery2019-07-14
| | | | | | | 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 for distRuss Allbery2019-07-14
| | | | | | | | 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)
* Set user.name and user.email for Git in dist/basic.t testRuss Allbery2019-07-14
|
* Update t/docs/spdx-license.t from rra-c-utilRuss Allbery2019-06-29
|
* Use explicit CRLF conversion in test suiteRuss Allbery2019-06-29
| | | | | | | 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.
* Improve error reporting on systems without diffRuss Allbery2019-06-29
| | | | | | | 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.
* Add support for testing with C++Russ Allbery2019-06-26
| | | | | | 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.
* Improve docknot dist testRuss Allbery2019-06-26
| | | | | Use Capture::Tiny and File::Copy::Recursive to make the docknot dist test a bit simpler and easier to maintain.
* Add docknot dist commandRuss Allbery2019-06-26
| | | | | Add new docknot dist command and App::DocKnot::Dist module, which runs appropriate commands to create a distribution tarball.
* Fix executable flag on t/config/basic.tRuss Allbery2019-06-23
|
* Move test data for generate to a subdirectoryRuss Allbery2019-03-28
| | | | | Clear space for other directories of test data for other DocKnot functions.
* Separate App::DocKnot::Command, add base App::DocKnotRuss Allbery2019-03-16
| | | | | | | | | 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 another moduleRuss Allbery2019-03-11
| | | | | | 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 README and README.mdRuss Allbery2019-03-09
| | | | | Support orphaned warnings in the README and README.md output as well as thread output.