On Seg, 2016-06-27 at 15:50 -0600, Orion Poplawski wrote: > On 06/19/2016 04:12 PM, Nicolas Chauvet wrote: > > > > Hello, > > > > I just want to say that there is now a minimal version of rfpkg > > available. > > http://koji.rpmfusion.org/koji/packageinfo?packageID=447 > > > > This version (rfpkg-1.23.2-1.fc24 so far) is known to allow: > > - clone > > - push > > - few others commands > > > > So contributors should be able to push content to the new infra: > > https://pkgs.rpmfusion.org/cgit for ref (additionally forwared to > > github.com/rpmfusion as R/O mirror) > > > > Known not to work yet > > - new-sources (the file seems to be uploaded > > - srpm > > - build > > > > This mean I will have to manually submit build to the infra until > > theses features are fixed. > > Here is the current code of the tool https://github.com/rpmfusion-i > > nfra/rfpkg > > I really hope someone could step up and work on fixing this issue > > since there is still a long road to have the infra side really > > finised. > > (main priority is to have packages out of the infra to mirrors) > > > > > Minor fix to build rfpkg on EL7: > > From 51c76aa1084c4994bb0e9f9852607f39d1156ffe Mon Sep 17 00:00:00 > 2001 > From: Orion Poplawski <or...@cora.nwra.com> > Date: Mon, 27 Jun 2016 15:48:18 -0600 > Subject: [PATCH] Handle EL7 bash completion path > > --- > rfpkg.spec | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rfpkg.spec b/rfpkg.spec > index 7f5f58a..29540f1 100644 > --- a/rfpkg.spec > +++ b/rfpkg.spec > @@ -76,7 +76,7 @@ chmod +x $RPM_BUILD_ROOT%{_bindir}/rfpkg-*free > %{python2_sitelib}/rfpkg/ > %{python2_sitelib}/rfpkg-%{version}-py%{python2_version}.egg-info/ > %{_mandir}/man1/rfpkg.1* > -%if 0%{?fedora} > +%if 0%{?fedora} || 0%{?rhel} >= 7 > %dir %{_datadir}/bash-completion > %dir %{_datadir}/bash-completion/completions > %{_datadir}/bash-completion/completions/rfpkg > -- > 1.8.3.1
Yesterday I had analyzed rfpkg, just did (on my Fedora 23) : cd /usr/lib/python2.7/site-packages/ diff fedpkg rfpkg -up | lsdiff -N File #1 rfpkg/cli.py File #2 rfpkg/__init__.py File #3 rfpkg/lookaside.py File #4 rfpkg/__main__.py for: `diff fedpkg rfpkg -up | filterdiff` , 90% of diff is change fedpkg in rfpkg . https://github.com/rpmfusion-infra/rfpkg/commits/master we got a commit that say sync with fedpkg 1.23 [1] , I'd like know how this was done ?, to understand what are the really changes . I looked to the code and doesn't like how it is deal distgit_namespaced , this distgit_namespaced is an hack on and for Fedora and worse than that is done on rpkg (pyrpkg) : pyrpkg/__init__.py if self.distgit_namespaced: path_parts = [p for p in parts.path.split("/") if p] if len(path_parts) == 1: self._print_old_checkout_warning(path_parts[0]) path_parts.insert(0, "rpms") this is stupid and breaks rfpkg clone when we have distgit_namespaced = True , kwizart tries use namespace to set free and nonfree repos , I'd like try another approach but don't have much time ... , so we someone help us would be nice , any ideas ? Thanks [1] https://github.com/rpmfusion-infra/rfpkg/commit/3ece6f4bb5c8dae6479b938 ba2c82231e80d2f0a -- Sérgio M. B.