Bug 619979

Summary: fedpkg crashes when there are no remote branches
Product: [Fedora] Fedora Reporter: Spike <SpikeFedora>
Component: fedora-packagerAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: alex, awilliam, bruno, caolanm, christoph.wickert, dan, dcantrell, dennis, dmalcolm, dtardon, gwync, hdegoede, huwang, jreznik, kzak, mcepl, mcepl, paul, ppisar, rvokal, steved, susi.lehtola, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fedora-packager-0.5.5.0-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-13 10:46:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 648987    
Attachments:
Description Flags
fedora-packager-0.5.1.4-only-master-branch.patch none

Description Spike 2010-07-31 05:07:56 UTC
Description of problem:
fedpkg crashes when trying to do the initial SRPM import to a new module.

Version-Release number of selected component (if applicable):
fedora-packager-0.5.1.0-1.fc14

How reproducible:
always

Steps to Reproduce:
1. fedpkg clone geronimo-osgi-support
2. cd geronimo-osgi-support/
3. fedpkg import /tmp/geronimo-osgi-support-1.0-2.fc14.src.rpm 
  
Actual results:

$ fedpkg import /tmp/geronimo-osgi-support-1.0-2.fc14.src.rpm 
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 466, in import_srpm
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range

Comment 1 Jesse Keating 2010-07-31 17:01:56 UTC
Are you certain that the repo you are trying to import to was cloned using fedpkg 0.5.1 ?  This looks like you cloned using 0.4, discovered it didn't have import, grabbed 0.5.1 then tried to import.

Comment 2 Spike 2010-07-31 17:21:56 UTC
Positive! Removed the directory and clone/imported again with the same result.

Comment 3 Jesse Keating 2010-07-31 18:31:48 UTC
Ok, I see what's going on here.  Your package doesn't have any branches but master, and that confused fedpkg.  For a short term fix, I've given you a f14 branch.  if you do a git pull, and then try the import again, it should work.

Comment 4 Spike 2010-07-31 22:22:11 UTC
That did the trick. Thanks!

Comment 5 Matěj Cepl 2010-08-03 19:26:41 UTC
I guess ... "me too" ... trying to import new package into Fedora. And BTW, IMHO bug 620648 is caused by this as well.

johanka:tigase-utils$ fedpkg import -b master ../tigase-utils-3.3.9-1.src.rpm 
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 466, in import_srpm
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range
johanka:tigase-utils$ fedpkg upload --help
usage: fedpkg upload [-h] files [files ...]

positional arguments:
  files

optional arguments:
  -h, --help  show this help message and exit
johanka:tigase-utils$ fedpkg upload tigase-utils-3.3.9.tar.bz2 
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 539, in new_sources
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range
johanka:tigase-utils$ rpm -q fedora-packager
fedora-packager-0.5.1.0-1.el6.noarch
johanka:tigase-utils$ fedpkg new-sources tigase-utils-3.3.9.tar.bz2 
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 539, in new_sources
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range
johanka:tigase-utils$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
johanka:tigase-utils$

Comment 6 Jesse Keating 2010-08-06 19:17:00 UTC
(In reply to comment #5)
> I guess ... "me too" ... trying to import new package into Fedora. And BTW,
> IMHO bug 620648 is caused by this as well.

For the short term, I've created an F14 branch for you.

Comment 7 Matěj Cepl 2010-08-06 21:24:17 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > I guess ... "me too" ... trying to import new package into Fedora. And BTW,
> > IMHO bug 620648 is caused by this as well.
> 
> For the short term, I've created an F14 branch for you.    

Thanks, that works for now.

Comment 8 Matěj Cepl 2010-08-06 21:32:08 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > I guess ... "me too" ... trying to import new package into Fedora. And BTW,
> > > IMHO bug 620648 is caused by this as well.
> > 
> > For the short term, I've created an F14 branch for you.    
> 
> Thanks, that works for now.    

Though, what's wrong with component-creation script? I have asked in bug 620168 comment 2 for plenty of branches, why they weren't created?

johanka:tigase-utils$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/f14
  remotes/origin/master
johanka:tigase-utils$ 

Where's my el5 branch?

Comment 9 Jesse Keating 2010-08-12 06:37:14 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > (In reply to comment #5)
> > > > I guess ... "me too" ... trying to import new package into Fedora. And BTW,
> > > > IMHO bug 620648 is caused by this as well.
> > > 
> > > For the short term, I've created an F14 branch for you.    
> > 
> > Thanks, that works for now.    
> 
> Though, what's wrong with component-creation script? I have asked in bug 620168
> comment 2 for plenty of branches, why they weren't created?
> 
> johanka:tigase-utils$ git branch -a
> * master
>   remotes/origin/HEAD -> origin/master
>   remotes/origin/f14
>   remotes/origin/master
> johanka:tigase-utils$ 
> 
> Where's my el5 branch?    

I'm not sure, you'll have to speak to the CVS/GIT admin processor folks, perhaps re-set the flag on your bug?

Comment 10 huwang 2010-08-26 12:14:49 UTC
I met the same problem:
> fedpkg import ~/work/fedora/temp/felix-shell-1.4.2-3.fc15.src.rpm
Traceback (most recent call last):
 File "/usr/bin/fedpkg", line 1086, in ?
   args.command(args)
 File "/usr/bin/fedpkg", line 491, in import_srpm
   mymodule = pyfedpkg.PackageModule(args.path)
 File "/usr/lib/python2.4/site-packages/pyfedpkg/_init_.py", line 938, in _init_
   self.distval = self._findmasterbranch()
 File "/usr/lib/python2.4/site-packages/pyfedpkg/_init_.py", line 886, in _findmasterbranch
   return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range

Comment 11 Jesse Keating 2010-08-27 00:26:43 UTC
(In reply to comment #10)
> I met the same problem:
> > fedpkg import ~/work/fedora/temp/felix-shell-1.4.2-3.fc15.src.rpm


I have made a branch for felix-shell.

Comment 12 Caolan McNamara 2010-08-30 19:40:57 UTC
me too (tm) openoffice.org-diafilter :-(

Comment 13 Jesse Keating 2010-08-30 22:06:06 UTC
(In reply to comment #12)
> me too (tm) openoffice.org-diafilter :-(

I've created an f14 branch for you.

Comment 14 Matěj Cepl 2010-08-31 07:14:34 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > me too (tm) openoffice.org-diafilter :-(
> 
> I've created an f14 branch for you.

For me it turned to be more curse than blessing. In the end tigase-* repos had to be wiped out and recreated, which turned to work just fine second time.

Comment 15 Gwyn Ciesla 2010-09-14 13:20:44 UTC
Me too, for drupal6.  I should only have master, EL-6 and EL-5.  I'll be dead.package/block-ing master.  If you create f14, will I have to dead.package that too?

Comment 16 Petr Pisar 2010-09-23 08:03:26 UTC
This is `easy' manual procedure:

$ echo "/${SOURCE_FILE_NAME}" > .gitignore
$ md5sum "${SOURCE_FILE_NAME}" > sources
$ curl -k --cert ~/.fedora.cert \
  -F "name=${PACKAGE_NAME}"
  -F "md5sum=${MD5_SUM_OF_SOURCE_FILE}" \
  -F "file=@${SOURCE_FILE_NAME}" \
  https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi
$ git add .gitignore sources "${SPEC_FILE}"
$ git commit
$ git push
$ koji build dist-f15 \
  "git://pkgs.fedoraproject.org/${PACKAGE_NAME}#$(<.git/refs/heads/master)"

Comment 17 Jesse Keating 2010-10-07 23:52:25 UTC
(In reply to comment #15)
> Me too, for drupal6.  I should only have master, EL-6 and EL-5.  I'll be
> dead.package/block-ing master.  If you create f14, will I have to dead.package
> that too?

I created a f14/master branch, but once you dead.package master, you can merge that change onto f14/master.

Comment 18 Gwyn Ciesla 2010-10-08 14:09:10 UTC
Awesome, thanks!

Comment 19 Caolan McNamara 2010-10-10 15:06:49 UTC
ugh, same problem now with libreoffice can I get a branch made there, just to be able to upload new .tar.bz2 without misery

Comment 20 David Tardon 2010-10-10 17:04:42 UTC
*** Bug 641544 has been marked as a duplicate of this bug. ***

Comment 21 David Tardon 2010-10-10 17:08:03 UTC
I attached a temporary workaround to bug 641544.

Comment 22 Jesse Keating 2010-10-12 23:00:31 UTC
(In reply to comment #19)
> ugh, same problem now with libreoffice can I get a branch made there, just to
> be able to upload new .tar.bz2 without misery

Sorry I took so long, I was out sick this morning.  I've created an f14 branch for you to make this "go away" for this package.

Comment 23 Jens Petersen 2010-11-26 07:43:09 UTC
*** Bug 643250 has been marked as a duplicate of this bug. ***

Comment 24 Jens Petersen 2010-11-26 08:18:53 UTC
A shame this bug is still open...

Maybe process-git-requests should be made to create f14 branches for now?

Comment 25 Jens Petersen 2010-11-26 08:20:43 UTC
Created attachment 463010 [details]
fedora-packager-0.5.1.4-only-master-branch.patch

Simple 2 line workaround would at least avoid making dummy branches.

I wonder what happens if there is a f13 branch but not a f14 one...

Comment 26 Steve Dickson 2010-12-07 14:26:32 UTC
(In reply to comment #25)
> Created attachment 463010 [details]
> fedora-packager-0.5.1.4-only-master-branch.patch
> 
> Simple 2 line workaround would at least avoid making dummy branches.
> 
> I wonder what happens if there is a f13 branch but not a f14 one...

I can verify that the workaround in Comment 25 does work!

Comment 27 Adam Williamson 2010-12-09 02:20:15 UTC
Package: fedpkg-0.5.1.4-7.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Rawhide)


How to reproduce
-----
1. Try to use 'fedpkg import' for a package with no stable branches in git (libindicator)
2.
3.


Comment
-----
I think around line 880 of /usr/lib/python2.7/site-packages/pyfedpkg/__init__.py does some stuff which assumes the presence of at least one branch in the 'fXX' format, which does not always have to be the case; for a package like this, which has just been added and for which I requested only a Rawhide branch, there is only the 'master' branch in git, no 'fXX' branches.

Comment 28 Jesse Keating 2011-01-03 20:40:50 UTC
*** Bug 666810 has been marked as a duplicate of this bug. ***

Comment 29 Dave Malcolm 2011-01-03 20:47:59 UTC
FWIW I've added a link to this bug to
https://fedoraproject.org/wiki/Using_git_FAQ_for_package_maintainers#How_do_I_import_a_SRPM_package.3F

Comment 30 Dennis Gilmore 2011-01-09 21:03:46 UTC
*** Bug 668230 has been marked as a duplicate of this bug. ***

Comment 31 Dan Horák 2011-01-10 09:32:28 UTC
https://fedorahosted.org/fedora-packager/ticket/83 could be probably used a workaround

Comment 32 Jaroslav Reznik 2011-01-18 12:19:59 UTC
Package: fedpkg-0.5.1.4-5.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. fedpkg clone nepomukcontroller
2. fedpkg import -b master ~/rpmbuild/SRPMS/nepomukcontroller-0.2-2.fc14.src.rpm



Comment
-----
Trying to import nepomukcontroller package, srpm is unpacked - spec and sources are in the place.

Comment 33 Jaroslav Reznik 2011-01-18 12:22:57 UTC
What's the status of this bug?

/me is going to ask for F-14 branch

Comment 34 Vít Ondruch 2011-01-25 11:46:25 UTC
Reading through the thread, I see just proposal for some workarounds instead of real solution. And the solution should be adding the reference for f15 pointing onto the master.

E.g. I did the following:

fedpkg clone -B rubygem-regin
cd rubygem-regin/master/
mkdir .git/refs/remotes/origin/f15
cp .git/refs/remotes/origin/HEAD .git/refs/remotes/origin/f15/master

This workarounds the problem with fetching the "master" branch, since rawhide is not anymore exceptional. Unfortunately, it has some side effect:

[vondruch@dhcp-25-1 master (master)]$ fedpkg build
Building rubygem-regin-0.3.7-2.fc16 for dist-rawhide
Created task: 2740961
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2740961
....

You see that the build version is not reported corretly: rubygem-regin-0.3.7-2.*fc16* but it appears that everything is just fine on Koji. To fix this, it should be enough to remove the mathematics on the line 1022 of pyfedpkg/__init__.py

So to the conclusion. To fix this problem, the Fedora release should be always referenced in the repository, otherwise there is later no way how to correctly determine it correctly. Similar issues will arise probably when just f13 repository is present.

Comment 35 Vít Ondruch 2011-01-25 11:54:01 UTC
*** Bug 672473 has been marked as a duplicate of this bug. ***

Comment 36 Karel Zak 2011-01-25 13:37:06 UTC
What's the status of this bug? Note that this bug was reported 6 moths ago.

Comment 37 Marcela Mašláňová 2011-01-25 13:49:39 UTC
Creating F-14 branches for all my packages is not a solution. Could you look at it, please?

Comment 38 Jesse Keating 2011-01-25 18:56:13 UTC
I am working on it.  I've been discussing various potential fixes with folks recently.  The work on this got sidelined a bit due to re-designing the branch structure.

Comment 39 Minnikhanov 2011-01-26 16:38:44 UTC
Package: fedpkg-0.5.2.0-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. fedpkg clone rubygem-tzinfo.
2. cd rubygem-tzinfo
3. Copy here source files: 'rubygem-tzinfo.spec' , 'tzinfo-0.3.24.gem'.
4. fedpkg clog -> Error, call abrt.


Comment
-----
I want to commit new package. I prepear 1st commit & push.

Comment 40 Minnikhanov 2011-01-26 16:50:56 UTC
Package: fedpkg-0.5.2.0-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. fedpkg clone rubygem-tzinfo.
2. cd rubygem-tzinfo
3. Copy here source files: 'rubygem-tzinfo.spec' , 'tzinfo-0.3.24.gem'.
4. fedpkg clog -> Error, call abrt.
5. Commit by GitGui.
6. git push.
7. fedpkg build -> Crash.

Comment
-----
I want to commit new package. I prepear 1st commit & push.

Comment 41 Jesse Keating 2011-01-26 17:37:12 UTC
(In reply to comment #40)
> Package: fedpkg-0.5.2.0-2.fc14
> Architecture: x86_64
> OS Release: Fedora release 14 (Laughlin)
> 
> 
> How to reproduce
> -----
> 1. fedpkg clone rubygem-tzinfo.
> 2. cd rubygem-tzinfo
> 3. Copy here source files: 'rubygem-tzinfo.spec' , 'tzinfo-0.3.24.gem'.
> 4. fedpkg clog -> Error, call abrt.
> 5. Commit by GitGui.
> 6. git push.
> 7. fedpkg build -> Crash.
> 
> Comment
> -----
> I want to commit new package. I prepear 1st commit & push.

I have created a branch for rubygem-tzinfo.  Please pull and try your commands again.

Comment 42 Minnikhanov 2011-01-26 18:27:40 UTC
(In reply to comment #41)
> (In reply to comment #40)
> > Package: fedpkg-0.5.2.0-2.fc14
> > Architecture: x86_64
> > OS Release: Fedora release 14 (Laughlin)
> > 
> > 
> > How to reproduce
> > -----
> > 1. fedpkg clone rubygem-tzinfo.
> > 2. cd rubygem-tzinfo
> > 3. Copy here source files: 'rubygem-tzinfo.spec' , 'tzinfo-0.3.24.gem'.
> > 4. fedpkg clog -> Error, call abrt.

+ Now run.

> > 5. Commit by GitGui.
> > 6. git push.
> > 7. fedpkg build -> Crash.

+ Now run.

> > 
> > Comment
> > -----
> > I want to commit new package. I prepear 1st commit & push.
> 
> I have created a branch for rubygem-tzinfo.  Please pull and try your commands
> again.

OK. Built.

http://koji.fedoraproject.org/koji/taskinfo?taskID=2743960 - green.

Comment 43 Vít Ondruch 2011-01-27 07:58:13 UTC
(In reply to comment #38)
> I am working on it.  I've been discussing various potential fixes with folks
> recently.  The work on this got sidelined a bit due to re-designing the branch
> structure.

Jesse, could you please share with us what are you working on? May be we also would like to have some input. It would prevent such issues in the future.

Also note that my solution proposed in #34 is easy and works well enough to stop branch pollution of repositories.

Comment 44 Jesse Keating 2011-01-27 18:20:52 UTC
My current plan of attack is to first add a argument to manually specify the release you're dealing with.  This gives us a fallback.

Then I want to detect the state where there is only a master branch, and when that happens we'll do a koji query to see what dist-rawhide inherits from in order to figure out what rawhide is building for.  We may cache this data, not positive.  If we can't query, perhaps we're offline, then we'll tell the user to manually specify using the argument mentioned above.

I believe that those changes will fix this issue.

Comment 45 Petr Pisar 2011-01-28 08:20:25 UTC
This is good idea.

Comment 46 Vít Ondruch 2011-01-28 08:27:14 UTC
But why don't you add the F15=rawhide branch right now? They will point now to the same head and later, when F15 is really branched they will be divided again. But may be I don't have enough Git-fu :)

Comment 47 Paul Howarth 2011-01-28 09:38:32 UTC
(In reply to comment #16)
> This is `easy' manual procedure:
> 
> $ echo "/${SOURCE_FILE_NAME}" > .gitignore
> $ md5sum "${SOURCE_FILE_NAME}" > sources
> $ curl -k --cert ~/.fedora.cert \
>   -F "name=${PACKAGE_NAME}"
>   -F "md5sum=${MD5_SUM_OF_SOURCE_FILE}" \
>   -F "file=@${SOURCE_FILE_NAME}" \
>   https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi
> $ git add .gitignore sources "${SPEC_FILE}"
> $ git commit
> $ git push
> $ koji build dist-f15 \
>   "git://pkgs.fedoraproject.org/${PACKAGE_NAME}#$(<.git/refs/heads/master)"

Thanks for that Petr; I used it to import perl-JSON-PP with just one problem - a missing backslash after -F "name=${PACKAGE_NAME}" in the curl command. Otherwise it worked great.

Comment 48 Jesse Keating 2011-01-30 21:35:27 UTC
Ok, I just pushed something to master that does the koji lookup if we don't find any remote branches.  It's not entirely complete, I still need to add some code to handle the network being down, and to add the argument to manually specify distro version, but it's a start, and enough to close this bug.

Comment 49 Jesse Keating 2011-01-30 22:58:22 UTC
And now I have error catching for not being able to reach koji, and I added a "--dist" global argument that allows devs to manually specify which dist they are using (f15, el5, etc.)

Comment 50 Fedora Update System 2011-01-31 20:36:04 UTC
fedora-packager-0.5.3.0-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.fc14

Comment 51 Fedora Update System 2011-01-31 21:01:41 UTC
fedora-packager-0.5.3.0-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.fc13

Comment 52 Fedora Update System 2011-01-31 21:28:00 UTC
fedora-packager-0.5.3.0-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el6

Comment 53 Fedora Update System 2011-01-31 22:48:44 UTC
fedora-packager-0.5.3.0-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el5

Comment 54 Fedora Update System 2011-02-01 17:06:41 UTC
fedora-packager-0.5.3.0-1.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update fedora-packager'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el5

Comment 55 Fedora Update System 2011-02-08 22:55:05 UTC
fedora-packager-0.5.3.0-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 56 Fedora Update System 2011-02-09 17:25:33 UTC
fedora-packager-0.5.3.0-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 57 Fedora Update System 2011-02-09 20:17:39 UTC
fedora-packager-0.5.3.0-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 58 Fedora Update System 2011-02-10 22:40:59 UTC
fedora-packager-0.5.5.0-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.5.0-1.el6

Comment 59 Christoph Wickert 2011-02-13 10:41:17 UTC
"new-sources" still doesn't work with the new version:

$ rpm -q fedpkg
fedpkg-0.5.3.0-1.fc14.noarch
$ fedpkg clone tumbler
Cloning into tumbler...
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 62 (delta 21), reused 36 (delta 12)
Receiving objects: 100% (62/62), 7.87 KiB, done.
Resolving deltas: 100% (21/21), done.
$ cd tumbler/
$ git branch
* master
$ fedpkg new-sources tumbler-0.1.20.tar.bz2 
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 1259, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 613, in new_sources
    mymodule = pyfedpkg.PackageModule(args.path, args.dist)
  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1083, in __init__
    self.module = _name_from_spec(os.path.join(self.path, self.spec))
  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 111, in _name_from_spec
    return output.split()[0]
IndexError: list index out of range

Comment 60 Christoph Wickert 2011-02-13 10:46:41 UTC
Ok, works in 0.5.5.0-2 from updates-testing.

Comment 61 Fedora Update System 2011-02-21 22:53:57 UTC
fedora-packager-0.5.5.0-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/fedora-packager-0.5.5.0-2.el6

Comment 62 Fedora Update System 2011-02-28 23:57:30 UTC
fedora-packager-0.5.5.0-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.