gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RSS feed for GNUstep SVN repository?


From: Derek Zhou
Subject: Re: RSS feed for GNUstep SVN repository?
Date: 29 Mar 2006 11:05:44 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

A somewhat related question:
svn's revision number is incremented for every commit to the whole
repository. So how does one find out the next real commit to a specific
project, (like base, make)? I guess I can make a script to increment
my local revision one by one and parse the svn output to find out if
things are really changed or not; this just doesn't sound very
elegent. 
What I am trying to do is to make a post-commit hook at a (read only)
client side using a cron job. Althought this is not real time, it
still can be helpful for some tasks. 
Derek
 
  
Richard Frith-Macdonald <address@hidden> writes:

> On 25 Mar 2006, at 16:52, Andrew Ruder wrote:
> 
> > On Sat, Mar 25, 2006 at 07:27:46AM +0000, Richard Frith-Macdonald
> > wrote:
> >> --- snip ---
> >> address@hidden:(~)$ ls -lA /svn/repos/dragon/hooks
> >> total 4
> >> -rwxr-xr-x  1 root root 333 Feb 15 21:05 post-commit
> >> address@hidden:(~)$ cat /svn/repos/dragon/hooks/post-commit
> >> #!/bin/sh
> >>
> >> REPNAME="dragon"
> >> LOGFILE="/www/webdav.operatelecom.com/html/logs/${REPNAME}.log"
> >> RSS="/www/webdav.operatelecom.com/html/logs/${REPNAME}.rss"
> >>
> >> /svn/bin/SVNTransactionDetailLogAppender.py $1 $2 $LOGFILE
> >> /svn/bin/SVNTransactionDetailLogRDFGenerator.py $REPNAME https://
> >> webdav.operatelecom.com/${REPNAME} $LOGFILE $RSS
> >> exit 0
> >> --- snap ---
> >>
> >> The scripts can be found at: http://svn.mulle-kybernetik.com/
> >> SVNTools/
> >> trunk/
> >
> > That would be cool, but I'm not sure we have any sort of access to the
> > actual repository to add in the post-commit hook.  (i.e. you can't add
> > that with only svn:// or svn+ssh:// access).
> 
> I assume d the gnustep-cvs mailing list used a postcommit hook ... is
> that a standard feature set up by the people at gna.org then?
> If so, perhaps we should suggest RSS to them ... they might be
> interested in providing it for all projects.  Do you know who we
> could contact?
> 
> > Could probably just as
> > easily write some scripts that grab the same info every few hours
> > remotely and feed it to the RDF generator.  Would be handy...
> 
> I suppose so ... though I'm not sure how to efficiently find changes,
> and while I could do it for myself when my machine is running ... I
> don't have a 24*7 server that I could leave it on for public access :-(
> 
> 
> 
> 
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnustep-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]