AutoPPA crashes with IndexError: list index out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AutoPPA |
New
|
Undecided
|
Unassigned |
Bug Description
I am unable to use AutoPPA to build AllTray:
mbt@zest:~$ autoppa alltray-
AutoPPA 0.0.6
== Preparing changelog for alltray ==
== Preparing working tree for alltray ==
bzr: ERROR: Target directory "/home/
== Preparing signed source for alltray ==
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
builder.
File "/usr/local/
self.
File "/usr/local/
version = VersionReplacem
File "/usr/local/
return "%s-%s.%s" % (parts[0], parts[1],
IndexError: list index out of range
mbt@zest:~$
AutoPPA configuration is:
[alltray]
email = Michael B. Trausch <email address hidden>
branch = /home/mbt/
repository = /home/mbt/
ppa = ppa:alltray-
releases = hardy intrepid jaunty karmic
The issue is that the "version" part of your package name only has
an "application version", but no "package version" (which comes
after the application version, separated by a -). Something like
this should work:
autoppa alltray- 0.7.4~009092912 00-ppa1
My understanding is that AutoPPA is doing the right thing. Does
that jive with your understanding of how package version numbers
should be handled? I'm getting this from reading notes here:
https:/ /wiki.ubuntu. com/PackagingGu ide/Complete /help.launchpad .net/Packaging/ PPA/BuildingASo urcePackage
https:/