New_Package_Process_for_Existing_Contributors needs to be updated to include non fedpkg import method #52
Labels
No labels
help-wanted
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
packaging/maintainer-docs#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
when folks use rpmautospec, they can no longer use
fedpkg importbecause the SRPM has the expanded form of the rpmautospec macros. Usingfedpkg importalso throws away the git history. So, we need to document how to import a package without usingfedpkg import.See this thread for more info:
https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.org/message/YEU4U72X6PWZWWNTPF755W5JIQ3IVHXH/
Steps (need to be verified):
git remote add origin ...git fetch origingit branch main -t origin/maingit rebase origin/mainI think this has other caveats though:
fedpkg new-sourcesmanually to upload the sources to the lookaside cacheCC: @vondruch @churchyard
This would probably deserve its own page, because:
git initlocal repository you'd like to push later into GH created repo.However, part of this are pure git tricks, while the others are fedora specific tricks, not sure how combine these ...
Wouldn't be better to teach fedpkg to rebase the local repository and make from it the dist-git repo? That would save us from the need to describe this ;)
And BTW, part of the issue might be already resolved actually:
https://pagure.io/rpkg/pull-request/560
I have just never found the cycles to try the final implementation 🙈
So this works:
However, it adds just anonymous URL :/
Request of non-anonymous URL is here:
https://pagure.io/rpkg/issue/599
Yeh, it'll be good if we can teach
fedpkgall of this, otherwise it can be quite a complex process, especially for newcomers who are meant to benefit from fedpkg usage. I had to write this all up for our Outreachy intern:https://pagure.io/neuro-sig/NeuroFedora/issue/496#comment-773460
Now, they had committed other files to the SCM etc, so there were extra steps to get things done. It's really not a simple process at all. I'm now wondering if I should've asked them to use
fedpkg importand then correct the spec instead---we'd lose git history, but it'd be wayy easier!This has been resolved upstream. Not sure when it lands in Fedora though.