-
-
Notifications
You must be signed in to change notification settings - Fork 172
Enable builds on Fedora CI #2383
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks! I'll have a look at it. How does it work? Will the service poll the repo for changes, or does it need a hook? |
|
I also see there is a version number set in the spec file. Does that need to be updated? |
|
The service will run on every commit, bot is activated for this. Version number should be updated, maybe worth adding something in pkgutils.py At the moment, doing release builds separately. |
|
It will run with the current version number. Can perhaps decide on how to update it for |
Well, the main branch is on the next release cycle for 2.8 now. |
|
The Debian packaging changelog is updated at: Maybe it is worth doing something similar in a file utils/build_fedora.py which is run when creating a new release? From https://github.com/vkbo/novelWriter/blob/main/novelwriter/__init__.py#L52 the current version is 2.8a0 so |
|
An example: There are several configuration options for notifications and build triggers. |
|
Sure, I'll get to this. I'm trying to resolve issues with the AppImage build at the moment. |
Sure, but the generated files are not committed, only generated on the fly when the package is built. The version number is extracted from If an external build system is reading these, it must run that script. But if that's ok, I don't mind adding a command to |
|
As for the build pipelines, I don't like external pipelines posting to PR threads. If it can return a status in the workflow list, like codecov does, that's fine. |
|
Thanks for the feedback. Will make the changes. |
|
I can easily make the changes to the pkgutils script to produce a spec file with the correct details. What I'm mostly wondering about is if running this script as part of the build process is possible. A chicken and egg sort of thing since the spec defines the build process? I'm not very familiar with Fedora, so ... 😄 |
|
Will update once Remix icon license is updated as at present, these will need to be removed when packaging for Fedora. |
|
I replied to the thread, but I still don't see the problem as the icons are part of a larger project, which they do allow. In any case, I see no reason to remove them from the main source, so this would have to be done by the fork. The icon themes do not exist in the 2.6.x versions of the source. They were added in 2.7. |
Not sure what you mean here ... |
Summary:
Additional tests that will make distributing RPMs easier.
To get it to work, someone with commit access will need to agree to make a Fedora account at:
https://accounts.fedoraproject.org/
and agree to Fedora Code of Conduct, then follow the steps at:
http://packit.dev/docs/guide#1-set-up-packit-integration
Related Issue(s):
Closes #2372
Reviewer's Checklist: