Jump to content


Photo

Idea: Svn Log On Main Site


  • Please log in to reply
5 replies to this topic

#1 misiek

misiek

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 04 March 2008 - 10:38 AM

Hello,

I think it would be nice to have svn log (from XNA branch) on main site - this way anybody who enters PX site can see that PX is actively developed without checking forum or svn repository. Something like that is on:

http://scourgeweb.org/tiki-index.php

#2 kafros

kafros

    Creative Text Department

  • Xenocide Creative-Text Departmen
  • 1,800 posts

Posted 04 March 2008 - 12:34 PM

http://gr2.php.net/svn

http://pecl.php.net/package/svn

Although it's a nice feature to add to our php pages, it'll definitely need some work, some by the admin :\. I can't say anything on that matter, maybe a senior could comment

Thanks for the idea :)

#3 misiek

misiek

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 04 March 2008 - 01:07 PM

There is also another way to do this (without PHP support for SVN), but i don't know if it's possible on PX server.

You can launch svn command periodically (for example every 1 hour in cron) to get svn log, and save it to some file:

svn log http://svn.projectxe...e.com/xenocide/ --limit 5 > /tmp/svn.log

In php script just open that file and put it into generated page.

svn log has also option for generating xml output (--xml parameter) - can be useful for formatting output in php.

#4 kafros

kafros

    Creative Text Department

  • Xenocide Creative-Text Departmen
  • 1,800 posts

Posted 04 March 2008 - 06:56 PM

Aha I see :)
Once again though it needs access on the "svn server", that's something only 2-3 people can do and they don't pass by often ^^
Otherwise it would be nice to experiment with it :D

#5 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 04 March 2008 - 11:00 PM

Aha I see :)
Once again though it needs access on the "svn server", that's something only 2-3 people can do and they don't pass by often ^^
Otherwise it would be nice to experiment with it :D

PM them.
Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#6 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 06 March 2008 - 05:35 AM

Really there is only 2 :) (I do not count as the third ;) ). The only thing that you need is to give the .php invoke permissions on svn command :)

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.