LRE
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
List overview
Download
Projects
August 2006
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
projects@lrde.epita.fr
7 participants
24 discussions
Start a n
N
ew thread
build-farm 295: Enable Vaucanswig, to have the package distcheck
by Roland Levillain
2006-08-17 Roland Levillain <roland(a)lrde.epita.fr> * buildfarm_worker/package.fns (conf_vaucanson, conf_vaucanson-gcc4_0): Enable Vaucanswig, to have the package distcheck. Index: buildfarm_worker/package.fns =================================================================== --- buildfarm_worker/package.fns (revision 294) +++ buildfarm_worker/package.fns (revision 295) @@ -134,10 +134,10 @@ # vaucanson conf_vaucanson() { - self_config="--disable-vaucanswig" + self_config="--enable-vaucanswig" } conf_vaucanson-gcc4_0() { - self_config="--disable-vaucanswig" + self_config="--enable-vaucanswig" }
18 years, 4 months
1
0
0
0
build-farm 294: Fix the previous patch
by Roland Levillain
Index: ChangeLog =================================================================== --- ChangeLog (revision 293) +++ ChangeLog (revision 294) @@ -1,10 +1,15 @@ 2006-08-11 Roland Levillain <roland(a)lrde.epita.fr> + * buildfarm_worker/package.fns (conf_tc-maintainer, conf_tc): + Typo. + +2006-08-11 Roland Levillain <roland(a)lrde.epita.fr> + * buildfarm_worker/package.fns (conf_tc-maintainer, conf_tc): - New. + Pass --enable-shared to configure. * buildfarm_worker/build_test.fns (action_bootstrap): Run + autoreconf if no bootstrapping script is found. * buildfarm_worker/brasilia.fns: New. - autoreconf if no bootstrapping script is found. * maintainer/update_unpacked: Harden script. * web/build.pl (%hosts): Add brasilia. Index: buildfarm_worker/package.fns =================================================================== --- buildfarm_worker/package.fns (revision 293) +++ buildfarm_worker/package.fns (revision 294) @@ -123,13 +123,13 @@ conf_tc-maintainer() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" - self_config="--enabled-shared" + self_config="--enable-shared" } conf_tc() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" - self_config="--enabled-shared" + self_config="--enable-shared" } # vaucanson
18 years, 4 months
1
0
0
0
build-farm 293: Add brasilia to the pool of workers
by Roland Levillain
2006-08-11 Roland Levillain <roland(a)lrde.epita.fr> * buildfarm_worker/package.fns (conf_tc-maintainer, conf_tc): New. * buildfarm_worker/build_test.fns (action_bootstrap): Run * buildfarm_worker/brasilia.fns: New. autoreconf if no bootstrapping script is found. * maintainer/update_unpacked: Harden script. * web/build.pl (%hosts): Add brasilia. Index: maintainer/update_unpacked =================================================================== --- maintainer/update_unpacked (revision 291) +++ maintainer/update_unpacked (working copy) @@ -16,9 +16,10 @@ echo $package # Extract a fresh copy of the project. + rm -rf "$package.new" svn checkout -q "$url" "$package.new" - mv "$package" "$package.old" - mv "$package.new" "$package" + mv -f "$package" "$package.old" + mv -f "$package.new" "$package" rm -rf "$package.old" # Create a svn-revision file if needed. Index: web/build.pl =================================================================== --- web/build.pl (revision 284) +++ web/build.pl (working copy) @@ -41,6 +41,7 @@ # this defines what it is possible to build # and what boxes. Should be in a config file my (%hosts) = ( + 'brasilia' => "Debian GNU/Linux sid i386", 'marvejols' => "Debian GNU/Linux sid i386", 'antalya' => "Darwin 7.9 powerpc", 'caracas' => "Debian GNU/Linux sid i386", Index: buildfarm_worker/package.fns =================================================================== --- buildfarm_worker/package.fns (revision 284) +++ buildfarm_worker/package.fns (working copy) @@ -123,11 +123,13 @@ conf_tc-maintainer() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" + self_config="--enabled-shared" } conf_tc() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" + self_config="--enabled-shared" } # vaucanson Index: buildfarm_worker/build_test.fns =================================================================== --- buildfarm_worker/build_test.fns (revision 287) +++ buildfarm_worker/build_test.fns (working copy) @@ -309,7 +309,8 @@ ./bootstrap.sh return $? fi - return 51 + autoreconf -f -v -i + return $? } ############################ Index: buildfarm_worker/brasilia.fns =================================================================== --- buildfarm_worker/brasilia.fns (revision 0) +++ buildfarm_worker/brasilia.fns (revision 0) @@ -0,0 +1,29 @@ +# brasilia -*- shell-script -*- +# 2006-07-26: Temporarily added to the build farm to compile Vaucanson 1.0. + +clean_buildfarm + +CXX="ccache g++-3.4" +CC="ccache gcc-3.4" +# FIXME: Temporarily remove `demos'. +test_tree vaucanson bootstrap configure build demos install distcheck + +CC="ccache gcc-4.0" +CXX="ccache g++-4.0" +# FIXME: Temporarily remove `demos'. +test_tree vaucanson-gcc4.0 bootstrap configure build demos install distcheck + +# ICC 9.1 is no longer working on brasilia (the license has expired -- +# but non-commercial free versions of ICC 9.1 will be available on +# August 2006). Thus use ICC 9.0 from the `lrde' account. +CC="ccache icpc" +CXX="ccache icpc" +# Don't use CXXFLAGS, it's CPP and LD stuffs. +export CPPFLAGS="-D_LINUX -I/home/lrde/admin/lrde/usr/intel/compiler90/include/c++/" +export LDFLAGS="-cxxlib-icc" +export LD_LIBRARY_PATH=/home/lrde/admin/lrde/usr/intel/compiler90/include/lib/ +PATH=/home/lrde/admin/lrde/usr/intel/compiler90/bin:$PATH +# FIXME: Temp. disabled. +#test_tree vaucanson-icc bootstrap configure build demos install distcheck + +CXX=g++ Property changes on: cache ___________________________________________________________________ Name: svn:ignore + cache.*.* Property changes on: data ___________________________________________________________________ Name: svn:ignore + build.*.*.log Property changes on: unpacked ___________________________________________________________________ Name: svn:ignore + aterm* bison* boxedsdf boxed-sdf-exp c-grammar c-grammar-exp clsp contract-c cxx-basic cxx-grammar cxx-grammar-exp ddd esdf esdf-exp havm monoburg nolimips olena* ranch sdf2* sdf-astgen sdf-astgen-exp sdf-attribute sdf-attribute-exp sdf-detgen sdf-detgen-exp sdf-option sdf-option-exp specs-grammar strategoxt* str-lazy str-lazy-exp tc* transformers vaucanson*
18 years, 4 months
1
0
0
0
[LrdeTools] 292: Add svn-stats.
by Roland Levillain
https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
Ce script n'�tait enregistr� dans aucun d�p�t SVN. Index: ChangeLog from Roland Levillain <roland(a)lrde.epita.fr> Add svn-stats. * svn-stats/svn-stats: New. * svn-stats/README: New. README | 9 + svn-stats | 291 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 300 insertions(+) Index: svn-stats/svn-stats --- svn-stats/svn-stats (revision 0) +++ svn-stats/svn-stats (revision 0) @@ -0,0 +1,291 @@ +#! /usr/bin/perl -w +# +# Subversion statistics extractor - svn-stats +# Copyright (C) 2004, 2005, 2006 EPITA Research and Development Laboratory +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +# Author: +# Clement Vasseur <clement.vasseur(a)lrde.epita.fr> + +use strict; +use Time::Local; +use GD::Graph::hbars; +use GD::Graph::lines; +use GD::Graph::points; + +my $report_dir = "/tmp/stats"; + +my %proj = ( + Transformers => '
https://svn.lrde.epita.fr/svn/transformers
', + Vaucanson => '
https://svn.lrde.epita.fr/svn/vaucanson
', + Olena => '
https://svn.lrde.epita.fr/svn/oln
', + TC => '
https://svn.lrde.epita.fr/svn/tc
', + Havm => '
https://svn.lrde.epita.fr/svn/havm
', + Nolimips => '
https://svn.lrde.epita.fr/svn/nolimips
', + MonoBurg => '
https://svn.lrde.epita.fr/svn/monoburg
' +); + +my %alias = ( + 'elrond' => 'raph', + 'noe' => 'benoit', + 'adl' => 'duret_g', + 'pollux' => 'duret_g', + 'levill_r' => 'roland' +); + +my $current_week = &week_from_time(time); + +unless (-d $report_dir) { + system("/bin/mkdir -p \"$report_dir\"") + and die "$0: unable to mkdir `$report_dir'\n"; +} + +&print_css; + +open REPORT, ">$report_dir/index.html" + or die "$0: unable to open `$report_dir/index.html': $!\n"; + +select REPORT; + +print <<HTML; +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> + <title>LRDE Projects Activity</title> + <link rel="stylesheet" type="text/css" href="style.css" /> + </head> + <body> + <h1>LRDE projects activity statistics</h1> +HTML + +$| = 1; + +foreach (sort keys %proj) { + print STDOUT "$_\n"; + &commits($_, $proj{$_}); +} + +my $date = localtime; + +print <<HTML; + <h4>Automatically generated by <em>svn-stats</em> - $date</h4> + </body> +</html> +HTML +select STDOUT; +close REPORT; + +sub commits { + my ($name, $repository) = @_; + my @commits_week; + my %commits; + my $revision; + + my @log; + $commits_week[$current_week - 1] = 0; + + @log = `svn log -q \"$repository\"`; + + foreach (@log) { + next unless m/^r([^ ]+) \| ([\w \(\)-]+) \| (\d+)-(\d+)-(\d+)/; + print STDOUT '.'; + $revision = $1 unless defined $revision; + my $name = $2; + $name = $alias{$name} if defined $alias{$name}; + $commits{$name}++; + my $time = timegm(0, 0, 0, $5, $4 - 1, $3); + $commits_week[&week_from_time($time) - 1]++ if $3 eq '2006'; + } + print STDOUT "\n"; + + my @data; + my $max = 0; + foreach (sort { $commits{$b} <=> $commits{$a} } keys %commits) { + push @{$data[0]}, $_; + push @{$data[1]}, $commits{$_}; + $max = $commits{$_} if $commits{$_} > $max; + } + $max += 49; + $max -= $max % 50; + + &commits_per_contributor(\@data, "$report_dir/$name.1.png", $max); + +# @data = (); +# foreach (sort { $commits{$b} <=> $commits{$a} } keys %commits) { +# push @{$data[0]}, $_; +# push @{$data[1]}, $commits{$_}; +# } +# +# use Data::Dumper; +# print Dumper(\@data); +# +# &commits_per_contributor_per_week(\@data, "$report_dir/$name.3.png"); + + my $i = 1; + @data = (); + $max = 0; + foreach (@commits_week) { + $_ = 0 unless defined $_; + if ($_ < 170) { + push @{$data[0]}, $i; + push @{$data[1]}, $_; + $max = $_ if $_ > $max; + } + $i++; + } + + $max += 9; + $max -= $max % 10; + + &commits_per_week(\@data, "$report_dir/$name.2.png", $max); + + print <<HTML; + <h2>$name (<span style="color:green">$revision</span>)</h2> + <div> + <img src="$name.1.png" alt="$name 1" /> + <img src="$name.2.png" alt="$name 2" /> + </div> + <hr/> +HTML +} + +sub commits_per_contributor { + my ($data, $filename, $max) = @_; + my $graph = GD::Graph::hbars->new(600, 300); + + $graph->set( + y_label => 'Number of commits', + title => 'Commits per contributor', + dclrs => [ 'green' ], + valuesclr => 'black', + y_max_value => $max, + shadow_depth => 2, + bar_spacing => 3, + y_long_ticks => 1, + x_tick_length => 0, + show_values => 1, + transparent => '' + ) or die $graph->error; + + open IMG, ">$filename" + or die "$0: unable to open `$filename': $!\n"; + binmode IMG; + print IMG $graph->plot($data)->png; + close IMG; +} + +sub commits_per_week { + my ($data, $filename, $max) = @_; + my $graph = GD::Graph::lines->new(600, 300); + + $graph->set( + y_label => 'Number of commits', + x_label => 'Week in 2006', + title => 'Commits per week', + dclrs => [ 'red' ], + valuesclr => 'black', + y_max_value => $max, + shadow_depth => 2, + bar_spacing => 3, + y_long_ticks => 1, + show_values => 1, + transparent => '' + ) or die $graph->error; + + open IMG, ">$filename" + or die "$0: unable to open `$filename': $!\n"; + binmode IMG; + print IMG $graph->plot($data)->png; + close IMG; +} + +sub commits_per_contributor_per_week { + my ($data, $filename) = @_; + my $graph = GD::Graph::points->new(600, 300); + + $graph->set( + title => 'Commits per contributor and per week', + transparent => '' + ) or die $graph->error; + + open IMG, ">$filename" + or die "$0: unable to open `$filename': $!\n"; + binmode IMG; + print IMG $graph->plot($data)->png; + close IMG; +} + +sub week_from_time { + my $time = shift; + my $sday = 0; + my $day_offset = 0; + my ($year) = (localtime $time)[5]; + $year += 1900; + + while ($sday != 1) { + ($sday) = (localtime timelocal(0, 0, 0, 1 + $day_offset, 0, $year))[6]; + $day_offset++; + } + return int(((localtime $time)[7] + (8 - $day_offset)) / 7) + 1; +} + +sub month { + my %months = ( + Jan => 1, Feb => 2, Mar => 3, Apr => 4, May => 5, Jun => 6, + Jul => 7, Aug => 8, Sep => 9, Oct => 10, Nov => 11, Dec => 12 + ); + + my $m = shift; + return $months{$m}; +} + +sub print_css { + open CSS, ">$report_dir/style.css" + or die "$0: unable to open `$report_dir/style.css': $!\n"; + + print CSS <<CSS; +body { + text-align: center; + background-color: #EEEEEE; + font-family: Verdana, Helvetica, sans-serif; +} + +h1,h2,h3,h4,h5,h6 { + font-family: Verdana, Helvetica, sans-serif; + color: #003377; +} + +.left { text-align: left; } +table { margin-left:auto; margin-right:auto; } +h1,h4 { text-align: center; background-color: #CCCCFF; } +h3 { text-align: left; text-indent: 1em } +a { text-decoration: none; color: #003377; } +a:hover { text-decoration: underline; color: #003377; } +pre { text-align: left; font-family: Courier, monospace; } +tr { text-indent: 0em; text-align: center; } +td { text-indent: 0em; font-family: Verdana, Helvetica, sans-serif; } +tr.body { background-color: #E5E5E5; } +td.time { color: gray } +td.st_succeeded { color: green } +td.st_failed { color: red } +td.st_skipped { color: gray } +CSS + + close CSS; +} Property changes on: svn-stats/svn-stats ___________________________________________________________________ Name: svn:executable + * Index: svn-stats/README --- svn-stats/README (revision 0) +++ svn-stats/README (revision 0) @@ -0,0 +1,9 @@ +* svn-stats -*- outline -*- + +A script initially (and still) installed on marvejols that produces +statistics on commits to the Subversion repository of the LRDE. + +svn-stats is to be launched regularly, through cron; for instance, the +crontab of the user build on marjevols contains: + + 0 2 * * * /home/build/svn-stats && rsync -e "ssh -i /home/build/build_farm/id_dsa_build -l pm" -qr /tmp/stats/* goa::svn-stats/
18 years, 4 months
1
0
0
0
← Newer
1
2
3
Older →
Jump to page:
1
2
3
Results per page:
10
25
50
100
200