Created by Cael Kay-Jackson and last modified

Branch handling tools. These are useful for spenglr in particular due to its three-repo setup and the need to switch easily between several branches when testing features etc.

Get this branch:
bzr branch lp://qastaging/spenglr-devtools
Members of Registry Administrators can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Registry Administrators
Spenglr Devtools

Recent revisions

9. By Cael Kay-Jackson

Image rotate script.

8. By Cael Kay-Jackson

Fix to usage output of wrepo.sh.

7. By Cael Kay-Jackson


6. By Cael Kay-Jackson

Tweaks to windows repo 'boot' script.

5. By Cael Kay-Jackson

Fix to repo.bat

4. By Cael Kay-Jackson

Preliminary branch switching tool added for Windows. It is a slight modification
to the Linux script and requires bash for windows and uses Junction to create
the symlinks. This is intended to be a stopgap solution until a better tool can
be created.

INSTALL fleshed out but still needs more information.

3. By Cael Kay-Jackson

GPL information added.

2. By Cael Kay-Jackson

Minor tweak.

1. By Cael Kay-Jackson


Note: Unfortunately the settings are inside the scripts at the moment!

It is expected that C versions of these may be created to allow the tools to
be built for and used on different platforms.

Quick n' dirty bash scripts:
 - b.sh: Bazaar helper script. Nothing special but it can prevent a lot of
   cd'ing around the filesystem and allows commands to be combined. For example
   "b.sh core status" will run "bzr status" on the branch with ID 'core'.
 - repo.sh: Repository switching helper script. A symlink approach is used,
   which allows the developer to store several versions of several branches*
   in some location outside the Drupal hierarchy. Symlinks are created in
   the various modules/ and themes/ directories which link to a specific
   branch. This allows the developer to selectively expose modules for Drupal
   to use and do so in a controllable way.
   Switching for example the core branch to use the trunk then becomes
   as easy as "repo.sh core trunk". More detailed instructions will be added

* wasn't that a musical?

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.