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
fedpkg, not rhpkg, is used when on custom git branches #4
Comments
This is a workaround to handle private git branch names like "private-tserlin-ceph-4.0-*". See: #4
I created a separate branch as a workaround: https://github.com/ktdreyer/rdopkg-tar/tree/private-tserlin-rhpkg-issue-4 |
Looking at the definition for Looks like there's no test coverage for |
Yes, "private-tserlin-" is pretty much what I only use for testfixes and hotfixes. |
I've refactored the rdopkg |
I've asked in #rdo (freenode) for someone to merge my changes above. In the meantime, let's merge your changes that avoid |
The fix is in rdopkg's master branch now, https://softwarefactory-project.io/r/18391 We need a new rdopkg release. I've requested this at softwarefactory-project/rdopkg#186 and the rdo dev list. |
rdopkg 1.3.0 is in |
rdopkg 1.3.0 is in Fedora and EPEL 8. I think that means that we can close this. |
I ran into a subtle error when running the "tar-changes" script for a ceph testfix.
If you're not on a regular ceph branch (e.g.: ceph-4.0-rhel-8), and using a testfix branch (e.g.: private-tserlin-ceph-4.0-rhel-8-*), the script assumes you want "fedpkg" and not "rhpkg":
https://github.com/ktdreyer/rdopkg-tar/blob/master/tar-changes#L157
When running it on RHEL 7, the "fedpkg upload" part failed because even though I did have fedpkg installed, it was trying to use a non-existent git option:
git remote get-url
.Fedora's git has this option, but RHEL 7's git doesn't.
That said, the "tar-changes" did finish, and did create a dist-git commit OK, but it did not upload the *-changes tarball, nor did it update the "sources" file.
If you have an unconventional branch name, then the "osdist" function in rdopkg/guess.py will return "RDO".
The text was updated successfully, but these errors were encountered: