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

Make GitHub Actions ensure that cronie keeps compiling without errors on Linux (fixes #174) #175

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

hartwork
Copy link
Contributor

Fixes #174

Four things seem worth mentioning at the moment:

  • I found multiple licenses used in this repository so I was not sure which one to best apply to these new files. I'll be happy with anything approved by both FSF and OSI, just let me know your preference and I'll apply that. That todo is the key only reason the pull request is marked as a draft at the moment, so it does not get merged by accident.
  • I would love to use -std=c99 and -Werror but the code would need related fixes first, and I wanted to keep this pull request dedicated to one thing and small enough to be easy to review.
  • The @v4 in actions/checkout@v4 is not pinning the GitHub Action to a SHA1 only because I seem to be rather alone with being okay with the amount of pull requests that the SHA1-plus-version-comment edition gets you. If it is considered acceptable here, I'm happy to add that pinning bit of extra security, similar to CI: Pin all GitHub Actions to specific commits for security libexpat/libexpat#709 . PS: Yes, Dependabot can still auto-bump dependencies pinned like that (which I find amazing).

I'm happy to answer questions about this pull request and/or discuss adjustment of details 🍻

CC @t8m

@t8m
Copy link
Member

t8m commented Jan 22, 2024

As for the license - pick any from the COPYING file that you prefer - or just add a copyright and refer the COPYING file for license.

@t8m
Copy link
Member

t8m commented Jan 22, 2024

Otherwise the PR looks good.

@hartwork
Copy link
Contributor Author

hartwork commented Jan 22, 2024

As for the license - pick any from the COPYING file that you prefer - or just add a copyright and refer the COPYING file for license.

@t8m COPYING seems to contain the texts of…

  • ISC
  • BSD 2-clause
  • BSD 3-clause
  • GPL 2(+)

…and cronie.spec mentions "MIT and BSD and ISC and GPLv2+" (while I cannot find the word MIT anywhere else, on a side note)…

Just referring to COPYING seems troublesome to me so I'll go with approach "pick any from the COPYING file that you prefer" and apply "GPL v2 or later" here then. Pushed, marking as non-draft in a second…

@t8m t8m merged commit 61b8c75 into cronie-crond:master Jan 22, 2024
1 check passed
@t8m
Copy link
Member

t8m commented Jan 22, 2024

Merged. Thank you for the contribution.

@hartwork hartwork deleted the github-actions-ci branch January 23, 2024 02:25
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.

Contributing simple Linux CI based on GitHub Actions welcome?
2 participants