online SVN information October 08, 2009, 11:10:09 am Hello,I have had this idea for a while... and then went and made it reality Well, I have a sample output for Simutrans code repository.What do you think? What would you change? Obviously this could be a rss feed as well...(Keep in mind this is meant just to keep people updated on progress, not a web interface like sourceforge has!)All code and other parts can be found here. So far it is still proof of concept more than the final thing. But the foundation is there - connect, retrieve information, print a nice file and handle errors on the fly. I can imagine some bookmarking to reduce data transfers might be added in final version, but that is pretty much the only thing. Rather some smart filtering of dates to keep the log reasonably recent and long...The script does not run as a repository post-commit handler but rather a completely standalone program. The sample output will not update itself, just stay there... the process will be similar to making nightlies. Quote Selected
Re: online SVN information Reply #2 – October 08, 2009, 11:26:02 am Good idea, nice and simple An RSS feed would be very welcome, nice way to keep abreast of progress! Quote Selected
Re: online SVN information Reply #3 – October 08, 2009, 04:11:31 pm If this is easily maintainable and accessible, it's really helpful! Quote Selected
Re: online SVN information Reply #4 – October 21, 2009, 07:29:25 pm I have a small problem... how should the whole page/site look like? The lists themselves are pretty much finished, but I need some sort of "glue" that would lead a reader to them and I don't want it to be as hideous as possible Can you please suggest some layout and what the overall design/feeling should be like? I have no problem doing something, just no idea what.The obvious solution is frameset, which in this case would be IMO more than justified... but if you can think of anything else, tell me!Otherwise it's ready to go online, ****uming Werner can run the script once a day, like nightly builds. Quote Selected
Re: online SVN information Reply #5 – October 21, 2009, 08:58:51 pm We also need to consider the integration of online SVN information with simutrans.com (which is being updated slowly) in order to facilitate the visits.Ideas for layout: I don't have any. We have a lot of styles in our sites, maybe one will fit, specially made for developer and onlookers. Quote Selected
Re: online SVN information Reply #6 – October 21, 2009, 09:51:17 pm Aww come on! I'll make it extra ugly and then everyone will cry and complain Well, according to a famous Half-life parody on youtube: QuoteIf you don't give in to my demands, -TOO LATE!!! *kaboom*http://svnlogs.simutrans.com/Now let's hope Werner lives Quote Selected Last Edit: October 22, 2009, 07:53:48 am by VS
Re: online SVN information Reply #7 – October 22, 2009, 08:19:22 am This looks very usefull.Can you put the alt and title tag into the site? I think, somebody don't know what the images means. Quote Selected
Re: online SVN information Reply #8 – October 22, 2009, 05:22:43 pm Not sure which part is missing that? The little icons in logs? They should all have as alt the letter SVN uses to describe the action and as title the actual word... like this:svn says QuoteM trunk/dataobj.cc->page should have Code: [Select]<td><img src="img/M.png" alt="M" title="modified"></td><td>trunk/dataobj.cc</td> Quote Selected
Re: online SVN information Reply #9 – October 23, 2009, 01:01:15 am EXCELLENT!Now it would be nice if these linked to a diff view. Quote Selected
Re: online SVN information Reply #10 – October 23, 2009, 11:07:06 am Unfortunately that is outside scope for this project. What I wanted is to have some "current work log" for the wide public.The difference between parsing log output from client and retrieving whole diffs is really big. There is no easy way to get them except for real integration.Sourceforge should have complete browsing of repositories, so at least pak64 and pak128.Britain can be explored in that detail online.EDIT: Most of the limitations come from how this works - offline script generates static pages and they are uploaded. If you feel like rewriting this all, go ahead - here's the source. Quote Selected Last Edit: October 23, 2009, 11:39:06 am by VS
Re: online SVN information Reply #11 – October 23, 2009, 11:50:28 am There are lots of tools like trac and doxygen; but they generate a lot of pages. Considering that the SVN runs on a private computer (since only there the desired hooks work) and does use actually the svn protokoll and not over http as sourcefore, itegration with said tools is unlikely. But you can install doxygen on your computer and generate it locally. Quote Selected
Re: online SVN information Reply #12 – October 24, 2009, 03:53:22 am Hi,the SVN mirror on github.com provides a web page (and feed) for the commits. From there you can also view a diff for each commit.See http://github.com/aburch/simutrans/commits/masterRegards,Ansgar Quote Selected
Re: online SVN information Reply #13 – November 15, 2009, 02:23:36 pm Hello,this site is useful, but i have a problem.My RSS feed reader (Feed Sidebar for firefox) say allways, there are new news in the feed, but the feed is still the same.This occurs by the simutrans program feed and by the pak128 feed. These two feed are the only one where this occures.The feeds, who link to sourceforge don't show this.But if I want to go to the linked site, i get an 404 error.I hope this information help you.jonasbb Quote Selected
Re: online SVN information Reply #14 – November 15, 2009, 10:44:33 pm When making the feeds I used rss forum specification, which says some things and leaves out some.1) linksWhat happens with links is that in fact there are no links, but your reader wants to be smart and shows the item's unique id as a link because they are often the same. However the id I use is subversion address, not http/www. Or maybe it is confused by seeing it has @ in it and thinks it is email. Which is again doing more than needed.This can be fixed by adding link to the web page to all items.2) statusOops, I always add empty time Sorry.I will try to add this to changes tomorrow... Quote Selected
Re: online SVN information Reply #15 – November 16, 2009, 04:30:41 pm Quote from: VS – on November 15, 2009, 10:44:33 pmWhat happens with links is that in fact there are no links, but your reader wants to be smart and shows the item's unique id as a link because they are often the same. However the id I use is subversion address, not http/www. Or maybe it is confused by seeing it has @ in it and thinks it is email. Which is again doing more than needed.If I want to open https://simutrans.svn.sourceforge.net/svnroot/simutrans/pak64@231 in FF then I get a 404 ERROR.Also if i tip in the address to the address bar. Quote Selected
Re: online SVN information Reply #16 – November 16, 2009, 04:45:54 pm Might be the "@" - I have never seen that outside of email adresses... Quote Selected
Re: online SVN information Reply #17 – November 16, 2009, 08:03:10 pm The @ is svn notation for revision number - its complete URI looks like protocol://server/path@revAnd the problem is as I stated - essentially your program does not find apples so it looks elsewhere and puts bananas instead of apples... but that does not compute The corrected script is attached, let's hope Werner can replace it soon. Quote Selected
Re: online SVN information Reply #18 – November 25, 2009, 05:32:59 am Ripper, let me know when and where I can subscribe. Quote Selected