Don't wait until packaging for borking about invalid version strings
- Current pisi borks about invalid version string just before creating .pisi file. Move that check to __init__ in Builder to fail as early as possible. - Also handle unknown keywords in version strings to not fail with unhandled exceptions.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
translations.xml reading.
|
||||
* pisi/specfile.py (read_translations): Ignore source package
|
||||
translations if <Name> is empty in translations.xml.
|
||||
* pisi/version.py (VersionItem): Handle unknown keywords in version
|
||||
strings,
|
||||
* pisi/operations/build.py (Builder.__init__): Don't wait until
|
||||
creating .pisi file for borking about invalid version strings e.g.
|
||||
something like "0.5.6.1_x1219" in <Update> element.
|
||||
|
||||
2010-01-12 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||
* pisi/actionsapi/get.py: Add ARCH() for getting host architecture.
|
||||
|
||||
Reference in New Issue
Block a user