Anonymous Anonymous

Nautilus subversion integration tool. Execute SVN commands with Gnome scripts

Thursday, 25 de October del 2007

I have been using subversion (svn) for years from the command line... But some months ago I changed my job and I started using windows environments. And I must admit TortoiseSVN is the best GUI SVN client i've seen ever before. While my needs are satisfied in Windows with TortoiseSVN and in Mac OS X with SCPlugin and SvnX, I was lacking a subversion tool to manage my files while exploring files in my Ubuntu (nautilus file explorer). That's why i decided to create my own set of scripts to integrate them on Nautilus contextual menu for a quick access without opening SVN programs or shell. I took the icons from the SVN Workbench since that is the client that I mostly use in Ubuntu and my eye finds the actions faster.

This is how it looks like

96355-83174.jpg

96355-83171.jpg

96355-83172.jpg

96355-83173.jpg

The following actions are supported by now:

  • svn status
  • svn update
  • svn add
  • svn commit

But more is to come. It takes no more than 5 minutes to implement, for example, the svn checkout. I post this quickly because there is people around willing to test it. This is not tested anywhere other than in my own machine, but these are easy scripts, I don't think you cope any problems with them.

Installation

Requeriments, not much, really:

  • nautilus-actions sudo apt-get install nautilus-actions
  • Zenity (already shipped with your Ubuntu)

Steps:

  • Uncompress the TarGz in your home folder
  • Execute nautilus-config-actions
  • Import every file inside the schemas directory.
  • Replace /home/artomb by your real home path ( the ~/ seems to no work ), maybe you need to reassign the icons

That's it. No Nautilus restarting is needed, although the nautilus config sometimes is buggy.

Download nautilus subversion integration tool

Download (right click and save): Download nautilus-svn scripts

Possible problems and solutions

  • The script doesn't launch: Check the scripts are executable (chmod 755)

Was this post interesting?

Related posts

Images album - Viendo 1 a 4 de 4

Nautilus subversion integration tool. Execute SVN commands with Gnome scripts
Nautilus subversion integration tool. ...
Nautilus subversion integration tool. Execute SVN commands with Gnome scripts
Nautilus subversion integration tool. ...
Nautilus subversion integration tool. Execute SVN commands with Gnome scripts
Nautilus subversion integration tool. ...
Nautilus subversion integration tool. Execute SVN commands with Gnome scripts
Nautilus subversion integration tool. ...

See photo album »

Comentarios

el bigoti de TomSelleck el bigoti de TomSelleck
no puc esperar per provar-lo!
Té bona pinta. També ho provaré :)
Come on boy, what about we poor Thunar users? Will you leave us in the cold?

Now seriously, keep up with the good work _netle_!
For Thunar users (I won't leave you in the cold) ;)

You can use the scripts in the tar.gz since they are bash scripts. In order to add them to te contextual menu add them in the Thunar menu file:

mousepad ~/.config/Thunar/uca.xml

An example of what you have to paste would be:

<action>
<icon>~/path/to/icon</icon>
   <name>Commit</name>
   <command>bash ~/.nautilus-svn/scripts/commit.sh %f</command>
 <description>Commit</description>
   <patterns>*</patterns>
<directories /></action>
edu edu
ets un geni, company xD
instal·lant-se ^^
Hohoho, big thanks Albert! I will test it out tomorrow, and see if it works with Thunar and CVS.
Just el que estava buscant, vaig a provar-ho. :)

Leave your comment

Leave your comment
You need javascript to be activated on irder to leave comments

Login in OboLog, or create free blog if you don't have one yet.

Then we'll remember your data and show your avatar in your comments.

Sponsors

Comments

Nautilus subversion integration tool. Execute SVN commands with Gnome scripts (guillem)
Just el que estava buscant, vaig a provar-ho. :)...(12 May)
Are you addicted to all things Apple? (charlie)
sadly? i am also addicted to that dam apple brand, i currently own a from the bottom up... a 1st, 2n...(06 May)
De conferencias con una Psion 5mx (Paul Erice)
Hablando de 5mx, tengo una Ericsson 5mx (que es basicamente una Psion 5, y nunca he conseguido conec...(23 Apr)
Cómo reiniciar o resetear un ipod colgado (Carlos)
Muchas gracias. Funciona!!...(21 Apr)
Recovering space on an iphone or ipod touch (ka)
How to Login???...(08 Apr)

Login