SVN Revision search "plugin" for Firefox, Chrome & Opera

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
gabrielilardi
Moderator Team
Posts: 873
Joined: Sat Sep 02, 2006 1:30 am
Location: Italy

SVN Revision search "plugin" for Firefox, Chrome & Opera

Post by gabrielilardi »

Hi all,
Frequently I need to check for the changes made in a specific commit (revision), it's easier when you use a search plugin, and also faster than Tortoise so here are the instructions:

Firefox:
1) go to %programfiles%\Mozilla Firefox\searchplugins
2) create a file called ROS Svn Search.src (name up to you, .src extension mandatory)
3) paste there this:

Code: Select all

<search 
 name="Search SVN Rev"
 method="GET"
 action="http://svn.reactos.org/viewcvs/reactos?view=rev&revision={searchTerms}"
 queryCharset="utf-8"
> 
</search>
4) Save the file and restart Firefox, that's it.

A Picture is worth a thousand words:
[ external image ]

Chrome by niski:
1) tool icon -> options
2) basics -> search engines -> manage button
3) then add
4) in the first two fields type svn and in the third

Code: Select all

http://svn.reactos.org/viewcvs/reactos?view=rev&revision=%s
5) then you'll be able to write svn nr_of_rev to open the page
niski
Translation Team
Posts: 9
Joined: Thu Jan 03, 2008 1:52 pm
Contact:

Re: SVN Revision search plugin for Firefox & Chrome

Post by niski »

Opera version:

Settings->Preferences (Ctrl+F12) -> "Search" tab -> "Add..." button

Name: svn
Keyword: svn
Adress:

Code: Select all

http://svn.reactos.org/viewcvs/reactos?view=rev&revision=%s
Click OK
SuperDog
Translation Team
Posts: 124
Joined: Tue Mar 04, 2008 2:52 am

Re: SVN Revision search plugin for Firefox, Chrome & Opera

Post by SuperDog »

Good idea, but calling this a plugin is an overkill. I was expecting a toolbar of some sort.
gabrielilardi
Moderator Team
Posts: 873
Joined: Sat Sep 02, 2006 1:30 am
Location: Italy

Re: SVN Revision search plugin for Firefox, Chrome & Opera

Post by gabrielilardi »

SuperDog wrote:Good idea, but calling this a plugin is an overkill. I was expecting a toolbar of some sort.
You are right, but this started for Firefox only and as you see from the directory where its stored, they call them "plug-in's", anyway I've quoted the plugin word to note that ;)
Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Re: SVN Revision search "plugin" for Firefox, Chrome & Opera

Post by Haos »

Works great on opera.
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: SVN Revision search "plugin" for Firefox, Chrome & Opera

Post by Black_Fox »

Another, just slightly less user-friendly way I use in Firefox (as I have Bugzilla in that quicksearch pane already :) ) is to create a bookmark with these properties:

Name: <anything you want>
Address: http://svn.reactos.org/svn/reactos?view=rev&revision=%s (including the "%s"!)
Tags: <anything you want>
Keywords: rev
Description: <anything you want>

Now you can write "rev 45813" into the address bar and the same website as Gabriel shows will open. You can of course change that keyword rev into revision or anything else, but I have more of these and tend to keep them short.
gabrielilardi
Moderator Team
Posts: 873
Joined: Sat Sep 02, 2006 1:30 am
Location: Italy

Re: SVN Revision search "plugin" for Firefox, Chrome & Opera

Post by gabrielilardi »

Black_Fox wrote:Another, just slightly less user-friendly way I use in Firefox (as I have Bugzilla in that quicksearch pane already :) ) is to create a bookmark with these properties:

Name: <anything you want>
Address: http://svn.reactos.org/svn/reactos?view=rev&revision=%s (including the "%s"!)
Tags: <anything you want>
Keywords: rev
Description: <anything you want>

Now you can write "rev 45813" into the address bar and the same website as Gabriel shows will open. You can of course change that keyword rev into revision or anything else, but I have more of these and tend to keep them short.
Nice, thanks! ;)
Post Reply

Who is online

Users browsing this forum: DotBot [Crawler] and 51 guests