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

Issue 6065002532306944: Issue 1608 - Introduce HG client module in Puppet (Closed)

Created:
Jan. 5, 2015, 3:12 p.m. by mathias
Modified:
June 23, 2015, 10:45 a.m.
CC:
aalvz, paco
Visibility:
Public.

Description

See https://issues.adblockplus.org/ticket/1608

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -0 lines) Patch
A modules/hg/manifests/init.pp View 1 chunk +142 lines, -0 lines 9 comments Download

Messages

Total messages: 4
mathias
Jan. 5, 2015, 3:12 p.m. (2015-01-05 15:12:59 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/6065002532306944/diff/5629499534213120/modules/hg/manifests/init.pp File modules/hg/manifests/init.pp (right): http://codereview.adblockplus.org/6065002532306944/diff/5629499534213120/modules/hg/manifests/init.pp#newcode38 modules/hg/manifests/init.pp:38: # } Does this API make sense for us? ...
Jan. 13, 2015, 8:10 a.m. (2015-01-13 08:10:48 UTC) #2
Oleksandr
Noissue. Just testing if comments are working...
June 22, 2015, 7:11 a.m. (2015-06-22 07:11:34 UTC) #3
mathias
June 23, 2015, 10:45 a.m. (2015-06-23 10:45:15 UTC) #4
Closing this issue for now. Will be handled in the context of the buid-server
integration.

https://codereview.adblockplus.org/6065002532306944/diff/5629499534213120/mod...
File modules/hg/manifests/init.pp (right):

https://codereview.adblockplus.org/6065002532306944/diff/5629499534213120/mod...
modules/hg/manifests/init.pp:38: #   }
On 2015/01/13 08:10:48, Wladimir Palant wrote:
> Does this API make sense for us? We typically don't check out specific
> revisions, we rather check out the current state and have it updated
> automatically. As you have it implemented right now, the automatic update
still
> has to be done separately.

Well, the revision parameter is optional (and now defaulting to "default"), so
it would behave as expected.

But the keeping-up-to-date thingy is not included here. We can, of course,
include it as an optional (!) feature. I'll have a look into that while
addressing the other feedback from this patch-set.

https://codereview.adblockplus.org/6065002532306944/diff/5629499534213120/mod...
modules/hg/manifests/init.pp:50: ensure => installed,
On 2015/01/13 08:10:48, Wladimir Palant wrote:
> Does a custom path make sense if you require Mercurial to be installed as a
> system package?

The custom path is also used to ensure the $PATH for the $post_update hook being
modifiable.

Powered by Google App Engine
This is Rietveld