-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add a parser for updateinfo.xml #11
base: master
Are you sure you want to change the base?
Conversation
a08395e
to
7a7b8d9
Compare
7a7b8d9
to
092a9fe
Compare
Hey, @thutterer.
You can actually see where the repo came from in its metadata: Line 17 in 12b1f01
So a long time ago, when dinosaurs roamed the earth and RMT was still called Potato, there was Since then I have created home:ikapelyukhin:dummy_repo in OBS, which has the same packages but the metadata is slightly different (build times, etc.). It doesn't have Another option would be to just get an
No, not really. I've taken a look at the current code and it LGTM. Just needs specs and we are good to go. |
Hi @ikapelyukhin, happy new year! I haven't finished this one before the holidays as I ran into one small problem with the code in its current state. An In my current code, I treat that filename as the location, which is a bug, I think, since the location should also have the relative path. In most SUSE repos I've checked the folder name is just the arch, but is this an assumption I can make to fix my code? Or would this be just another bug waiting to manifest? |
Thanks, to you too! 🌲
Hmm, you have to provide examples.
Something like this? Isn't the full path in |
This PR adds a new
RepomdParser::UpdateinfoXmlParser
and with it, aRepomdParser::Update
class, representing individual updates. Each update comes with a list ofpackages
. Details in the README.md changes.@ikapelyukhin Please review and advise on the following questions:
I haven't finished writing the specs. I wanted to ask you first if you could provide the real updateinfo.xml for your "apples and oranges" repo. I guess you have this somewhere on OBS, or did you handcraft it?
Any caveats I might have missed?
Thanks!