Merge lp:~frankban/juju-gui/bug-1095663-test-final into lp:juju-gui/experimental
Proposed by
Francesco Banconi
Status: | Merged |
---|---|
Merged at revision: | 326 |
Proposed branch: | lp:~frankban/juju-gui/bug-1095663-test-final |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
64 lines (+8/-5) 2 files modified
Makefile (+5/-1) docs/process.rst (+3/-4) |
To merge this branch: | bzr merge lp:~frankban/juju-gui/bug-1095663-test-final |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+143693@code.launchpad.net |
Description of the change
Avoid version check if make target != dist[file]
Our Makefile stops the execution if the user:
1) tries to make a stable release and the latest
version in CHANGES.yaml is "unreleased";
2) tries to make a devel release and the latest
version is not "unreleased".
Now this check is only performed when the make
target is dist or distfile, so that it is
possible, e.g., to run tests on a stable release
without defining FINAL=1.
Updated process documentation.
To post a comment you must log in.
Reviewers: mp+143693_ code.launchpad. net,
Message:
Please take a look.
Description:
Avoid version check if make target != dist[file]
Our Makefile stops the execution if the user:
1) tries to make a stable release and the latest
version in CHANGES.yaml is "unreleased";
2) tries to make a devel release and the latest
version is not "unreleased".
Now this check is only performed when the make
target is dist or distfile, so that it is
possible, e.g., to run tests on a stable release
without defining FINAL=1.
Updated process documentation.
https:/ /code.launchpad .net/~frankban/ juju-gui/ bug-1095663- test-final/ +merge/ 143693
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/7138054/
Affected files:
M Makefile
A [revision details]
M docs/process.rst
Index: Makefile VERSION= $(shell grep '^-' CHANGES.yaml | head -n 1 | VERSION= $(shell grep '^-' CHANGES.yaml | head -n 2 | tail -n 1 TARGETS= dist distfile VERSION) , unreleased) VERSION= $(ULTIMATE_ VERSION) VERSION) , unreleased) VERSION= $(PENULTIMATE_ VERSION) +build. $(BZR_REVNO)
=== modified file 'Makefile'
--- Makefile 2013-01-10 16:32:14 +0000
+++ Makefile 2013-01-17 12:20:14 +0000
@@ -55,25 +55,30 @@
ULTIMATE_
sed 's/[ :-]//g')
PENULTIMATE_
\
| sed 's/[ :-]//g')
+RELEASE_
# If the user specified (via setting an environment variable on the command
# line) that this is a final (non-development) release, set the version
number
# and series appropriately.
ifdef FINAL
# If this is a FINAL (non-development) release, then the most recent
version
# number should not be "unreleased".
+ifneq (, $(filter $(RELEASE_TARGETS), $(MAKECMDGOALS)))
ifeq ($(ULTIMATE_
$(error FINAL releases must have a most-recent version number other
than \
"unreleased" in CHANGES.yaml)
endif
+endif
RELEASE_
SERIES=stable
else
# If this is development (non-FINAL) release, then the most recent version
# number must be "unreleased".
+ifneq (, $(filter $(RELEASE_TARGETS), $(MAKECMDGOALS)))
ifneq ($(ULTIMATE_
$(error non-FINAL releases must have a most-recent version number of \
"unreleased" in CHANGES.yaml)
endif
+endif
RELEASE_
SERIES=trunk
endif
@@ -142,7 +147,6 @@
@echo "test-debug: run tests in the browser from the debug environment"
@echo "test-prod: run tests in the browser from the production
environment"
@echo " FIXME: currently yielding 78 failures"
- @echo "test: same as the test-debug target"
@echo "prep: beautify and lint the source"
@echo "docs: generate Sphinx and YUIdoc documentation"
@echo "help: this description"
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision:
<email address hidden>
Index: docs/process.rst
=== modified file 'docs/process.rst'
--- docs/process.rst 2013-01-16 11:52:55 +0000
+++ docs/process.rst 2013-01-17 13:53:15 +0000
@@ -121,14 +121,13 @@
is ``unreleased``, do the following.
* De...