Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc small nits to CI and build #2573

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

kolyshkin
Copy link
Contributor

See individual commits for details.

Since commit 8ca60c5 we use c/storage with devicemapper driver removed,
so libdm_no_deferred_remove is no longer in use.

Remove it.

Signed-off-by: Kir Kolyshkin <[email protected]>
Instead of excluding just the *.gpg files, let's exclude directories
containing those (and similar) files which should not be subjected
to spell checker.

This makes codespell run faster and fixes the following warning:

> WARNING: Cannot decode file using encoding "utf-8": ./signature/simplesigning/testdata/private-keys-v1.d/A0E6EC3A2963DC2D19E9C24E4E6DD232E6BBE1CD.key
> WARNING: Trying next encoding "iso-8859-1"

Signed-off-by: Kir Kolyshkin <[email protected]>
Quite a few phony targets were not marked as such. Fix this.

While at it, let's mark those individually, in place, so it's easier
to remember and check.

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM otherwise.

build:
go build $(BUILDFLAGS) ./...

$(MANPAGES): %: %.md
$(GOMD2MAN) -in $< -out $@

.PHONY: docs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not actually phony AFAICS: it’s a set of file dependencies with correct file dependencies on the sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants