#18 two new scripts for updating Fedora RPMS from git repositories
Opened 14 years ago by walters. Modified 13 years ago

Hi, I would like to provide gnome-shell + dependency stack RPMs in a hosting space personally provided. There are two major steps for this.

  • Update a .spec file from a git tree. There are a surprising number of things that conspire to make this difficult, from the autotools (need to actually run ./autogen.sh, insert BuildRequires on them), to correctly handling the Release value, naming the tarball to avoid conflicts, etc. The "fedpkg-make-pull" script attempts to take care of all of that.

  • For a given set of src package names, run fedpkg-make-pull to update the .specs with the latest, build all of them on i386 and x86_64, creating a repository from them. This script is fedpkg-pull-build-chain.


Is there any timeframe when this will be integrated? I might want to patch these some more and therefore a proper SCM and someone integrating patches into it would be very nice.

Walters is working on these in a seperate branch. at least i belive thats what he is using the fedpkg-vcs branch for.

Replying to [comment:2 ausil]:

Walters is working on these in a seperate branch. at least i belive thats what he is using the fedpkg-vcs branch for.

ah, is there a way to web-browse this branch? The trac browser seems not to support to select branches.

Replying to [comment:4 ausil]:

http://git.fedorahosted.org/git/?p=fedora-packager.git;a=shortlog;h=refs/heads/fedpkg-vcs

Thank you, there seems to be something wrong now with fedorahosted. Did you migrate fedora-packager from hg? The browser here is still for hg and https://fedorahosted.org/web/ also says that fedora-packager uses hg.

Moved to git a long time ago now. ill have to look into fixing those 2 references to hg. the user group will always say hg forevermore. and the hgrepo still exists just a read only snapshot

it's FILES not FILE and sources needs to be removed to make it work
0001-Fix-make-upload-command-recomendation.patch

Colin, the patch I just attached seems to have been forgotten by you. Iirc back then you thought about doing it somehow else, but the "make upload" commandline is still wrong, so maybe you can just apply this patch until you decided to do it somehow else.

Colin, also the patch to keep the alignment of Source0 seems to be missing now. I sent it to you on 06 Mar 2010 11:38:44 +0100 with Subject: [PATCH 4/5] fedpkg-vcs: Keep alignment for Release/Source0 updates. Afaics it is included in your git repo on fedorapeople. Afaics the version you commited to fedora-packager was not the last version you removed from the fedorpeople git repo. :-/ I will submit a diff of the deleted version and the version included here... What are your plans with fedpkg-vcs anyhow currently?

diff between fedpkg-vcs version deleted from fedorapeople and version included in fedora-packager
fedpkg-old-new.diff

Login to comment on this ticket.

Metadata