Merge lp:~mterry/quickly/yelp-depends into lp:quickly
Proposed by
Michael Terry
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 586 | ||||
Proposed branch: | lp:~mterry/quickly/yelp-depends | ||||
Merge into: | lp:quickly | ||||
Diff against target: |
40 lines (+15/-5) 1 file modified
data/templates/ubuntu-application/internal/packaging.py (+15/-5) |
||||
To merge this branch: | bzr merge lp:~mterry/quickly/yelp-depends | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tony Byrne | Approve | ||
Review via email: mp+44289@code.launchpad.net |
Description of the change
Projects should depend on yelp, now that we have mallard help for them. This is Tony's depend-on-yelp patch [1] plus some logic to fix projects on upgrade.
[1] http://
To post a comment you must log in.
The upgrade logic is unhelpful. If you create an project with quickly version 0.6.1 then run it with quickly version 11.03.1 (yelp-depends), upgrade adds the yelp dependency. However the project does not call gnome-help. I suggest we do something like move the yelp depend logic from create and upgrade to package (obvious when you think about it) and have package check for the existence of a helpers.show_uri function before adding the dependency. I don't know whether release or share call package but they need consideration if they don't. From quickly-talk I think the consensus is to keep upgrade simple if we can.
********* begin test Makefile (use in empty directory and change WORK path) tony/projects/ branches/ yelp-depends projects/ trunk/quickly ubuntu- application NAME=test- project
WORK=/home/
TRUNK = /home/tony/
TEMPLATE=
DUT="test project"
PYTHON_
all: version create
version:
quickly --version
clean:
rm -rf $(PYTHON_NAME)
create: clean
quickly create $(TEMPLATE) $(DUT)
run: WORK)/bin: $$PATH; cd $(PYTHON_NAME); quickly run -v
export PATH=$(
dot:
cd $(PYTHON_NAME); cat .quickly
add: WORK)/bin: $$PATH; cd $(PYTHON_NAME); quickly add help-guide index
export PATH=$(
*************** end test script
As a bonus it might be nice to have $quickly add help-guide and $quickly add help-topic inject the necessary functions into helpers and modify the project's help menu.