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
feature/updateinfo #75
Conversation
…ig file This also adds a few new arguments to the ExtendedMetadata constructor
…sts" This reverts commit 818bdba.
The get_notice method looks for the nvr in the filenames of the notice, which are currently not consistent in our testing environment with the current DevBuildsys. Work around it for now by indexing into all of them.
|
||
|
||
class ExtendedMetadata(object): | ||
|
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.
Can you add a docstring here? A paragraph or two to help the reader know what kind of metadata they're looking at. Is this yum metadata? how does this get used? Is it called upon at update submission time? at mash time? What kinds of things rely on it? If it breaks, is it nbd or is it really bad?
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.
docstring added!
This is so tight. 👍 |
If we deploy on RHEL 7, then we likely won't need the modifyrepo. 😉 |
I'm definitely in favor of focusing on RHEL7+ so we can finally ditch Testing this locally, I'm hitting this:
|
Do you have to set that attribute yourself on the object? Also, I just thought about one thing: with the move to createrepo_c, how does that leave us? 😕 |
Setting the attribute(s) leads me down a rabbit hole of failure. I'm just going to merge what I've got for now, and hopefully someday we can work with upstream createrepo's modifyrepo. With regards to createrepo_c, I'm not sure. Hopefully nothing will change from a bodhi perspective, and most of the change will be isolated to mash. |
updateinfo.xml metadata support ported from bodhi1
This is a port of the
bodhi.metadata
module that generates theupdateinfo.xml
that is injected into the yum repodata withbodhi.modifyrepo
.