Merge lp:~ricardokirkner/locolander/lean-output into lp:locolander

Proposed by Ricardo Kirkner
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: 30
Merged at revision: 28
Proposed branch: lp:~ricardokirkner/locolander/lean-output
Merge into: lp:locolander
Prerequisite: lp:~ricardokirkner/locolander/explicit-dependencies
Diff against target: 73 lines (+10/-12)
2 files modified
docker/scripts/locolander (+8/-9)
locolander/locolanderweb/templates/locolanderweb/project/detail.html (+2/-3)
To merge this branch: bzr merge lp:~ricardokirkner/locolander/lean-output
Reviewer Review Type Date Requested Status
Facundo Batista Approve
Review via email: mp+177236@code.launchpad.net

Commit message

limit verboseness of merge request processing output to the minimum

To post a comment you must log in.
Revision history for this message
Facundo Batista (facundo) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'docker/scripts/locolander'
--- docker/scripts/locolander 2013-07-09 18:43:37 +0000
+++ docker/scripts/locolander 2013-07-27 00:07:32 +0000
@@ -26,12 +26,12 @@
2626
27# 1. get target branch27# 1. get target branch
28echo "Getting target branch ($TARGET) ..."28echo "Getting target branch ($TARGET) ..."
29bzr branch $TARGET target29OUTPUT=$(bzr branch $TARGET target 2>&1)
3030
31# 2. merge source31# 2. merge source
32echo "Merging source branch ($SOURCE) into target ..."32echo "Merging source branch ($SOURCE) into target ..."
33cd target33cd target
34bzr merge $SOURCE34OUTPUT=$(bzr merge $SOURCE 2>&1)
3535
36# figure out if there are any changes36# figure out if there are any changes
37DIFF=$(bzr diff)37DIFF=$(bzr diff)
@@ -53,8 +53,8 @@
53if [ -e Dockerfile ]; then53if [ -e Dockerfile ]; then
54 mv Dockerfile .Dockerfile.locolander54 mv Dockerfile .Dockerfile.locolander
55fi55fi
56python ns2df.py $PROJECT .locolander.yml Dockerfile56OUTPUT=$(python ns2df.py $PROJECT .locolander.yml Dockerfile 2>&1)
57OUTPUT=$(docker build -t $PROJECT .)57OUTPUT=$(docker build -t $PROJECT . 2>&1)
58if [ -z $? -o "`echo $OUTPUT | grep 'Error'`" != "" ]; then58if [ -z $? -o "`echo $OUTPUT | grep 'Error'`" != "" ]; then
59 echo "FAILURE - Build failed:"59 echo "FAILURE - Build failed:"
60 echo $OUTPUT60 echo $OUTPUT
@@ -67,8 +67,7 @@
6767
68# 4. run test script using image68# 4. run test script using image
69echo "Running tests ..."69echo "Running tests ..."
70OUTPUT=$(docker run $PROJECT)70docker run $PROJECT
71echo $OUTPUT
7271
73if [ -z $? -o "`echo $OUTPUT | grep 'Error'`" != "" ]; then72if [ -z $? -o "`echo $OUTPUT | grep 'Error'`" != "" ]; then
74 echo "FAILURE - Tests failed"73 echo "FAILURE - Tests failed"
@@ -79,14 +78,14 @@
79echo "Committing merge ..."78echo "Committing merge ..."
8079
81if [ "$AUTHOR" != "" ]; then80if [ "$AUTHOR" != "" ]; then
82 bzr commit -m "$COMMIT_MSG" --author="$AUTHOR"81 OUTPUT=$(bzr commit -m "$COMMIT_MSG" --author="$AUTHOR" 2>&1)
83else82else
84 bzr commit -m "$COMMIT_MSG"83 OUTPUT=$(bzr commit -m "$COMMIT_MSG" 2>&1)
85fi84fi
8685
87# 6. push branch86# 6. push branch
88echo "Pushing merge ..."87echo "Pushing merge ..."
89bzr push $TARGET88OUTPUT=$(bzr push $TARGET 2>&1)
9089
91echo "SUCCESS"90echo "SUCCESS"
9291
9392
=== modified file 'locolander/locolanderweb/templates/locolanderweb/project/detail.html'
--- locolander/locolanderweb/templates/locolanderweb/project/detail.html 2013-07-22 01:00:12 +0000
+++ locolander/locolanderweb/templates/locolanderweb/project/detail.html 2013-07-27 00:07:32 +0000
@@ -37,9 +37,8 @@
37 <span>37 <span>
38 {{ entry.timestamp }}38 {{ entry.timestamp }}
39 </span>39 </span>
40 <pre style="background: #eeeeee;">40 {% comment %}make sure not to add any extra whitespace between the pre tags{% endcomment %}
41 {{ entry.raw|wordwrap:120 }}41 <pre style="background: #eeeeee;">{{ entry.raw|linebreaksbr }}</pre>
42 </pre>
43 </div>42 </div>
44 {% endfor %}43 {% endfor %}
45 {% endif %}44 {% endif %}

Subscribers

People subscribed via source and target branches

to all changes: