strange issue with dist-git/fedpkg
Jesse Keating
jkeating at redhat.com
Sat Jul 31 16:54:39 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/31/2010 09:38 AM, Jesse Keating wrote:
> On 07/31/2010 01:00 AM, Julian Sikorski wrote:
>> Dear all,
>
>> I tried to make a chain build today:
>> https://koji.fedoraproject.org/koji/taskinfo?taskID=2368385
>> For some reason, an ancient release was picked for goffice, and not the
>> proper 0.8.8-1. Any thoughts?
>
> I have to admit, the chain-build target is really untested. I'll have
> to look further into what happened here.
>
Actually I found the bug, and fixed it at least for building from
rawhide. It'll be in the next build of fedora-packager.
If you really care, you can locally patch
/usr/lib/python-2.?/site-packages/pyfedpkg/__init__.py with:
@@ -359,7 +359,9 @@ def get_latest_commit(module):
# This is stupid that I have to use subprocess :/
url = ANONGITURL % {'module': module}
- - cmd = ['git', 'ls-remote', url, 'master']
+ # This cmd below only works to scratch build rawhide
+ # We need something better for epel
+ cmd = ['git', 'ls-remote', url, 'refs/heads/master']
try :
proc = subprocess.Popen(cmd, stderr=subprocess.PIPE,
stdout=subprocess.PIPE)
- --
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkxUVU8ACgkQ4v2HLvE71NVxKgCfTBlQzkpouEAKZi5beE5Fcyob
VDAAnRddHzvfkTgdX/imT0nr/r6VCW8i
=dcMm
-----END PGP SIGNATURE-----
More information about the devel
mailing list