You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cabal check: Warn if readmes or changelogs are omitted from extra-doc-files (#8657)
* cabal check: Warn if expected files are omitted from extra-doc-files
* Add test
* Add missing files and their hackage’s reference
* Move doc file check from checkPackageContent to checkPackageFilesPreDistribution
* Check based on globs only
Check only globs, not the filesystem.
* Update test outputs
* Make check more robust to relative paths
* Fix tests failing with "Distribution quality warnings"
* Fix comments and changelog [skip ci]
* Test changelog only if present
* Revert "Update test outputs"
This reverts commit ce49487.
* Revert "Fix tests failing with "Distribution quality warnings""
This reverts commit 705f6bd.
* Fix changelog
* Remove getGlobFiles
* Adapt warnings to version 1.12
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/NotIncluded/V1.12/ChangeLog.md
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/NotIncluded/V1.12/LICENSE
Warning: These warnings may cause trouble when distributing the package:
3
+
Warning: Please consider including the file './ChangeLog.md' in the 'extra-source-files' section of the .cabal file if it contains useful information for users of the package.
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/NotIncluded/V3.0/ChangeLog.md
Warning: These warnings may cause trouble when distributing the package:
3
+
Warning: Please consider including the file './ChangeLog.md' in the 'extra-doc-files' section of the .cabal file if it contains useful information for users of the package.
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/WrongField/V1.12/ChangeLog.md
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/WrongField/V1.12/LICENSE
Copy file name to clipboardExpand all lines: cabal-testsuite/PackageTests/Check/PackageFiles/MissingExpectedDocFiles/ChangeLog/WrongField/V3.0/ChangeLog.md
0 commit comments