Differences between revisions 2 and 3
Revision 2 as of 2009-08-18 21:04:13
Size: 1920
Editor: JurijSmakov
Comment:
Revision 3 as of 2009-08-18 21:05:19
Size: 1926
Editor: JurijSmakov
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
For legacy reasons the live configuration file for `b2` is currently checked in to the `b1` repository as `etc/britney2.conf`. Thus, if you wish to modify the live config for `b2`, make sure to modify that file, and not `britney.conf` in `b2` repository. For legacy reasons the live configuration file for `b2` is currently checked in to the `b1` repository as `etc/britney2.conf`. Thus, if you wish to modify the live config for `b2`, make sure to modify that file, and '''not''' `britney.conf` in `b2` repository.

Committing Britney changes

This page describes how to make code changes for Britney (testing migration script) and set them live. It is mostly interesting for the members of release team, performing the changes. At this time there are two Britney versions running in parallel, referred to as b1 (old version, currently doing the actual transitions) and b2 (new version, runs in parallel with b1, but is not in production use yet).

For legacy reasons the live configuration file for b2 is currently checked in to the b1 repository as etc/britney2.conf. Thus, if you wish to modify the live config for b2, make sure to modify that file, and not britney.conf in b2 repository.

  • Clone Britney git repositories (requires ssh access to release.debian.org):

    git clone ssh://release.debian.org/org/release.debian.org/britney/code/b1
    git clone ssh://release.debian.org/org/release.debian.org/britney/code/b2

    This will clone the master branch by default, to which all commits should go.

  • Make your code changes for one or both versions, have them reviewed by another member of the release team.
  • Commit the changes to your local repository:
    git commit -a -s
  • Push the changes to the repository on release.debian.org:

    git push
  • Log in to release.debian.org and become a release user:

    sudo -u release bash

    In order to do this, you will need to set your sudo password, which can be done through http://db.debian.org.

  • Pull the changes from the master to ftp-master branch. To do that use the live tree at /org/release.debian.org/britney/code. For example, to merge the changes for b1 issue the following commands:

    cd /org/release.debian.org/britney/code/b1
    git pull

    Repeat the same for b2, if necessary. This will merge the changes into ftp-master branch, and simultaneously set them live.