-
Notifications
You must be signed in to change notification settings - Fork 88
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
Make it easier to supply custom archive to packit srpm
#566
Comments
AI: |
So there is already a better way, just not yet documented? Or the implementation is also in progress? |
|
I think the best way would be just a single command which would either:
It should not be necessary to configure the |
|
Nice, thanks. Trying on psss/edd#10 |
Does not seem to be working:
Here's the output of the
Is there anything wrong with the file path format? Or anything else needs to be done? |
I am just playing with that locally. |
It looks like the parsing went well but the build failed, because we expect to have the archive in the current directory:
|
What do you/we preffer?
|
I think the |
Also, while we're looking into this, could we get rid of the
|
I am going to fix the archive path in the specfile to be relative to the spec location. (Currently, we use only the filename.)
|
OK, that does not work. We need to:
|
Changing the |
@lachmanfrantisek, so what is now the shortest way to enable custom archive? Something like this? actions:
create-archive:
- make packit-tarball
- make packit-path
get-current-version:
- make packit-version Or is it possible now to have only a single
Should it return the archive name as the last line? Or? |
@psss Your example looks good to me.
Yes, if it contains archive-name in the output.
We run the commands one-by-one and then go through the output in reverse order and for each line of the output (also in the reverse order), we check if it is an existing file. If yes, we accept that as a newly created archive. I know, it's a bit complicated but should work for most situations. |
Nice, thanks! Trying with teemtee/tmt#249. Does not work... |
Mark recursively searching for a specfile as deprecated The functionality is going to be removed in the future, see packit#1799. Related to packit#1771. Signed-off-by: Hunor Csomortáni [email protected] Reviewed-by: Jiri Popelka <None> Reviewed-by: Tomas Tomecek <[email protected]>
Originally posted by @psss in packit/packit-service#103 (comment)
The text was updated successfully, but these errors were encountered: