[development] bzr mirror of Drupal HEAD
Gordon Heydon
gordon at heydon.com.au
Thu Nov 24 05:29:57 UTC 2005
Hi,
This is great, I think that present a couple of choices is a good thing.
On a side note I do that that having a working repository like bzr and
the darcs repository is a good thing. This means that we could actually
set up some automated testing to make sure that anything that is
committed to core works.
I do have a few mirror issues with this. (I am not anti bzr because I
have put forward the darcs respository, I want to see a code management
system like darcs, bzr, hg, etc)
I do not like the fact that we have to be running on such a new release
of bzr. I am running Ubuntu Breezy and I had to download from source. I
couldn't get this from the ubuntu distribution.
I like that we are getting a couple of different repositories so we can
experiment and be able to make an informed decision on which code
management system to move too.
Now we just need to work out how to make add the contributions
repository in a form that can be added to the drupal installation and
have automatic testing enabled.
Gordon.
On Thu, 2005-11-24 at 06:05 +0100, Karoly Negyesi wrote:
> Hi!
>
> At http://drupal.revisioncontrol.net/core/head you can find a bzr branch,
> which hourly mirrors from cvs.
>
> Also, as a proof of concept, this site is also a working Drupal install. I
> copied default in site to drupal.revisioncontrol.net and it's working
> nicely. That directory is not revisioned, of course.
>
> You need bzr 0.6 to use this branch, the 0.0.8 in cygwin won't cut it.
>
> Please understand that all this is highly experimental.
>
> You need to run first
>
> bzr get http://drupal.revisioncontrol.net/core/head
>
> in a directory, which will create you a head directory (have patience -- a
> progress bar is coming, for now you need patience). This head directory is
> also known as branch -- in bzr, a branch is just a directory, if you copy
> that directory to some other name, then congratulations, you have
> branched, it's so very easy! Actually, the get commmand above is an alias
> to branch (and so is clone). To update this branch, use:
>
> bzr pull
>
> and that's it. I recommend setting up an hourly cron to do this for you.
>
> If you want to actually hack core, I recommend branching first:
>
> bzr branch head drupal
>
> from the dir you issued get. Now go to your new drupal directory, hack
> away, and use bzr commit often, whenever you are complete with a step. You
> can have as many branches you want.
>
> When you want to update your own branch to head, then issue from the
> branch you want to update:
>
> bzr merge ../head
> bzr commit -m"Synching with HEAD"
>
> You want to roll a patch?
>
> bzr diff ../head
>
> You can, of course do all this against the mirror itself instead of
> ../head but it's much faster to use your own local mirror -- and also the
> http://drupal.revisioncontrol.net is running on James Blackwell's donated
> space and bandwidth for which I am thankful, but let's not overuse it
> folks, OK :) ? Later I'd like to move this our own infrastructure.
>
> If you want to work together with someone then you need to make your
> branch public. The first thing is that you need to copy the working tree
> to some webspace and then you can just:
>
> bzr push sftp://somewhere.domain/path/to/my/bzr/branch
>
> Of course, ftp://username:password@ also works. The web space does not
> need to run bzr or anything at all. You are storing static files.
>
> Last tip: bzr help is really helpful.
>
> Have fun!
>
> NK
>
> !DSPAM:43854a06227071513039914!
>
More information about the development
mailing list