Git version control system for Minix 3 - Minix

This is a discussion on Git version control system for Minix 3 - Minix ; I've done a first cut at a port of the Git version control system [1]. This is the system currently used for managing the Linux kernel. It's a distributed version control system, similar in manner to the way 'darcs' and ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Git version control system for Minix 3

  1. Git version control system for Minix 3

    I've done a first cut at a port of the Git version control system [1].
    This is the system currently used for managing the Linux kernel. It's a
    distributed version control system, similar in manner to the way
    'darcs' and 'arch' work.

    [1] http://git.or.cz/

    I've not got everything working yet. Most importantly I haven't got
    retrieving of HTTP going. This limits you to getting repositories off a
    file system, or using the 'git' protocol. The 'git' protocol requires a
    program to be running on the server hosting the repository, which I
    also haven't ported yet. Still, the port is useful for managing local
    repositories.

    You can get the buildable distribution from:

    http://www.minixtips.com/files/minix-git-1.4.0.tar.gz

    It's about 850KB in size. To build you'll need your path setup as:

    /usr/gnu/i386-pc-minix/bin:/usr/gnu/bin:/usr/gnu/bin:$PATH

    You'll need bash, as well as a variety of the GNU tools. I installed
    everything off 'packman'.

    To build just do:

    make
    make install
    chmem =25000000 ~/bin/*

    This will do a 'local install' into a $HOME/bin directory. Add this to
    your path and it should work. A quick tutorial is available here:

    http://www.kernel.org/pub/software/s.../tutorial.html

    The Git repository for the changes I've made is here:

    http://www.minixtips.com/repos/minix-git.git/

    You can retrieve it with any non-minix git with:

    git clone http://www.minixtips.com/repos/minix-git.git/

    The reason the minix git won't work is because, as I mentioned above, I
    haven't ported the http transport yet. But I do provide the contents of
    this repository in a file:

    http://www.minixtips.com/files/minix-git-repos.tar.bz2

    wgetting this and bunzipping it will then allow you to 'git fetch' it
    from your local system as a test to see if things are working:

    wget http://www.minixtips.com/files/minix-git-repos.tar.bz2
    bzcat minix-git-repos.tar.bz2 | tar xvf -
    git fetch minix-git.git mygit

    Once you have the repository it will default to the 'master' branch. To
    build from the repository you'll want the 'minix_1_4_0' branch - this
    is the one that contains my Minix changes. You can change to it with:

    git branch minix_1_4_0

    The 'git' protocol works for retrieving remote repositories too. For
    example, to retrieve the original Git repository:

    git clone git://git.kernel.org/pub/scm/git/git.git

    Be aware that this is an 'in-progress' port so will very likely have
    bugs. I wouldn't use it on your only copy of your important source just
    yet!

    Chris.
    --
    http://www.minixtips.com


  2. Re: Git version control system for Minix 3

    Some typos:

    > wget http://www.minixtips.com/files/minix-git-repos.tar.bz2
    > bzcat minix-git-repos.tar.bz2 | tar xvf -
    > git fetch minix-git.git mygit


    This last command should be 'clone', not 'fetch':

    git clone minix-git.git mygit

    > You can change to it with:
    >
    > git branch minix_1_4_0


    This should be 'checkout' not 'branch':

    git checkout minix_1_4_0

    Sorry about that!

    Chris.
    --
    http://www.minixtips.com


  3. Re: Git version control system for Minix 3

    I've updated my port of Git for Minix to allow retrieval of remote
    repositories using HTTP. It requires the Curl port I posted about
    earlier:

    http://www.minixtips.com/2006/06/git-port-updated.html

    Chris.
    --
    http://www.minixtips.com


+ Reply to Thread