This is a little step by step tutorial for those struggling to use Arch like I am right now. This assumes you haven’t used it before, but know enough about cvs. I don’t do a lot of the –bclark_redhat–dev–craziness that you see in tutorials because it’s just a little too strange for me, even if it’s the “right way” to do it. The Following Tux goes into a little too much depth to be a really good first time tutorial.
Tell baz who I am.
baz my-id "Bryan Clark <bclark_-_redhat>"
Create my archive locally first.
baz make-archive bclark_-_redhat--gnomearchive /home/clarkbw/.arch
Make this archive my default one, I guess in case I have others… which I don’t.
baz my-default-archive bclark_-_redhat--gnomearchive
Go into my source directory.
Update: Skip down, see note below.
Now I init the tree, because I guess it needs that.
baz init-tree background-channels--dev--0.1
I now need to add my files in there.
baz add *.in *.am *.glade \ gnome-background-properties gnome-background-channel-subscribe baz add background_channels/ baz add background_channels/*.py
Check that I didn’t miss anything.
Add the files that I forgot to.
baz add .arch-inventory baz add background_channels/.arch-inventory
Then do the import, don’t know why I need this step either…
Update: Continue from here, see note below.
baz import -a
And this too? Seems like I should commit at least once.
Mirroring my stuff
Now to put this on the GNOME server for easier distribution. Instructions provided from (Mirroring Archives with Bazaar)
baz make-archive -l -m bclark_-_redhat--gnomearchive \ sftp://firstname.lastname@example.org/home/users/clarkbw/public_html/arch
Test to see that I can push stuff to the GNOME mirror.
Helpful commands for you to get my stuff
Tell baz who you are.
baz my-id "Name <email@example.com>"
Register the archive and… set it as your default
baz register-archive http://gnome.org/~clarkbw/arch/ Setting arch cache to default path: /root/.arch-cache Registering Archive: bclark_-_redhat--gnomearchive baz my-default-archive bclark_-_redhat--gnomearchive
List the different projects I have in my archive.
List branches of the category from the category list.
baz branches $category
Checkout that shizzle from my archive.
baz get $branch
Update: According to the snorp I can remove the sections from (and including) init-tree to the import section and get the same results.