Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29358368: Issue 4540 - Add Platform Specific Branch Support to createNightlies.py (Closed)

Created:
Oct. 20, 2016, 7:51 a.m. by Jon Sonesen
Modified:
Nov. 3, 2016, 8:42 a.m.
Visibility:
Public.

Description

Issue 4540 - Add Platform Specific Branch Support to createNightlies.py Repository: hg.adblockplus.org/sitescripts Here is the first iteration of this. My plan is to add tests tomorrow in a second patch set but thought I would get this up to make sure I am on the right track.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Adressing comments adds single unit test #

Total comments: 7

Patch Set 3 : addresses comments and re adds the -b default option to the hg log call #

Patch Set 4 : adds fixture to generate place holder nightlies file, removes nightlies file from repo #

Total comments: 17

Patch Set 5 : addressing feedback from wladimir #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -87 lines) Patch
M .sitescripts.example View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M sitescripts/extensions/bin/createNightlies.py View 1 2 3 4 5 2 chunks +11 lines, -7 lines 0 comments Download
A sitescripts/extensions/test/conftest.py View 1 2 3 4 1 chunk +96 lines, -0 lines 0 comments Download
A sitescripts/extensions/test/test_createNightlies.py View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M sitescripts/extensions/test/test_updateManifests.py View 1 2 3 4 1 chunk +10 lines, -80 lines 0 comments Download
M sitescripts/extensions/utils.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37
Jon Sonesen
Oct. 20, 2016, 7:51 a.m. (2016-10-20 07:51:15 UTC) #1
Jon Sonesen
here is the first patch, i think it would be wise for me to add ...
Oct. 20, 2016, 7:55 a.m. (2016-10-20 07:55:54 UTC) #2
Jon Sonesen
Sorry guys, Vasily informed me (and I had suspected) That the branch option should checkout ...
Oct. 20, 2016, 8:06 a.m. (2016-10-20 08:06:05 UTC) #3
Vasily Kuznetsov
The direction seems right. I think having a test would be really nice though, otherwise ...
Oct. 20, 2016, 4:54 p.m. (2016-10-20 16:54:40 UTC) #4
Sebastian Noack
On 2016/10/20 16:54:40, Vasily Kuznetsov wrote: > I think having a test would be really ...
Oct. 20, 2016, 5:36 p.m. (2016-10-20 17:36:16 UTC) #5
Jon Sonesen
On 2016/10/20 17:36:16, Sebastian Noack wrote: > On 2016/10/20 16:54:40, Vasily Kuznetsov wrote: > > ...
Oct. 20, 2016, 6:27 p.m. (2016-10-20 18:27:26 UTC) #6
kzar
(Copying Wladimir in.) Please can you also add examples for the "abpxxx_bookmark" options in the ...
Oct. 21, 2016, 8:17 a.m. (2016-10-21 08:17:19 UTC) #7
kzar
https://codereview.adblockplus.org/29358368/diff/29358369/sitescripts/extensions/bin/createNightlies.py File sitescripts/extensions/bin/createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29358369/sitescripts/extensions/bin/createNightlies.py#newcode115 sitescripts/extensions/bin/createNightlies.py:115: '-b', self.branch, '-l', '50', '--encoding', 'utf-8', On 2016/10/21 08:17:19, ...
Oct. 21, 2016, 8:22 a.m. (2016-10-21 08:22:57 UTC) #8
Jon Sonesen
Sorry it has been a few days. Got sick last week and was traveling back ...
Oct. 24, 2016, 5:32 p.m. (2016-10-24 17:32:32 UTC) #9
kzar
Looks much better this time thanks. Some general codereview etiquette: - It's not strictly required ...
Oct. 25, 2016, 8:13 a.m. (2016-10-25 08:13:01 UTC) #10
Jon Sonesen
On 2016/10/25 08:13:01, kzar wrote: > Looks much better this time thanks. > > Some ...
Oct. 25, 2016, 9:01 a.m. (2016-10-25 09:01:53 UTC) #11
Jon Sonesen
Patch Set 2 about to upload a new patch set. https://codereview.adblockplus.org/29358368/diff/29358509/.sitescripts.example File .sitescripts.example (right): https://codereview.adblockplus.org/29358368/diff/29358509/.sitescripts.example#newcode64 ...
Oct. 25, 2016, 9:15 a.m. (2016-10-25 09:15:18 UTC) #12
Jon Sonesen
addresses comments and re adds the -b default option to the hg log call
Oct. 25, 2016, 9:34 a.m. (2016-10-25 09:34:58 UTC) #13
kzar
What is the sitescripts/extensions/test/data/nightlies file about? Just a file which gets populated and read back ...
Oct. 25, 2016, 10:03 a.m. (2016-10-25 10:03:37 UTC) #14
Jon Sonesen
Patch Set 4 The nightlies file is expected to exist because of the configuration example ...
Oct. 25, 2016, 10:16 a.m. (2016-10-25 10:16:17 UTC) #15
kzar
On 2016/10/25 10:16:17, Jon Sonesen wrote: > Patch Set 4 I don't see Patch Set ...
Oct. 25, 2016, 10:24 a.m. (2016-10-25 10:24:43 UTC) #16
Jon Sonesen
adds fixture to generate place holder nightlies file, removes nightlies file from repo
Oct. 25, 2016, 10:29 a.m. (2016-10-25 10:29:15 UTC) #17
kzar
LGTM Before you land this: - I think it would be a good idea for ...
Oct. 25, 2016, 10:42 a.m. (2016-10-25 10:42:50 UTC) #18
Vasily Kuznetsov
The overall approach looks good but the tests that you have now seem rather non-comprehensive. ...
Oct. 25, 2016, 4:04 p.m. (2016-10-25 16:04:34 UTC) #19
kzar
On 2016/10/25 16:04:34, Vasily Kuznetsov wrote: > The overall approach looks good but the tests ...
Oct. 25, 2016, 4:12 p.m. (2016-10-25 16:12:14 UTC) #20
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py File sitescripts/extensions/test/conftest.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py#newcode53 sitescripts/extensions/test/conftest.py:53: @pytest.fixture(scope='session') On 2016/10/25 16:04:33, Vasily Kuznetsov wrote: > The ...
Oct. 25, 2016, 4:23 p.m. (2016-10-25 16:23:49 UTC) #21
Vasily Kuznetsov
On 2016/10/25 16:12:14, kzar wrote: > On 2016/10/25 16:04:34, Vasily Kuznetsov wrote: > > The ...
Oct. 25, 2016, 4:28 p.m. (2016-10-25 16:28:15 UTC) #22
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/test_createNightlies.py File sitescripts/extensions/test/test_createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/test_createNightlies.py#newcode36 sitescripts/extensions/test/test_createNightlies.py:36: def test_nightly_object_bookmark(nightlybuild): On 2016/10/25 16:04:33, Vasily Kuznetsov wrote: > ...
Oct. 25, 2016, 4:29 p.m. (2016-10-25 16:29:13 UTC) #23
Wladimir Palant
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py File sitescripts/extensions/bin/createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py#newcode71 sitescripts/extensions/bin/createNightlies.py:71: ) Ok, so the config example makes the impression ...
Oct. 25, 2016, 4:32 p.m. (2016-10-25 16:32:05 UTC) #24
Vasily Kuznetsov
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py File sitescripts/extensions/test/conftest.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py#newcode53 sitescripts/extensions/test/conftest.py:53: @pytest.fixture(scope='session') On 2016/10/25 16:23:49, Jon Sonesen wrote: > On ...
Oct. 25, 2016, 4:39 p.m. (2016-10-25 16:39:22 UTC) #25
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py File sitescripts/extensions/bin/createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py#newcode71 sitescripts/extensions/bin/createNightlies.py:71: ) On 2016/10/25 16:32:04, Wladimir Palant wrote: > Ok, ...
Oct. 25, 2016, 4:39 p.m. (2016-10-25 16:39:59 UTC) #26
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py File sitescripts/extensions/test/conftest.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/conftest.py#newcode40 sitescripts/extensions/test/conftest.py:40: @pytest.fixture(scope='session') On 2016/10/25 16:04:33, Vasily Kuznetsov wrote: > This ...
Oct. 25, 2016, 4:42 p.m. (2016-10-25 16:42:59 UTC) #27
Vasily Kuznetsov
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/test_createNightlies.py File sitescripts/extensions/test/test_createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/test/test_createNightlies.py#newcode36 sitescripts/extensions/test/test_createNightlies.py:36: def test_nightly_object_bookmark(nightlybuild): On 2016/10/25 16:29:13, Jon Sonesen wrote: > ...
Oct. 25, 2016, 4:46 p.m. (2016-10-25 16:46:46 UTC) #28
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py File sitescripts/extensions/bin/createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py#newcode71 sitescripts/extensions/bin/createNightlies.py:71: ) On 2016/10/25 16:32:04, Wladimir Palant wrote: > Ok, ...
Oct. 25, 2016, 4:46 p.m. (2016-10-25 16:46:48 UTC) #29
Jon Sonesen
On 2016/10/25 16:46:48, Jon Sonesen wrote: > https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py > File sitescripts/extensions/bin/createNightlies.py (right): > > https://codereview.adblockplus.org/29358368/diff/29359415/sitescripts/extensions/bin/createNightlies.py#newcode71 ...
Oct. 26, 2016, 10:06 a.m. (2016-10-26 10:06:55 UTC) #30
Wladimir Palant
On 2016/10/26 10:06:55, Jon Sonesen wrote: > I have uploaded a new patch set (Patch ...
Oct. 26, 2016, 3:34 p.m. (2016-10-26 15:34:03 UTC) #31
Jon Sonesen
https://codereview.adblockplus.org/29358368/diff/29359913/sitescripts/extensions/bin/createNightlies.py File sitescripts/extensions/bin/createNightlies.py (right): https://codereview.adblockplus.org/29358368/diff/29359913/sitescripts/extensions/bin/createNightlies.py#newcode107 sitescripts/extensions/bin/createNightlies.py:107: 'hg', 'log', '-R', self.tempdir, '-r', 'ancestors(master)', On 2016/10/26 15:34:03, ...
Oct. 26, 2016, 5:44 p.m. (2016-10-26 17:44:05 UTC) #32
Wladimir Palant
LGTM for the script changes. I didn't review unit tests, it should be sufficient for ...
Oct. 26, 2016, 6:04 p.m. (2016-10-26 18:04:49 UTC) #33
Vasily Kuznetsov
LGTM The tests are not sufficient at the moment, but since this is urgent, we've ...
Oct. 28, 2016, 10:05 a.m. (2016-10-28 10:05:24 UTC) #34
kzar
Mind pushing this Jon?
Nov. 1, 2016, 12:25 p.m. (2016-11-01 12:25:30 UTC) #35
Jon Sonesen
On 2016/11/01 12:25:30, kzar wrote: > Mind pushing this Jon? Hey, don't have push access ...
Nov. 1, 2016, 12:51 p.m. (2016-11-01 12:51:07 UTC) #36
Vasily Kuznetsov
Nov. 2, 2016, 11:11 a.m. (2016-11-02 11:11:07 UTC) #37
On 2016/11/01 12:51:07, Jon Sonesen wrote:
> On 2016/11/01 12:25:30, kzar wrote:
> > Mind pushing this Jon?
> 
> Hey, don't have push access yet. Although it may be a good idea soon for me to
> have it. However, the patch has been sent to module owner

Pushed. You can close the review, Jon.

Powered by Google App Engine
This is Rietveld