-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support for git repo as an upstream source #114
Conversation
Pending tasks:
|
3534c67
to
a46b528
Compare
a46b528
to
4b278ee
Compare
2f5d428
to
62fab2e
Compare
eext now supports We intend to add another variant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls also add live code review comments notes here
Comments from the live code review
|
f902d9e
to
c445d52
Compare
Major changes with the latest update:
|
The tcpdump public key currently in our repo has expired in 2023. Hence we are updating the public key file to the latest one published, to ensure signature checks are passing for packages using this key.
30a1fee
to
ae59da4
Compare
ae59da4
to
e57598f
Compare
Rebased PR to the latest commit |
eext currently supports 'srpm' and 'tarball' as upstream sources for packages. Some users wanted to use an upstream git repo directly as source for security purposes. Hence we add support for eext to use an upstream git repo as an upstream source. The git upstream source requires 'url' and 'revision' to be specified. 'url': Web url to the upstream git repo 'revision': Commit hash or release tag of the git repo Users can verify their upstream git repo at the revision provided, by specifying the corresponding public key. Note that this verification only works if the commit/tag are signed, since we use 'git-verify' to validate. For unsigned commits/tags, user need to enable 'skip-check' in the signature field (not recommended though, since this may introduce security vulnerabilities). Another rule users need to adhere to while using git repo as upstream, is that the spec file in 'spec/' folder should be named '<pkgName>.spec' where 'pkgName' is the same as mentioned in eext.yaml. And within the spec file, please ensure that the 'Source0:' field is defined as: Source0: 'Source0.tar.gz' This is to ensure multiple sources can be supported. Fixes: BUG952303
e57598f
to
2e896a0
Compare
In addition to tarball and srpms, eext now supports git repo as an upstream source.