Git on Drugs

Petr Baudis

pasky@suse.cz

SuSE Labs CZ

I Had Fun in Summer!

Deployed Git in M&S at Novartis Pharma, AG. in Basel, CH

M&S = Modelling and Simulation department, developing statistical models of drugs behavior in the body

Model = some R/Matlab/... code, docs, datasets...

Proof-of-concept project: Central repository server and git-gui on win32 clients

Project will continue next year, if anyone is interested in an internship in Switzerland... ;-)

Challenges

Make git-gui usable for basic usage even by less computer-literate people

Provide user-friendly infrastructure for storage and organization of repositories with all the models

Provide nice way to look at the models over the web (without too much emphasis on the version control aspects)

Organize the models into some structure

Figure out organization of files within the model

Git-gui hacks

Better desktop environment integration

Starting explorer from within

Enhancing browser startup

URL handler for git:// on Win32

Remotes manipulation support

Locators support (URL templates)

Central repository collection integration

Girocco hacks

Girocco is new name for the repo.or.cz infrastructure

Name and initial changeset by Jan Engelhart

Now easily re-deployable customizable package

Roll-out at repo.or.cz in progress

Gitweb hacks

Tag clouds

Project search form

Custom actions override

Templating

Templating

Gitweb should present more information about the model itself, not about just its history

All necessary information is part of the model docs

So, teach gitweb to show it!

But different people want to see different things!

Modellers

Their managers

Clinical practicians

Also, modellers are very eccentric and individualistic people

They keep their docs at different places, each

Templating

HEAD:show/basic.template

The template of the “basic” default view

Uses the gitconfig format

Specifies custom actions and redefines the summary action

For the custom actions, specifies which sections should be in and what should be in them

Can refer the existing individual summary sections

Custom sections are either

Fixed strings

Files from HEAD or links to them

Items in gitconfig-ish files from HEAD

CSV-ish tables of the above

Templating

Default show/basic.template refers to

README.html is what's shown in the readme section

info.txt: gitconfig-ish file containing basic model metadata

...?

Questions Zone

SUSE BrainShare Template 2004

2004-01-28T12:03:58