-
Notifications
You must be signed in to change notification settings - Fork 51
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
Inconsistent behaviour for source files given by create_archive
for top-level actions and job actions
#569
Comments
This issue has been marked as stale because it hasn't seen any Stale issues are closed after 14 days, unless the label is removed This is done in order to ensure that open issues are still relevant. Thank you for your contribution! 🦄 🚀 🤖 (Note: issues labeled with pinned or EPIC are |
I think this issue is worthy to solve |
This issue has been marked as stale because it hasn't seen any Stale issues are closed after 14 days, unless the label is removed This is done in order to ensure that open issues are still relevant. Thank you for your contribution! 🦄 🚀 🤖 (Note: issues labeled with pinned or EPIC are |
Agreed, this should be resolved. |
This issue has been marked as stale because it hasn't seen any Stale issues are closed after 14 days, unless the label is removed This is done in order to ensure that open issues are still relevant. Thank you for your contribution! 🦄 🚀 🤖 (Note: issues labeled with pinned or EPIC are |
We have recently discussed this issue that the behaviour should be changed so that you don't need to copy-pasta the actions that should be inherited. |
This issue has been marked as stale because it hasn't seen any Stale issues are closed after 14 days, unless the label is removed This is done in order to ensure that open issues are still relevant. Thank you for your contribution! 🦄 🚀 🤖 (Note: issues labeled with pinned or EPIC are |
We have realized the top-level actions & job actions have a different behaviour regarding the sources. We know it's documented the sources have to be present in the same directory as the SPEC file, but in case they are present a subdir instead (e.g. SOURCES), PackIt works in case of the top-level actions, and crashes in case of the job actions. E.g.:
In both cases, multiple source files are under the
packaging/sources/
directory (the removal points to a different path to ensure the files are not present in the same directory).See the following file for better context (removing the "mv" commands shows the behaviour differences; currently it's working):
Expected result:
Additional info:
copr_build
is not executed when we callpackit srpm
from the CLI. We discovered the different behaviour when putting thecreate-archive
action the top-level and then under the job on the github directly and we checked that all commands in thecreate-archive
action have been really called in both cases. When nested, tarballs are not discovered by packit.The text was updated successfully, but these errors were encountered: