From 4e5c5b43b17c1d8d67b02117cce532fb1e495e2a Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Mar 10 2022 09:05:05 +0000 Subject: Improve anonymous fedpkg usage instructions Old instructions failed at 'fedpkg commit' line. Replaced with working sequence of 'git' commands. There does not seem to be a way to use fedpkg with freely named branches, and even if there was, using fedpkg as a git wrapper does not really make anything easier. Also remove reference to wiki page about HTTPS-Commits. The page seems to be seriously outdates and does not contain useful information for anonymous fedpkg users. Resolves #64 --- diff --git a/modules/ROOT/pages/Joining_the_Package_Maintainers.adoc b/modules/ROOT/pages/Joining_the_Package_Maintainers.adoc index 694a792..914aa23 100644 --- a/modules/ROOT/pages/Joining_the_Package_Maintainers.adoc +++ b/modules/ROOT/pages/Joining_the_Package_Maintainers.adoc @@ -208,5 +208,4 @@ Changes to https://src.fedoraproject.org/browse/projects/[existing packages] can be suggested by submitting https://docs.pagure.org/pagure/usage/pull_requests.html[pull requests]. You must have a xref:create_a_fedora_account[Fedora account] to create a pull request. See xref:Package_Maintenance_Guide.adoc#using_fedpkg_anonymously[using fedpkg anonymously] -for instructions -and https://fedoraproject.org/wiki/Infrastructure/HTTPS-commits[Infrastructure/HTTPS-commits] for more information. +for instructions. diff --git a/modules/ROOT/pages/Package_Maintenance_Guide.adoc b/modules/ROOT/pages/Package_Maintenance_Guide.adoc index fc6dd96..a23f857 100644 --- a/modules/ROOT/pages/Package_Maintenance_Guide.adoc +++ b/modules/ROOT/pages/Package_Maintenance_Guide.adoc @@ -459,7 +459,10 @@ fedpkg mockbuild # check that the changes you made are correct fedpkg diff fedpkg lint git checkout -b my-branch # create a branch to use in the pull request -fedpkg commit -p -c # commit and push in one go +git status +git add . +git commit +git push -u origin my-branch .... Afterwards,