Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jenkins.debian.net
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian QA
jenkins.debian.net
Commits
5c1bf7ff
Commit
5c1bf7ff
authored
7 years ago
by
Holger Levsen
Browse files
Options
Downloads
Patches
Plain Diff
reproducible Arch Linux: write yesterdays stats today if they dont exist yet
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
991d9d1f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/reproducible_html_archlinux.sh
+5
-4
5 additions, 4 deletions
bin/reproducible_html_archlinux.sh
with
5 additions
and
4 deletions
bin/reproducible_html_archlinux.sh
+
5
−
4
View file @
5c1bf7ff
...
...
@@ -17,6 +17,7 @@ ARCHBASE=$BASE/archlinux
#
echo
"
$(
date
-u
)
- starting to analyse build results."
DATE
=
$(
date
-u
+
'%Y-%m-%d'
)
YESTERDAY
=
$(
date
'+%Y-%m-%d'
-d
"-1 day"
)
MEMBERS_FTBFS
=
"0 1 2 3"
MEMBERS_DEPWAIT
=
"0 1"
MEMBERS_404
=
"0 1 2 3 4 5 6 7 8 9"
...
...
@@ -220,9 +221,9 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
if
[
!
-f
$ARCHBASE
/
$REPOSITORY
.csv
]
;
then
echo
"# date, reproducible, unreproducible, ftbfs, depwait, 404, untested"
>
$ARCHBASE
/
$REPOSITORY
.csv
fi
if
!
grep
-q
$
DATE
$ARCHBASE
/
$REPOSITORY
.csv
;
then
if
!
grep
-q
$
YESTERDAY
$ARCHBASE
/
$REPOSITORY
.csv
;
then
let
REAL_UNKNOWN
=
$TOTAL
-
$NR_GOOD
-
$NR_FTBR
-
$NR_FTBFS
-
$NR_DEPWAIT
-
$NR_404
||
true
echo
$
DATE
,
$NR_GOOD
,
$NR_FTBR
,
$NR_FTBFS
,
$NR_DEPWAIT
,
$NR_404
,
$REAL_UNKNOWN
>>
$ARCHBASE
/
$REPOSITORY
.csv
echo
$
YESTERDAY
,
$NR_GOOD
,
$NR_FTBR
,
$NR_FTBFS
,
$NR_DEPWAIT
,
$NR_404
,
$REAL_UNKNOWN
>>
$ARCHBASE
/
$REPOSITORY
.csv
fi
#
# prepare ARCHLINUX totals
...
...
@@ -263,9 +264,9 @@ echo " </tr>" >> $HTML_REPOSTATS
if
[
!
-f
$ARCHBASE
/archlinux.csv
]
;
then
echo
"# date, reproducible, unreproducible, ftbfs, depwait, 404, untested"
>
$ARCHBASE
/archlinux.csv
fi
if
!
grep
-q
$
DATE
$ARCHBASE
/archlinux.csv
;
then
if
!
grep
-q
$
YESTERDAY
$ARCHBASE
/archlinux.csv
;
then
let
ARCHLINUX_REAL_UNKNOWN
=
$ARCHLINUX_TOTAL
-
$ARCHLINUX_NR_GOOD
-
$ARCHLINUX_NR_FTBR
-
$ARCHLINUX_NR_FTBFS
-
$ARCHLINUX_NR_DEPWAIT
-
$ARCHLINUX_NR_404
||
true
echo
$
DATE
,
$ARCHLINUX_NR_GOOD
,
$ARCHLINUX_NR_FTBR
,
$ARCHLINUX_NR_FTBFS
,
$ARCHLINUX_NR_DEPWAIT
,
$ARCHLINUX_NR_404
,
$ARCHLINUX_REAL_UNKNOWN
>>
$ARCHBASE
/archlinux.csv
echo
$
YESTERDAY
,
$ARCHLINUX_NR_GOOD
,
$ARCHLINUX_NR_FTBR
,
$ARCHLINUX_NR_FTBFS
,
$ARCHLINUX_NR_DEPWAIT
,
$ARCHLINUX_NR_404
,
$ARCHLINUX_REAL_UNKNOWN
>>
$ARCHBASE
/archlinux.csv
fi
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment