quick instructions on how to work with a git moonbase

Auke Kok auke at foo-projects.org
Thu Jul 5 06:32:23 CEST 2012



All,

if you want to run directly against all or part of moonbase from the 
split trees, then here is how to do it:

First, if you have a github account (any account will do, as long as you 
have uploaded an ssh key into github!), you can use:

     URL=git at github.com:/lunar-linux/

Otherwise, you will have to use anongit:

     URL=git://github.com/lunar-linux/


 From here on, the sequence is basically the same:

1) lin theedge

(for now, this is needed. This should disappear soon from the requirements).

2) mkdir -p ~/git/split-moonbase
    cd ~/git/split-moonbase
    git clone $URL/moonbase-core.git core

3) under the same folder, clone any or all of the optional trees:
    git clone $URL/moonbase-xorg.git xorg
    git clone $URL/moonbase-other.git other
    git clone $URL/moonbase-xfce.git xfce
    git clone $URL/moonbase-efl.git efl
    git clone $URL/moonbase-kde.git kde
    git clone $URL/moonbase-gnome.git gnome

(This list may expand in the future).

4) mkdir zlocal

5) cat */aliases > aliases

probably required.

6) cat */module.index > module.index

not yet needed, but may help you find packages

7) lunar set MOONBASE "~/git/split-moonbase"

This makes most of the magic happen.

8) lin moonbase

This should now exit within a few seconds without any messages. If this 
downloads a tarball, something went wrong.

After this, you're all set to git pull/push if you have commit access.

Remember to `lin moonbase` if you did updates to your new split moonbase 
parts, as this reindexes the needed caches.

Cheers,

Auke


More information about the Lunar-dev mailing list