[ubuntu-application] not all syntax for dependencies supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
Medium
|
Unassigned | ||
quickly (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
It took me a while to figure out how additional dependencies can be specified. Now it turned out that there are some limitations regarding the syntax to specify dependencies:
The debian dependency format allows for thinks like »libc6 (>= 2.2.1), exim | mail-transport-
Additionally, version information leads to more severe problems since the list of dependencies seems not to be read at all. E.g., when calling »quickly configure dependencies« again after setting a dependency with version information, the temp file is empty and a second dependency entry is created in .quickly. I guess this is a general problem in the config parser that the = in the config value breaks parsing (but I haven’t investigated further).
[1] http://
$ quickly --version
Quickly 0.4.2
Related branches
tags: |
added: verification-done removed: verification-needed |
This is a proposed patch that comma-separates dependency entries rather than space-separates them since this is the defined debian syntax. It has the drawback of not being backwards compatible.
I also replaced os.system with subprocess.call, since the latter is recommended generally. Or is there a specific reason for using os.system? (Found it used in edit.py as well, maybe it could be replaced there, too.)