i THINK we've discussed this with @Kyle Gospo before... but one question was about COPR and spec hosting.
I do think we've previously agreed that we're trying to not add 3rd party COPRs where we can avoid it... which would mean we'd likely want to build the package in our COPR even if the spec file is hosted elswhere
I’m totally fine moving the COPR build into the ublue one. My main motivations on making it were 1) just getting it working, 2) learning about spec files/COPR/fedora build system stuff
I’ve been reading around the fedora docs and doesn’t seem like this would be taken into their rpm repo outside of maybe the firmware files themselves. Note I could be very wrong there. Still poking around on what’s possible
i very much appreciate the effort to get it going before trying to merge in here, so if I was writing a doc on "how to bring in a new kmod" i'd probably include "build it in own account and COPR and once it's verified working, then present it as a PR"
That said, i dont think there are any issues adding it to your copr now. IMO there is nothing "bad" about it being build/hosted in multiple places temporarily
we could also do something a la packages.json to clean up build script calls, and in this world make a clean break between core and extra. i'll do that as a follow on PR unless you think that should come first?
re your idea to break out the containerfile into a separate one for extra. do you have any resources on pros/cons of that approach vs what bluefin is doing for their dx vs standard build (ie one containerfile and using the latter as a base layer)
do you have any recommendations on running the build in the ublue akmod repo? i can't seem to figure out how to run the action in my fork because i dont have the key
one question for the "akmods-extra" package, would your vision there be that it would be inclusive of what is in core or like the "akmods-nvidia" package where it is just the one separate RPM?
if the latter, would that be a pain down the line for people who want to add in kmods? i.e. they would need to add in a second COPY line or something along those lines to bring in akmods and akmods-extra as an example
that also may be a lack of git knowledge... should i be doing something like merging in your working branch as a best practice or something along those lines?
i am quite eager to get to work on splitting the akmods common builds into common and extras now that all the F40 stuff is done and we've cleaned out some existing cruft
over the next few days i am planning on pulling together a PR for a packages.json esqe thing that'll hopefully help pull out some of the repetative bits