docker-ce-packaging icon indicating copy to clipboard operation
docker-ce-packaging copied to clipboard

[master] rpmlint: fix "W: no-documentation"

Open thaJeztah opened this issue 3 years ago • 1 comments

  • relates to https://github.com/docker/docker-ce-packaging/issues/639

These packages were causing a warning that they didn't contain documentation. For some of these, we need to add man-pages, but at least we can add some of the files we have. Also adding AUTHORS and SECURITY.md to existing packages:

docker-ce.x86_64: W: no-documentation
docker-ce-rootless-extras.x86_64: W: no-documentation
docker-compose-plugin.x86_64: W: no-documentation
docker-scan-plugin.x86_64: W: no-documentation
The package contains no documentation (README, doc, etc). You have to include
documentation files.

I'm using unique directory names for each package to collect the docs in, as we build the packages in the same environment (so possibly they would trip over each-other), but possibly this is not needed (so "just to be sure").

thaJeztah avatar May 12 '22 08:05 thaJeztah

Looks like this wasn't finished yet (found it locally) 😂

+ for f in AUTHORS LICENSE MAINTAINERS NOTICE README.md
+ install -D -p -m 0644 engine/AUTHORS build-docs/AUTHORS
install: cannot stat 'engine/AUTHORS': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.SnUM42 (%install)

thaJeztah avatar May 12 '22 08:05 thaJeztah