Closed Bug 474589 Opened 13 years ago Closed 13 years ago
buildbot-configs CVS -> hg migration
Currently we have these directories in CVS's buildbot-configs directory: automation/ production/ production-1.9/ staging/ staging-1.9/ testing/ leaktest/ moz2unit/ seamonkey/ sisyphus/ talos/ unittest/ unittest-stage/ tryserver/ The automation directory, as well as testing/unittest are used by the 1.8/1.9 branches. These can stay in CVS until the 1.8/1.9 branches die. I'd like to start off by importing talos' perf-staging and perfmaster, as well as tryserver into our mercurial buildbot-configs repository. The simple method would be to just add the current version of the files into buildbot-configs in the relevent directories. We can also try and preserve history by converting the CVS repo. My current approach so far is to convert the CVS repository with 'hg convert' and a filemap to exclude certain directories. Then pull the newly created hg repo into the existing buildbot-configs repo, and merge. # filemap contains: include testing/talos include tryserver rename testing/talos/perf-staging talos-staging rename testing/talos/perfmaster talos # In CVS working copy of buildbot-configs/tools hg convert --filemap filemap buildbot-configs # In hg working copy hg pull -f /path/to/tools/buildbot-configs-hg hg merge hg commit
It helps to use a username mapping for the conversion: # usermap contains: anodelman%mozilla.com = Alice Nodelman <firstname.lastname@example.org> bclary%bclary.com = Bob Clary <email@example.com> bhearsum%mozilla.com = Ben Hearsum <firstname.lastname@example.org> bzbarsky%mit.edu = Boris Zbarsky <email@example.com> catlee%mozilla.com = Chris AtLee <firstname.lastname@example.org> ccooper%deadsquid.com = Chris Cooper <email@example.com> gavin%gavinsharp.com = Gavin Sharp <firstname.lastname@example.org> jwalden%mit.edu = email@example.com kairo%kairo.at = Robert Kaiser <firstname.lastname@example.org> karlt+%karlt.net = email@example.com nrthomas%gmail.com = Nick Thomas <firstname.lastname@example.org> pavlov%pavlov.net = email@example.com rcampbell%mozilla.com = Rob Campbell <firstname.lastname@example.org> reed%reedloden.com = Reed Loden <email@example.com> rhelmer%mozilla.com = Rob Helmer <firstname.lastname@example.org> ted.mielczarek%gmail.com = Ted Mielczarek <email@example.com> then we do hg convert -A usermap --filemap filemap buildbot-configs
(In reply to comment #1) > jwalden%mit.edu = firstname.lastname@example.org Jeff Walden > karlt+%karlt.net = email@example.com Karl Tomlinson > pavlov%pavlov.net = firstname.lastname@example.org Stuart Parmenter
I have no objections to switching the talos buildbot code from cvs to hg. Please ensure that this gets correctly set up for production, stage and try.
filemap is now: include testing/talos exclude testing/talos/baseliner include tryserver rename testing/talos/perf-staging talos-staging rename testing/talos/perfmaster talos rename testing/talos/tryperfmaster talos-try The resulting repository can be found at: http://hg.mozilla.org/users/catlee_mozilla.com/test/
CVS history was merged into mercurial this morning: changeset: 931:9aaf9bc21d69 parent: 726:5a0a4e79714e parent: 930:42289e9631f5 user: Chris AtLee <email@example.com> date: Mon Feb 09 08:37:56 2009 -0500 summary: Bug 474589 - Merge in buildbot-configs from CVS. r=anodelman
Config files were updated on: qm-rhel02 for perfmaster and tryperfmaster qm-buildbot01 for perf-staging sm-try-master and sm-staging-try-master
Directories were deleted from CVS on the 13th.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.