STR #2806

   
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Bugs & Features  ]
 

Return to Bugs & Features | Post Text | Post File | Prev | Next ]

STR #2806

Application:FLTK Web Site
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:None
Summary:Display svn commit activity on the web page
Version:Web Site
Created By:engelsman
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size
  engelsman
09:53 Feb 10, 2012
fltk.py
0k
 
  engelsman
09:54 Feb 10, 2012
fltk.gnuplot
0k
 
  engelsman
09:54 Feb 10, 2012
fltk-1.0.png
0k
 
  engelsman
09:54 Feb 10, 2012
fltk-1.1.png
0k
 
  engelsman
09:54 Feb 10, 2012
fltk-1.2.png
0k
 
  engelsman
09:54 Feb 10, 2012
fltk-1.3.png
0k
 
  engelsman
09:55 Feb 10, 2012
fltk-2.0.png
0k
 
  engelsman
09:55 Feb 10, 2012
fltk-3.0.png
0k
 
  engelsman
02:41 Feb 11, 2012
fltk-all-overwrite.png
0k
 
  engelsman
02:41 Feb 11, 2012
fltk-all-parallel.png
0k
 
  engelsman
11:12 Feb 13, 2012
fltk-all-stacked.gnuplot
0k
 
  engelsman
11:13 Feb 13, 2012
fltk-all-stacked.png
0k
 
  engelsman
10:49 Apr 25, 2012
fltk-commits-2012-04-25.png
0k
 
  engelsman
08:23 Dec 16, 2012
fltk-commits-2012-12-16.png
0k
 
 

Trouble Report Dialog:

Post Text ]
Name/Time/Date Text
  engelsman
09:53 Feb 10, 2012
Despite there being a "What are the Versions of FLTK?" article to help
guide people towards actively developed versions, there are still many
new users who want to start new developments on FLTK-2.

It would be useful if we could illustrate the Versions article with
statistics or graphics showing activity on each version, based on the
svn commit logs. Such graphics would only need to be updated weekly
or even monthly.

I've hacked together a proof of concept python script to extract the
info, and a gnuplot command file to generate some graphs.

I'm also curious to see whether the Versions article can link to them.
 
  engelsman
10:13 Feb 10, 2012
w00t! it certainly does! Now I suppose I have to keep them up-to-date.
http://www.fltk.org/articles.php?L825
D.
 
  AlbrechtS
10:26 Feb 10, 2012
Looks pretty. Maybe the pictures are somewhat too big, a little smaller would need less scrolling, but the graphics are impressing.

Well done, thanks.
 
  engelsman
02:36 Feb 11, 2012
Yes, maybe you are right that the plots are too big for the article.
If I ever update them in the future, I could reduce the height.

The best would be to plot the all versions on the same graph, but if
we go back to June 1998 there would be too many columns to be readable.
And anyway, I haven't found a way of getting gnuplot to do that. All
I have been able to manage is successive plots overwriting the first.

The alternative is to have separate plots on the same page. I fiddled
around with sizes and origins but gnuplot's png output driver does some
weird rounding, so it's hard to get the parallel plots to be consistent.
 
  AlbrechtS
02:51 Feb 13, 2012
I like fltk-all-parallel.png. Is it possible to make the lines a little wider, or make it a bar graph, like the first example in Fl_Chart?
http://www.fltk.org/doc-1.3/classFl__Chart.html

I assume this is only a little change in setting up the graph in gnuplot?
 
  duncan.gibson
04:44 Feb 13, 2012
Well, gnuplot has some really neat features, but this ain't one of them.
The "with boxes" option gives box outlines rather than filled boxes, and
although I could probably overload the line width so that "with impulses"
gives something chunkier, I'm not sure how wide it will go, and it may
also be dependent on which terminal driver is in use.

I don't think I'll have time to tinker with this until later in the week.

For info: http://t16web.lanl.gov/Kawano/gnuplot/intro/style-e.html#boxes
 
  ianmacarthur
04:48 Feb 13, 2012
I'm no gnuplot expert, but I'm pretty sure it can do filled boxes...

Um, ok, this suggests that it can:

http://gnuplot.sourceforge.net/demo_cvs/fillstyle.html

The key stanza seems to be...

set style fill solid 1.0

Does that help?
 
  duncan.gibson
05:04 Feb 13, 2012
And all this time I thought that the "not so frequently asked questions"
gnuplot tutorial was one of the better ones :-(

but then again, maybe the author doesn't use the drivers that support
filled boxes.

If I have time, I may look at this again later in the week.

This was only supposed to be a proof-of-concept anyway, and it would be
better if the plots could be generated automatically on the [new] server,
otherwise I will have to attach new ones to the STR system each time as
well as update the Versions article with the new path(s).

Maybe the proposed new *.de server offers something like this as part
of the source hosting services. Does anyone know what's available?
 
  duncan.gibson
05:39 Feb 13, 2012
Hmm! looks like I would be better off adapting the "Stacked plot demo" at
the bottom of http://gnuplot.sourceforge.net/demo_cvs/layout.html

Thanks for reminding me about this set of examples Ian.
 
  AlbrechtS
05:52 Feb 13, 2012
WRT layout: Ian, thanks for the link - I'd vote for the "Filled boxes of reduced width" or "Filled boxes at 50% fill density" style or something like the latter.

WRT updating images and links: We could put the images in the website subversion repository, so that they could be *replaced* by svn commit (and running the "Update the website" script, which all dev's can do). Mike could better tell us about the capabilities of the current server (i.e. about cron jobs, installed software, etc.).

WRT new server: IIRC the new *.de server should have a similar or same environment, so that we can copy all we have, w/o having to make any changes. Mike's alternate proposal (github) would be different, though. I have no idea whether there is any progress with the new server (testing?).
 
  AlbrechtS
05:57 Feb 13, 2012
Yeah, that "stacked plot demo" looks good, too. I sent my previous reply before I saw yours, Duncan - my comment was not meant to object to your suggestion...  
  duncan.gibson
06:21 Feb 13, 2012
I do most gnuplot'ing at work where we have CentOS 5.7 with gnuplot 4.0
which dates back to 2004, so I wasn't up-to-date with the latest gizmos.

I did wonder whether the plot(s) could be stored on the site, after all
there is the Screenshots tab with images so it must be possible, but I
have always been worried about screwing up the site with a bad commit.

To enable any dev to generate the plot(s), I will need to generate some
documentation and tidy up the scripts. I suggest we wait until after I've
done that and everyone has had a chance to play with them and comment
before we look at whether it's possible to generate plots automatically.

Next week is school half-term, so I can only work on this after that...
 
  engelsman
11:18 Feb 13, 2012
So the stacked multiplot option does work, and with filled boxes,
but unfortunately with the x11 or png drivers setting the boxwidth
to 0.8 gives the equivalent of "impulses" and a value of 1.0 (or
letting it default) gives an ugly chunky smear.

I'm going to leave it there for the next two weeks at least...
 
  engelsman
05:16 Mar 24, 2012
I updated Article #825 to show fltk-all-stacked.png instead of all
of the others, even though it's not been updated since February.
Don't know when I will have time to look at this further :-(
 
  engelsman
08:30 Dec 16, 2012
Yes, I know that I could have posted the new image directly on the
site, but I was under the impression that Mike was looking for a new
host for fltk.org, so I've been waiting to see what happens there.

PS. I've also been having problems connecting to the forums via http:
"Error: 400 Server has too many connections open -- try again later"
and this has been getting more frequent over the last few weeks even
though access to the rest of the site seems unaffected. Is there some
glitch, or is this one of the reasons for Mike's new host request?
 
 
 
 

Comments are owned by the poster. All other content is copyright 1998-2012 by Bill Spitzak and others. This project is hosted by Easy Software Products. Please report site problems to 'webmaster@easysw.com'.