Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24

Thread: SVN Log Searching

  1. #11
    Senior Member matt.chugg's Avatar
    Join Date
    Nov 2006
    Posts
    615

    Default

    Was this moved too when the SVN RSS feed moved to http://mattchugg.com/kolmafia/svnrss.php? I used it rarely but I found it very useful when needed.
    Originally Posted by slyz View Post
    It wasn't the old server was IIS I'm in the middle of converting it to php in my spare time, it will be back but probably not for a couple of weeks.

  2. #12
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    That would be nice, but by no means urgent. Thanks
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  3. #13
    Senior Member matt.chugg's Avatar
    Join Date
    Nov 2006
    Posts
    615

    Default

    OK, the basics are up, but it is by no means finished (nor was the original!), it pretty much does the same as the last one.

    When I get chance i'll add in file changes, links to the forum posts if possible, links to svn for files etc

    http://mattchugg.com/kolmafia/svn/


    The search functionality is a little improved although the number of results is always limited to 20 until I add an option in to specifiy.
    All search terms should be seperated with a space, the is no explicit matching using quotes.
    Search results are displayed in revision number DESCENDING order.

    Code:
    ten leaf clover
    will return the 20 latest revisions containing the words ten, leaf AND clover somewhere in the commit message.

    Code:
    clover author=veracity0
    will return the 10 latest revisions containg the word clover committed by Veracity


    Code:
    revision=1000
    will return revision 1000


    Code:
    clover author=veracity0 revision>1000
    will return the 10 latest revisions since build 1000 containg the word clover committed by Veracity

    etc, etc, etc. I'll be working on this more later!

  4. #14
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    That's great, thanks a lot!
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  5. #15
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,055

    Default

    This is wonderful! Thank you.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  6. #16
    Senior Member matt.chugg's Avatar
    Join Date
    Nov 2006
    Posts
    615

    Default

    I added file changes to the search results, with links to the relevant sf pages, that should (if people use it like I do) make it MUCH more useful.

  7. #17
    Senior Member
    Join Date
    May 2008
    Posts
    610

    Default

    Very nice. I do use this. I am curious though, why searching a number (such as a revision number) returns nothing ?

  8. #18
    Senior Member matt.chugg's Avatar
    Join Date
    Nov 2006
    Posts
    615

    Default

    Very nice. I do use this. I am curious though, why searching a number (such as a revision number) returns nothing ?
    Originally Posted by AlbinoRhino View Post
    because it is the commit message that is searched, you can use revision=xxxx to find a specific revision, and revision>xxxx revision<xxxx to refine searching to a specific revision range.
    Last edited by matt.chugg; 02-17-2012 at 02:43 PM.

  9. #19
    Senior Member
    Join Date
    May 2008
    Posts
    610

    Default

    because it is the commit message that is searched, you can use revision=xxxx to find a specific revision, and revision>xxxx revision<xxxx to refine searching to a specific revision range.
    Originally Posted by matt.chugg View Post
    I see. Thanks for the info !

  10. #20
    Senior Member matt.chugg's Avatar
    Join Date
    Nov 2006
    Posts
    615

    Default

    Minor update.

    Search now results in a copy/pastable url using a query string

    I fixed the broken diff links, I think.

    eg:

    http://mattchugg.com/kolmafia/svn/?q=author:roippi shows latest commits from roippi

    special searches:

    author=veracity0 OR author:veracity0 to specify authors
    revision=xxxx | revision>xxxx | revision<xxxx | revision:xxxx to sepcify specific or ranges of revisions.

    TODO:

    customise number of results,
    search by file name, file change types etc
    figure out best way to search for multiple ranges of revisions (SQL or instead of and somewhere)
    Last edited by matt.chugg; 06-12-2012 at 12:21 PM.

Similar Threads

  1. Help Searching The Forums
    By Raven434 in forum Community Support
    Replies: 4
    Last Post: 10-16-2010, 02:47 AM
  2. Suppression of Searching for.... messages
    By Spiny in forum Scripting Discussion
    Replies: 5
    Last Post: 09-17-2009, 05:53 PM
  3. searching through inventory (the easy way?)
    By razorboy in forum Scripting Discussion
    Replies: 10
    Last Post: 08-19-2009, 12:26 AM
  4. Bug? searching for asbestos ore
    By aardvarko in forum Community Support
    Replies: 1
    Last Post: 08-13-2007, 04:50 PM
  5. Searching the Mall
    By pib in forum Scripting Discussion
    Replies: 2
    Last Post: 09-23-2006, 02:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •