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

RFE: CMake target creating distribution #413

Closed
5 of 10 tasks
zbeekman opened this issue Jul 13, 2017 · 1 comment
Closed
5 of 10 tasks

RFE: CMake target creating distribution #413

zbeekman opened this issue Jul 13, 2017 · 1 comment

Comments

@zbeekman
Copy link
Collaborator

zbeekman commented Jul 13, 2017

Avg response time
Issue Stats

Request for Enhancement (RFE)

Create a target so that CMake can make dist too... this should:

  • NOT create a tag... that should be done by the dev ahead of time, and should be a PGP signed tag
  • Compute latest tag from git describe
  • git tag --verify (or whatever correct syntax is) the latest tag
  • git checkout the latest tag
  • git archive --prefix= etc. the latest tag
  • Compute the SHA256 and write to file for the latest tag
  • Compute the detached PGP signature for the latest tag
  • Verify SHA256 file signature
  • Verify SHA256 of tarball
  • Extract tarball, build and run tests
@zbeekman
Copy link
Collaborator Author

The checked items have been implemented in a make dist target. I'm going to leave the unchecked items as is. Some of them should definitely be performed on Travis-CI when testing a tag.

I'm going to close this when the enhancements hit master, although some more work should be done in the future to address the additional points especially if we have Travis-CI package releases for us. (Also requires fixing gpg private key upload & encryption etc...)

@zbeekman zbeekman moved this from TODO to done in low hanging fruit Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant