Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    gitosis: how to add new repository

    20th February 2009

    I assume that you already have your gitosis-admin repository working (this is described elsewhere).

    1. cd gitosis-admin && git pull – enter your gitosis administrative repository and ensure it is up-to-date
    2. $EDITOR gitosis.conf
    3. add [group newreponame] section (newreponame is the name of your new repository being added); add yourself with members = yourlogin@yourhost line; also add writable = newreponame line:

      [group newreponame]
      members = yourlogin@yourhost
      writable = newreponame

    4. based on my assumption of a correctly setup gitosis-admin repository, you should already have the appropriate public key in the keydir directory, but if not – copy your user’s ssh public key to keydir in the form of yourlogin@yourhostname.pub, then do git add keydir/yourlogin@yourhostname.pub
    5. git commit -am ‘new repository: newreponame’; git push;
    6. now that you have the new repo permissions configured, let’s actually create it. Navigate to the directory holding the files of your project (e.g. cd ~/newreponame), and do git init; git add . – this initializes empty git repository, and then adds all the files to it. If you have no files – you can skip the ‘git add .’ command, as it will do nothing for you.
    7. git commit -m ‘initial commit’. If you had no files added to the commit, git will complain that it cannot create an empty commit. In this case use the command git commit ––allow-empty -m ‘initial commit’
    8. git remote add origin ssh://gitosis@yourGitosisServerName/newreponame.git
    9. git push ––all
    10. final thing: git config ––add branch.master.remote origin && git config ––add branch.master.merge refs/heads/master; alternatively, cd .git && $EDITOR config, and then add these lines:

      [branch "master"]
      remote = origin
      merge = refs/heads/master

      Without these lines, you won’t be able to git pull.

    Share

    Posted in *nix, how-to, Software | 16 Comments »

    Debian-Med Project

    3rd September 2008

    There’s a Debian-Med project, aiming to

    develop Debian into an operating system that is particularly well fit for the requirements for medical practice and research

    Debian-Med has several web sites/pages: one at Debian.org (descriptive), and the actual project’s website at debian-med.alioth.debian.org. There’s also debian-med wiki (for developers).

    As of nowadays, Debian-Med has released a number of Debian packages, which are grouped into respective Debian Med Tasks. The Biology-dev task, for example, contains MCL and libsbml packages (among many others).

    Check this project out – you might find that the software you need is already available as Debian package.

    This post was stimulated by Steffen’s comment.

    Share

    Posted in *nix, Links, Science, Software | No Comments »

    Need a computer science paper? Try SCIgen!

    9th December 2007

    Quite an entertaining story:
    SCIgen at wikipedia
    SCIgen tool
    SCIgen blog

    Finally, just a useful resource if you need a shiny name for your brand-new 2.0-beta project: anagram server.

    Share

    Posted in Humour, Links, Science | 1 Comment »