Merge lp:~saviq/unity8/in-train-pot-update into lp:unity8

Proposed by Michał Sawicz on 2015-12-01
Status: Merged
Approved by: Albert Astals Cid on 2015-12-09
Approved revision: 2077
Merged at revision: 2092
Proposed branch: lp:~saviq/unity8/in-train-pot-update
Merge into: lp:unity8
Diff against target: 15 lines (+8/-0)
1 file modified
debian/rules (+8/-0)
To merge this branch: bzr merge lp:~saviq/unity8/in-train-pot-update
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve on 2015-12-09
PS Jenkins bot continuous-integration Needs Fixing on 2015-12-03
Didier Roche 2015-12-01 Approve on 2015-12-03
Robert Bruce Park (community) 2015-12-01 Approve on 2015-12-01
Ubuntu Unity PS integration team 2015-12-01 Pending
Review via email: mp+279100@code.launchpad.net

Commit Message

Update .pot file in debian/clean when in train

Description of the Change

 * Are there any related MPs required for this MP to build/function as expected? Please list.
No
 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes, see https://ci-train.ubuntu.com/job/ubuntu-landing-028-1-build/lastBuild/console
 * Did you make sure that your branch does not contain spurious tags?
Yes
 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Yes
 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:2076
http://jenkins.qa.ubuntu.com/job/unity8-ci/6854/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/5522
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-xenial-touch/269/console
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1565
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity8-qmluitest-xenial-amd64/268
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1460
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1460
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-amd64-ci/267
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-i386-ci/266
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-touch/4326
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/5536
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/5536/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/25664
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-xenial-touch/92/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/268
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/268/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/25663

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6854/rebuild

review: Needs Fixing (continuous-integration)
Robert Bruce Park (robru) wrote :

Looks mostly good to me, just wondering why you're testing for "-x /usr/bin/bzr". Is there a case where $SILONAME is defined but bzr isn't available? I think the test should just be for whether $SILONAME is defined or not.

Other than that I think it should be good on your end. Please test it out in a silo and let me know if it actually works. The 'bzr commit' will happen inside a chroot, and it's not clear to me whether bzr will actually be configured in there (I think it bind-mounts the home dir so it should have access to the hosts' bzr config but I'm not sure). What I'm trying to say is that if this doesn't work I probably need to fix it in the train side, so just let me know what's what.

review: Approve
Michał Sawicz (saviq) wrote :

> Looks mostly good to me, just wondering why you're testing for "-x
> /usr/bin/bzr". Is there a case where $SILONAME is defined but bzr isn't
> available? I think the test should just be for whether $SILONAME is defined or
> not.

Yeah, just avoiding potential pitfalls...

> Other than that I think it should be good on your end. Please test it out in a
> silo and let me know if it actually works. The 'bzr commit' will happen inside
> a chroot, and it's not clear to me whether bzr will actually be configured in
> there (I think it bind-mounts the home dir so it should have access to the
> hosts' bzr config but I'm not sure). What I'm trying to say is that if this
> doesn't work I probably need to fix it in the train side, so just let me know
> what's what.

Yeah, it does work, see the job in description, also lp:~ci-train-bot/unity8/unity8-ubuntu-xenial-landing-028

Robert Bruce Park (robru) wrote :

Awesome.
On Dec 1, 2015 12:36 PM, "Michał Sawicz" <email address hidden>
wrote:

> > Looks mostly good to me, just wondering why you're testing for "-x
> > /usr/bin/bzr". Is there a case where $SILONAME is defined but bzr isn't
> > available? I think the test should just be for whether $SILONAME is
> defined or
> > not.
>
> Yeah, just avoiding potential pitfalls...
>
> > Other than that I think it should be good on your end. Please test it
> out in a
> > silo and let me know if it actually works. The 'bzr commit' will happen
> inside
> > a chroot, and it's not clear to me whether bzr will actually be
> configured in
> > there (I think it bind-mounts the home dir so it should have access to
> the
> > hosts' bzr config but I'm not sure). What I'm trying to say is that if
> this
> > doesn't work I probably need to fix it in the train side, so just let me
> know
> > what's what.
>
> Yeah, it does work, see the job in description, also
> lp:~ci-train-bot/unity8/unity8-ubuntu-xenial-landing-028
> --
> https://code.launchpad.net/~saviq/unity8/in-train-pot-update/+merge/279100
> You are reviewing the proposed merge of
> lp:~saviq/unity8/in-train-pot-update into lp:unity8.
>

Didier Roche (didrocks) wrote :

I would rather:
override_dh_auto_clean:
    dh_auto_clean
    # your update work here

Otherwise, +1, even if I think that this feature should be in the train itself

review: Approve
lp:~saviq/unity8/in-train-pot-update updated on 2015-12-03
2077. By Michał Sawicz on 2015-12-03

Run dh_auto_clean, too

PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:2077
http://jenkins.qa.ubuntu.com/job/unity8-ci/6874/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/5569
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-xenial-touch/289/console
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1585
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity8-qmluitest-xenial-amd64/288
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1480
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1480
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-amd64-ci/287
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-i386-ci/286
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-touch/4362
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/5583
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/5583/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/25768
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-xenial-touch/106/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/288
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/288/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/25769

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6874/rebuild

review: Needs Fixing (continuous-integration)
Albert Astals Cid (aacid) wrote :

Makes sense and seems to work.

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Not really, but trusting https://ci-train.ubuntu.com/job/ubuntu-landing-028-1-build/lastBuild/console

 * Did CI run pass?
CI not affected

 * Did you make sure that the branch does not contain spurious tags?
Yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2015-08-14 09:31:33 +0000
3+++ debian/rules 2015-12-03 11:19:26 +0000
4@@ -40,3 +40,11 @@
5 # libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist
6 override_dh_shlibdeps:
7 dh_shlibdeps -XlibMockLightDM-qml.so
8+
9+override_dh_auto_clean:
10+ dh_auto_clean
11+ # only run under "CI Train"
12+ if [ -n "$(SILONAME)" -a -x /usr/bin/bzr ]; then \
13+ ./po/update-unity-pot; \
14+ bzr commit --message "Update translation template" po/unity8.pot; \
15+ fi

Subscribers

People subscribed via source and target branches