Apotheke - A CVS view for Nautilus

Apotheke is a separate Nautilus view, which gives you detailed information about CVS managed directories. CVS is the "Concurrent Version System" which is often used by (free) software projects to manage there sourcecode. Nautilus on the other side is the super cool filemanager used in Gnome, which has a very modular architecture and enables 3rd party developers to extend it easily. This is exactly what I've done here.

The goal of the project is to provide an easy to graphical interface to the most common CVS operations. Especially I don't want to support rarly used CVS commands/options to avoid cluttering of the user interface. Instead there will be a commandline option, where advanced users can enter commands manually. Also the system should go beyond this and should provide features which are more complicated to achieve solely with cvs. Maybe there will also be support for the next generation version control system called 'subversion'.

If you are looking for the real Nautilus Apotheke you should visit www.nautilus-apotheke.de. *g*

Status

2003-11-05: Latest promising news from the Nautilus front: Dave Camp is working hard to make Nautilus more extensible. As testbed he will implement a CVS extension. This will make Apotheke more or less obsolete, but you will get a much better integrated CVS shell. I am looking forward to first official releases and hopefully the CVS extension gets integrated into official Gnome 2.6 release.

Actually this is all in a very basic shape and not yet ready for production use. The basic infrastructure is mostly done right now and it supports the following CVS commands already:

However, you can't checkout or import your own repositories. In it's current state Apotheke is best suited for managing and browsing already existing local CVS directories.

The screenshots below show Apotheke and Nautilus in action:

Version 0.2
(cvs update)
Version 0.2
(cvs diff)
Version 0.1

If you have comments, suggestions or found one of the mutiple bugs, please feel free to mail me: jens (at) triq dot net.

Requirements

To use/compile Apotheke you must have the Gnome2 version of Nautilus installed. Anything newer than Gnome 2.0.x should work, even upcoming Gnome 2.2 releases. Note: It doesn't and won't ever work for Nautilus versions, which are coming with Gnome 1.4.x.

How to use

IMPORTANT: If you compile Apotheke yourself then make sure you use the same prefix and sysconfdir paths as the rest of your Gnome2 desktop. Eg. if Gnome2 is installed in /opt/gnome2 and uses the sysconfdir /etc you should configure Apotheke in the following way: ./configure --prefix=/opt/gnome2 --sysconfdir=/etc.

After the installation start Nautilus and browse to a CVS directory you want to show. Select from the drop-down box in the toolbar "View as other ...". A new dialog pops up. If everything went well there should be a "View as CVS" entry in the presented list. Select it and press Ok.

Obtaining the code

The source code is also directly available from the CVS repository. Use the following CVSROOT string: :pserver:anonymous@cvs.apotheke.berlios.de:/cvsroot/apotheke. There is no password so you can just press return on login. The name of the module to check out is apotheke.

Why is it called "Apotheke"?

Back in the old days of Gnome 1.0.x there was an application called Pharmacy, which describes itself as CVS graphical frontend. On the website they say it is called Pharmacy because "there is a chain of pharmacies in the U.S. called 'CVS/Pharmacy'". The project seems to be dead, but I started with their sourcode anyway and ported it partly to Gnome2, to get some ideas for the GUI. But after a short time it was clear that it would make more sense to rewrite it and make it a Nautilus view. However, 'Apotheke' is the german translation of 'Pharmacy' and is mostly called so due to the lack of a better name.


Hosted by: BerliOS triq.net | Project Page | Webalizer
(c) 2002-2003 Jens Finke
Last Change: 2003-06-19