-
Notifications
You must be signed in to change notification settings - Fork 29
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
FreeBSD backend #113
FreeBSD backend #113
Conversation
Can you elaborate on that? Installing metadata into any location outside of |
Also, by changing this you would not catch all system software that apparently is installed in |
FreeBSD installs 3rdpart software into
I was under assumption that there could be no system software that have AppStream metadata. At least there are no in FreeBSD. But this point is valid.
I didn't even think about such use case. Yes, this is a valid point too. I'm happy to fix this, but how? For FreeBSD backend to work I need asgen to use |
But do FreeBSD packages also contain stuff in |
Can you change this patch to include just the backend without the prefix changes? That will make it much easier to review, as the prefix stuff will need a lot more work (and thought). |
Yes, all of them. It can be configured on the builder machine, but the default is
Ok, will do. |
034e4c6
to
a17846f
Compare
Bump. Can we get this in? |
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.
Just a tiny nitpick about the TODO entry in the code, and the general disclaimer that I can't really test the code.
But apart from that, this looks good to go (I'd just like some feedback if the todo item is addressed, merging new code with that is a bit odd).
The patch also needs a (likely very simple) rebase on the master branch :-)
We're running it for about a month now, so it works for us. |
That's good enough - if the conflicts of this PR with the master branch are resolved, we can merge this (and maybe even remove the TODO, since it obviously works). |
a17846f
to
0814078
Compare
The configuration file for the FreeBSD backend is expected to point to the Poudriere-built repository root. The ArchiveRoot property should be the path to Poudriere "data/packages" directory and Suite names correspond to its subdirectories. Here is an sample config: { "ProjectName": "FreeBSD", "MediaBaseUrl": "http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/media", "ArchiveRoot": "/usr/local/poudriere/data/packages/", "Backend": "freebsd", "Suites": { "131amd64-default": { "sections": ["default"], "architectures": ["amd64"] } } } Sponsored by: Serenity Cybersecurity, LLC
This reduces the running time considerably when processing large packages like LLVM and Plasma Workspace. The implementation follows ideas from other backends. Sponsored by: Serenity Cybersecurity, LLC
0814078
to
51b18f9
Compare
This should be ready to get in now. |
It is indeed! Thank you for your patch and your patience! |
Thanks for merging it! We now still need two things to make it usable:
I'm happy to work on these issues myself, so please provide me some input on how to fix them. |
No description provided.