From a0c0dd857bc190663ad16a242f435c92fdaef94f Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 31 Dec 2009 23:05:31 +0100 Subject: [PATCH] Update downloads --- docs/home-page/en/bacula.css | 28 + docs/home-page/en/inc/header.php | 2 +- docs/home-page/en/pages/downloads.php | 708 +++++++++++++++----------- docs/tools/sf2bacula_downloads.pl | 29 +- 4 files changed, 455 insertions(+), 312 deletions(-) diff --git a/docs/home-page/en/bacula.css b/docs/home-page/en/bacula.css index 028ab369..d0cdfe88 100644 --- a/docs/home-page/en/bacula.css +++ b/docs/home-page/en/bacula.css @@ -164,6 +164,34 @@ td.content { line-height: 22px; } +tr.title { + padding-right: 5px; + padding-left: 5px; + color: #ffffff; + font-weight: bold; + background-color: #002244; + line-height: 18px; +} + +tr.odd { + padding-right: 5px; + padding-left: 5px; + color: black; +/* background-color: #749aba; */ + background-color: #a6bed2; + +} + +tr.even { + padding-right: 5px; + padding-left: 5px; + color: black; + background-color: #e4ecf1; +} + + + + /****************************************************************************/ div.login { diff --git a/docs/home-page/en/inc/header.php b/docs/home-page/en/inc/header.php index de856f1c..c97c777a 100644 --- a/docs/home-page/en/inc/header.php +++ b/docs/home-page/en/inc/header.php @@ -51,7 +51,7 @@ - + diff --git a/docs/home-page/en/pages/downloads.php b/docs/home-page/en/pages/downloads.php index 7089e1d4..064590b8 100644 --- a/docs/home-page/en/pages/downloads.php +++ b/docs/home-page/en/pages/downloads.php @@ -3,426 +3,532 @@ -
- Bacula downloads for version 3.0.2 + Bacula downloads for version 3.0.3
- Release Notes |  - ChangeLog |  + Release Notes |  + ChangeLog |  Sources |  Win32/64 |  RPM |  Public Key |  RPM Public Key -
bacula

- - + -
NameSignatureSizeDate

bacula: + + + + + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + +
NameSignatureSizeDateDownloads
bacula-3.0.3.tar.gzsig3.9 MB2009-10-1811,854
bacula-3.0.2.tar.gzsig3.7 MiBSun Jul 19 2009 15:25
bacula-docs-3.0.3.tar.bz2sig49.9 MB2009-10-181,862
bacula-docs-3.0.2.tar.bz2sig43.8 MiBSun Jul 19 2009 15:34
bacula-gui-3.0.3.tar.gzsig834.6 KB2009-10-183,318
bacula-gui-3.0.2.tar.gzsig812.6 KiBSun Jul 19 2009 15:25
bacula-regress-3.0.3.tar.gzsig825.2 KB2009-10-181,060
bacula-rescue-3.0.2.tar.gzsig2.9 MiBSun Jul 19 2009 15:25
bacula-rescue-3.0.3.tar.gzsig3.0 MB2009-10-181,313
Win32_64

- - + -
NameSignatureSizeDate

Win32_64: + + + + + + + + + + - - - - - + + + + + + - - - - - + + + + + +
NameSignatureSizeDateDownloads
ReleaseNotessig1.2 KB2009-10-182,201
win64bacula-3.0.2.exesig2.3 MiBSun Jul 19 2009 14:00
win64bacula-3.0.3.exesig2.4 MB2009-10-182,212
winbacula-3.0.2.exesig11.2 MiBSun Jul 19 2009 13:58
winbacula-3.0.3.exesig11.8 MB2009-10-1810,122
rpms

- - - - - - - - + -
NameSizeDate
Release_Notes-3.0.2-1.txt13.8 KiBSun Jul 26 2009 17:15
rpms: + + + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + +
NameSizeDateDownloads
bacula-3.0.3-1.src.rpm35.8 MB2009-11-15798
bacula-3.0.2-1.src.rpm31.5 MiBSun Jul 26 2009 15:58
bacula-bat-3.0.3-1.fc10.i386.rpm689.7 KB2009-11-15221
bacula-bat-3.0.2-1.fc10.i386.rpm674.4 KiBSun Jul 26 2009 15:58
bacula-bat-3.0.3-1.fc9.i386.rpm756.6 KB2009-11-1583
bacula-bat-3.0.2-1.fc9.i386.rpm739.7 KiBSun Jul 26 2009 15:58
bacula-bat-3.0.3-1.su103.i586.rpm655.0 KB2009-11-1557
bacula-bat-3.0.2-1.su103.i586.rpm639.5 KiBSun Jul 26 2009 15:58
bacula-bat-3.0.2-1.su110.i586.rpm556.0 KiBSun Jul 26 2009 15:58
bacula-bat-3.0.3-1.su110.i586.rpm569.4 KB2009-11-1549
bacula-bat-3.0.2-1.su111.i586.rpm554.5 KiBSun Jul 26 2009 15:58
bacula-bat-3.0.3-1.su111.i586.rpm567.9 KB2009-11-15155
bacula-client-3.0.2-1.fc10.i386.rpm21.2 MiBSun Jul 26 2009 16:01
bacula-client-3.0.3-1.fc10.i386.rpm25.1 MB2009-11-15150
bacula-client-3.0.2-1.fc9.i386.rpm21.6 MiBSun Jul 26 2009 16:04
bacula-client-3.0.3-1.fc9.i386.rpm25.5 MB2009-11-1594
bacula-client-3.0.2-1.su103.i586.rpm21.1 MiBSun Jul 26 2009 16:07
bacula-client-3.0.3-1.su103.i586.rpm24.9 MB2009-11-1577
bacula-client-3.0.2-1.su110.i586.rpm20.7 MiBSun Jul 26 2009 16:10
bacula-client-3.0.3-1.su110.i586.rpm24.3 MB2009-11-1541
bacula-client-3.0.2-1.su111.i586.rpm20.7 MiBSun Jul 26 2009 16:13
bacula-client-3.0.3-1.su111.i586.rpm24.3 MB2009-11-15137
bacula-mtx-3.0.2-1.fc10.i386.rpm91.1 KiBSun Jul 26 2009 16:13
bacula-mtx-3.0.3-1.fc10.i386.rpm93.4 KB2009-11-1577
bacula-mtx-3.0.2-1.fc9.i386.rpm121.1 KiBSun Jul 26 2009 16:13
bacula-mtx-3.0.3-1.fc9.i386.rpm124.1 KB2009-11-1534
bacula-mtx-3.0.2-1.su103.i586.rpm78.0 KiBSun Jul 26 2009 16:13
bacula-mtx-3.0.3-1.su103.i586.rpm80.0 KB2009-11-1533
bacula-mtx-3.0.2-1.su110.i586.rpm52.4 KiBSun Jul 26 2009 16:13
bacula-mtx-3.0.3-1.su110.i586.rpm53.8 KB2009-11-1538
bacula-mtx-3.0.2-1.su111.i586.rpm52.6 KiBSun Jul 26 2009 16:13
bacula-mtx-3.0.3-1.su111.i586.rpm53.9 KB2009-11-1599
bacula-mysql-3.0.2-1.fc10.i386.rpm22.2 MiBSun Jul 26 2009 16:16
bacula-mysql-3.0.3-1.fc10.i386.rpm26.1 MB2009-11-15148
bacula-mysql-3.0.2-1.fc9.i386.rpm22.8 MiBSun Jul 26 2009 16:19
bacula-mysql-3.0.3-1.fc9.i386.rpm26.7 MB2009-11-1560
bacula-mysql-3.0.2-1.su103.i586.rpm21.8 MiBSun Jul 26 2009 16:22
bacula-mysql-3.0.3-1.su103.i586.rpm25.7 MB2009-11-1553
bacula-mysql-3.0.2-1.su110.i586.rpm21.2 MiBSun Jul 26 2009 16:25
bacula-mysql-3.0.3-1.su110.i586.rpm24.8 MB2009-11-1546
bacula-mysql-3.0.2-1.su111.i586.rpm21.2 MiBSun Jul 26 2009 16:27
bacula-mysql-3.0.3-1.su111.i586.rpm24.8 MB2009-11-15136
bacula-postgresql-3.0.2-1.fc10.i386.rpm22.2 MiBSun Jul 26 2009 16:30
bacula-postgresql-3.0.3-1.fc10.i386.rpm26.2 MB2009-11-1545
bacula-postgresql-3.0.2-1.fc9.i386.rpm22.8 MiBSun Jul 26 2009 16:34
bacula-postgresql-3.0.3-1.fc9.i386.rpm26.7 MB2009-11-1524
bacula-postgresql-3.0.2-1.su103.i586.rpm21.8 MiBSun Jul 26 2009 16:37
bacula-postgresql-3.0.3-1.su103.i586.rpm25.7 MB2009-11-1519
bacula-postgresql-3.0.2-1.su110.i586.rpm21.2 MiBSun Jul 26 2009 16:39
bacula-postgresql-3.0.3-1.su110.i586.rpm24.8 MB2009-11-1516
bacula-postgresql-3.0.2-1.su111.i586.rpm21.2 MiBSun Jul 26 2009 16:42
bacula-postgresql-3.0.3-1.su111.i586.rpm24.8 MB2009-11-1532
bacula-sqlite-3.0.2-1.fc10.i386.rpm23.0 MiBSun Jul 26 2009 16:45
bacula-sqlite-3.0.3-1.fc10.i386.rpm26.9 MB2009-11-1536
bacula-sqlite-3.0.2-1.fc9.i386.rpm23.9 MiBSun Jul 26 2009 16:49
bacula-sqlite-3.0.3-1.fc9.i386.rpm27.9 MB2009-11-1522
bacula-sqlite-3.0.2-1.su103.i586.rpm22.8 MiBSun Jul 26 2009 16:52
bacula-sqlite-3.0.3-1.su103.i586.rpm26.7 MB2009-11-1516
bacula-sqlite-3.0.2-1.su110.i586.rpm22.2 MiBSun Jul 26 2009 16:55
bacula-sqlite-3.0.3-1.su110.i586.rpm25.9 MB2009-11-1520
bacula-sqlite-3.0.2-1.su111.i586.rpm22.2 MiBSun Jul 26 2009 16:58
bacula-sqlite-3.0.3-1.su111.i586.rpm25.9 MB2009-11-1552
bacula-updatedb-3.0.2-1.i386.rpm38.0 KiBSun Jul 26 2009 16:58
bacula-updatedb-3.0.3-1.i386.rpm38.1 KB2009-11-15116
rpms-contrib-fschwarz

- - + -
NameSizeDate

rpms-contrib-fschwarz: + +
NameSizeDateDownloads
rpms-contrib-psheaffer

- - - - - - - - + + + + + + + diff --git a/docs/tools/sf2bacula_downloads.pl b/docs/tools/sf2bacula_downloads.pl index 57a78a0a..24123add 100755 --- a/docs/tools/sf2bacula_downloads.pl +++ b/docs/tools/sf2bacula_downloads.pl @@ -50,24 +50,31 @@ open(FP, $file); while (my $l = ) { # cat vers file - if ($l =~ m!href="(/projects/bacula/files/(.+?)/(.+?)/(.+?)/download)"!) { + if ($l =~ m!href="(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)"!) { $cur = { dl => $1, cat => $2, vers => $3, - file => $4, + file => $4 }; } - # the size and the date are just after + # the size, date, and downloads are just after if ($cur && $l =~ m!!) { $cur->{size} = $1; do { $l = ; - if ($l =~ m!!) { + if ($l =~ m!!) { $cur->{date} = $1; } } while (!$cur->{date}); + do { + $l = ; + if ($l =~ m!!) { + $cur->{downloads} = $1; + } + } while (!$cur->{downloads}); + # once we have a full $cur element, we can store it if (!exists $seen{$cur->{file}}) { @@ -103,6 +110,7 @@ print ' '; my $cat = 'bacula'; +my $row = 'odd'; #use Data::Dumper; #print Data::Dumper::Dumper(\%cats); @@ -114,7 +122,7 @@ sub print_cat @@ -151,4 +161,3 @@ print '
NameSizeDate
bacula-updatedb-3.0.2-1.x86_64.rpm21.2 KiBMon Jul 27 2009 05:51
rpms-contrib-psheaffer: + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + + +
NameSizeDateDownloads
bacula-bat-3.0.3-1.su103.x86_64.rpm670.2 KB2009-11-16159
bacula-sqlite-3.0.2-1.su110.x86_64.rpm22.3 MiBMon Jul 27 2009 05:51
bacula-bat-3.0.3-1.su110.x86_64.rpm581.5 KB2009-11-1642
bacula-bat-3.0.3-1.su111.x86_64.rpm579.9 KB2009-11-16131
bacula-client-3.0.3-1.su110.x86_64.rpm24.3 MB2009-11-1693
bacula-client-3.0.3-1.su111.x86_64.rpm24.3 MB2009-11-16149
bacula-postgresql-3.0.2-1.su110.x86_64.rpm21.2 MiBMon Jul 27 2009 05:49
bacula-mtx-3.0.3-1.su103.x86_64.rpm87.5 KB2009-11-1654
bacula-mysql-3.0.2-1.su110.x86_64.rpm21.2 MiBMon Jul 27 2009 05:47
bacula-mtx-3.0.3-1.su110.x86_64.rpm59.4 KB2009-11-1635
bacula-mtx-3.0.2-1.su110.x86_64.rpm57.7 KiBMon Jul 27 2009 05:46
bacula-mtx-3.0.3-1.su111.x86_64.rpm59.3 KB2009-11-1688
bacula-client-3.0.2-1.su110.x86_64.rpm20.7 MiBMon Jul 27 2009 05:46
bacula-mysql-3.0.3-1.su103.x86_64.rpm25.8 MB2009-11-1689
bacula-bat-3.0.2-1.su110.x86_64.rpm567.6 KiBMon Jul 27 2009 05:44
bacula-mysql-3.0.3-1.su110.x86_64.rpm24.9 MB2009-11-1642
bacula-bat-3.0.2-1.su110.x86_64.rpm567.6 KiBMon Jul 27 2009 05:44
bacula-mysql-3.0.3-1.su111.x86_64.rpm24.9 MB2009-11-16125
bacula-client-3.0.2-1.su110.x86_64.rpm20.7 MiBMon Jul 27 2009 05:46
bacula-postgresql-3.0.3-1.su103.x86_64.rpm25.8 MB2009-11-1631
bacula-mtx-3.0.2-1.su110.x86_64.rpm57.7 KiBMon Jul 27 2009 05:46
bacula-postgresql-3.0.3-1.su110.x86_64.rpm24.9 MB2009-11-1620
bacula-mysql-3.0.2-1.su110.x86_64.rpm21.2 MiBMon Jul 27 2009 05:47
bacula-postgresql-3.0.3-1.su111.x86_64.rpm24.9 MB2009-11-1639
bacula-postgresql-3.0.2-1.su110.x86_64.rpm21.2 MiBMon Jul 27 2009 05:49
bacula-sqlite-3.0.3-1.su103.x86_64.rpm26.9 MB2009-11-1624
bacula-sqlite-3.0.2-1.su110.x86_64.rpm22.3 MiBMon Jul 27 2009 05:51
bacula-sqlite-3.0.3-1.su110.x86_64.rpm26.0 MB2009-11-1620
bacula-updatedb-3.0.2-1.x86_64.rpm21.2 KiBMon Jul 27 2009 05:51
bacula-sqlite-3.0.3-1.su111.x86_64.rpm26.0 MB2009-11-1655
+

depkgs: + + +
NameSignatureSizeDateDownloads
+

depkgs-qt: + + + + + + + + +
NameSignatureSizeDateDownloads
depkgs-qt-28Jul09.tar.gzsig46.9 MB2009-07-301,744
([\d\.]+ [KMG]B)(.+?)(.*?)(.*?)

', $cat, ': - + '; foreach my $elt ( sort { $a->{file} cmp $b->{file} } @{$cats{$cat}}) { @@ -122,16 +130,18 @@ sub print_cat if ($elt->{vers} eq $version || $elt->{vers} =~ /$depkgs_version/) { print " - + - - - + + + "; } + if ($row eq 'odd') { $row = 'even'; } else { $row = 'odd'; } } print '
Name', ($cat !~ /rpm/)?'Signature':'', 'SizeDate
Name', ($cat !~ /rpm/)?'Signature':'', 'SizeDateDownloads
$elt->{file}", + ", ($cat !~ /rpm/)?"sig":"", "$elt->{size}$elt->{date}$elt->{size}$elt->{date}$elt->{downloads}
'; - -- 2.39.5