Ticket #2545 (new defect)

Opened 8 years ago

Option in mkcpsdevinstance to set BUNDLE_SERVERS

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.6
Component: CPSUtil Version: unspecified
Severity: normal Keywords:
Cc:

Description

Some custom projects use the separate server feature of hgbundler, typically to avoid generating lots of ssh keys.

Typically, they keep in the bundle repository a BUNDLE_SERVERS.xml.sample file to indicate the most common configuration (that would be from the internet through ssh, for example). The BUNDLE_SERVERS.xml is then itself not tracked by the DVCS, to avoid the common traps related to local modifications that one may not want to push (passwords, setting that works on one single environment, etc.)

This means that they copy the sample and possibly adapt it on a bunch of platforms

Now that mkcpsdevinstance is widely used in buildbot continuous integration, this becomes a problem, since the slaves have to create their instances from scratch. We could solve that with an option to tell mkcpsdevinstance where the servers XML file to use actually is, and copy it to BUNDLE_SERVERS.xml before launching hgbundler.

Then, don't forget to update the .deb packages.

Note: See TracTickets for help on using tickets.