Merge lp:~philip-peitsch/quickly/multiple-distros into lp:quickly
Proposed by
Philip Peitsch
Status: | Rejected |
---|---|
Rejected by: | Didier Roche-Tolomelli |
Proposed branch: | lp:~philip-peitsch/quickly/multiple-distros |
Merge into: | lp:quickly |
Diff against target: |
178 lines (+118/-23) 2 files modified
data/templates/ubuntu-application/internal/packaging.py (+47/-23) test/ubuntu-application/test_packaging.py (+71/-0) |
To merge this branch: | bzr merge lp:~philip-peitsch/quickly/multiple-distros |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Needs Resubmitting | ||
Review via email: mp+19616@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 431. By Philip Peitsch
-
Removing include distro operation as no longer required
- 430. By Philip Peitsch
-
Reverting changes to release and share. Include distro option is not required
- 429. By Philip Peitsch
-
Merging trunk
- 428. By Philip Peitsch
-
Removing unneeded python interpreter message
- 427. By Philip Peitsch
-
Tidying up changes slightly
- 426. By Philip Peitsch
-
Fixing behaviour in how project configuration is persisted
- 425. By Philip Peitsch
-
Changing when include distribution setting is stored
- 424. By Philip Peitsch
-
Adding support to share for including distribution
- 423. By Philip Peitsch
-
Adding support to release for including distribution
- 422. By Philip Peitsch
-
Fixing tests to not use relative directories
Design tackles two separate parts:
- Abstraction of version handling to make parsing easier and more consistent
- Finding the LSB distro information required
A --include-distro (yes/no) has been added to release & share. This updates the project's stored value upon calling. If not set, it is assumed false, and this setting is stored.
The behaviour for --include-distro=no is identical to previous definition. With --include- distro= yes, the string "-distroname1" is always appended to the current release or shared value. The number 1 at the end of the distro-name is never incremented (I didn't see a point to doing this at this stage).
Generated file names are as per the bug report. Unit tests have been added to verify the version recognition is behaving correctly.
As every, let me know what I can do to improve this patch :)