propose Generate.SoureceX.sh script #1351
No reviewers
Labels
No labels
announce
bootstrap
Closed As
accepted
Closed As
duplicate
Closed As
exceptionexpired
Closed As
fixed
Closed As
invalid
Closed As
nothingtodo
Closed As
permanentexception
Closed As
rejected
Closed As
temporaryexception
Closed As
wontfix
cmake
committee
draftneeded
hasdraft
meeting
meson
needinfo
Priority
In Committee
Priority
Needs Review
Priority
Waiting For Reporter
rust
writeup
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
packaging/guidelines!1351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "generate.sourceX.sh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This will recommend that tarball that does not have URL must include
script that will generate the tarball.
This will allow automatic check of the content of the tarball.
And it will provide a record how the tarball was generated.
My personal observations (that I entered yesterday and yet never submitted):
I agree with this conceptually; we should at least provide suggestions for how this should be done, with an eye towards enabling more automation.
Following this shouldn't be any sort of requirement at this point. maybe later. The only requirement should be that if a script has the prescribed name, then it MUST follow the format
I don't understand why you would require something to substitute in
%{version}and such when those could be passed in the environment or as positional arguments. Is there some kind of security consideration here that I'm not understanding?What is the state of the various bits of automation which would use this? Is there a proposal elsewhere to set up automated checks based on this? Is there a ticket or PR against fedpkg or some adjacent tool to handle passing the information to the script to automate the downloads?
The script will live outside of the spec file. So macros expansion will not work. Therefore I suggested to use only these ones. But yes, passing them as positional arguments is option too. And likely better option :)
Packit will find this beneficial. Packit can create new version of package when there is upstream release, but only if SOURCE is URL. When it is file there's nothing to do.
And I guess QA can later use it too, to determine if there are potential differences.
Metadata Update from @tibbs:
Note that a similar RFC in the past has been stalled in bikeshedding:
https://pagure.io/packaging-committee/issue/1132
I offered to implement support for something like this in spectool, but since it couldn't be agreed on what should be done, I didn't implement it. (maybe I just should do something ...)
I keep thinking about implementing a harness to run OBS source services too... We have a few of them packaged, we just don't provide a mechanism to run them right now.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.