[Git][qa/jenkins.debian.net][master] 2 commits: fix some more spelling mistakes found by spellintian
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Jan 4 15:44:58 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
4cafbc58 by Holger Levsen at 2024-01-04T16:38:50+01:00
fix some more spelling mistakes found by spellintian
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
e7bde6d9 by Holger Levsen at 2024-01-04T16:44:39+01:00
fix even more spelling mistakes found by spellintian
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
25 changed files:
- bin/common-functions.sh
- bin/jenkins_master_wrapper.sh
- bin/jenkins_node_wrapper.sh
- bin/rblib/const.py
- bin/rblib/html.py
- bin/reproducible_build.sh
- bin/reproducible_build_alpine_pkg.sh
- bin/reproducible_build_archlinux_pkg.sh
- bin/reproducible_build_rpm.sh
- bin/reproducible_common.sh
- bin/reproducible_coreboot.sh
- bin/reproducible_create_meta_pkg_sets.sh
- bin/reproducible_freebsd.sh
- bin/reproducible_html_breakages.py
- bin/reproducible_html_indexes.py
- bin/reproducible_maintenance.sh
- bin/reproducible_netbsd.sh
- bin/reproducible_openwrt.sh
- bin/reproducible_pool_buildinfos.sh
- bin/reproducible_remote_scheduler.py
- bin/reproducible_scheduler.py
- bin/reproducible_system_health.sh
- bin/schroot-create.sh
- mustache-templates/README
- mustache-templates/reproducible/package_navigation.mustache
Changes:
=====================================
bin/common-functions.sh
=====================================
@@ -75,7 +75,7 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
# abort_if_bug_is_still_open $BLOCKER
# done ;;
chroot-installation_buster_install_design*)
- # technically these two bugs dont affect design-desktop
+ # technically these two bugs don't affect design-desktop
# but just a depends of it, however I don't think it's likely
# design-desktop will enter buster without these two bugs being fixed
abort_if_bug_is_still_open 890754 ;;
@@ -225,7 +225,7 @@ output_echo() {
jenkins_zombie_check() {
#
# sometimes deleted jobs come back as zombies
- # and we dont know why and when that happens,
+ # and we don't know why and when that happens,
# so just report those zombies here.
#
# this has last happened on 2021-08-09, with a jenkins.deb
=====================================
bin/jenkins_master_wrapper.sh
=====================================
@@ -58,7 +58,7 @@ RESULT=$?
if [ $RESULT -ne 0 ] ; then
#
# this should abort (=no success, but also no status change mails…) but as
- # this somehow doesnt work anymore, rather error out to see the breakage…
+ # this somehow doesn't work anymore, rather error out to see the breakage…
#
#echo "$(date -u) - $NODE_NAME seems to be down, sleeping 15min before aborting this job."
echo "$(date -u) - $NODE_NAME seems to be down, sleeping 1min before exiting with error."
=====================================
bin/jenkins_node_wrapper.sh
=====================================
@@ -123,10 +123,10 @@ elif [[ "$*" =~ ^rsync\ --server\ .*\ \.\ /srv/workspace/chroots/.* ]] ; then
# OpenWrt is using this to share files between master node1 node2.
exec rsync --server "$3" . "$5" ; croak "Exec failed";
elif [[ "$*" =~ ^rsync\ --server\ .*\ \.\ /srv/reproducible-results/.* ]] ; then
- # allow to push files to /srv/reproducible-results/
+ # allow one to push files to /srv/reproducible-results/
exec rsync --server "$3" . "$5" ; croak "Exec failed";
elif [[ "$*" =~ ^rsync\ --server\ .*\ \.\ /var/lib/jenkins/userContent/reproducible/debian/ftp-master.debian.org/buildinfo/.* ]] ; then
- # allow to push buildinfo files from coccia
+ # allow one to push buildinfo files from coccia
exec rsync --server "$3" . "$5" ; croak "Exec failed";
elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /var/lib/jenkins/builtin-pho-html/debian/.* ]] ; then
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
=====================================
bin/rblib/const.py
=====================================
@@ -76,7 +76,7 @@ with open(os.path.join(BIN_PATH, 'reproducible_pkgsets.csv'), newline='') as f:
for line in csv.reader(f):
META_PKGSET.append((line[1], line[0]))
-# DATABSE CONSTANT
+# DATABASE CONSTANT
PGDATABASE = 'reproducibledb'
=====================================
bin/rblib/html.py
=====================================
@@ -157,8 +157,8 @@ def gen_status_link_icon(status, spokenstatus, icon, suite, arch):
Returns the html for "<icon> <spokenstatus>" with both icon and status
linked to the appropriate index page for the status, arch and suite.
- If icon is set to None, the icon will be ommited.
- If spokenstatus is set to None, the spokenstatus link be ommited.
+ If icon is set to None, the icon will be omitted.
+ If spokenstatus is set to None, the spokenstatus link be omitted.
"""
context = {
'status': status,
=====================================
bin/reproducible_build.sh
=====================================
@@ -261,7 +261,7 @@ handle_ftbfs() {
}
handle_ftbr() {
- # a ftbr explaination message could be passed
+ # a ftbr explanation message could be passed
local FTBRmessage="$@"
log_error "${SRCPACKAGE} failed to build reproducibly in ${SUITE} on ${ARCH}."
cp b1/${BUILDINFO} $DEBIAN_BASE/buildinfo/${SUITE}/${ARCH}/ > /dev/null 2>&1 || true # will fail if there is no .buildinfo
@@ -450,7 +450,7 @@ choose_package() {
SAVE_ARTIFACTS=$(echo $RESULT|cut -d "|" -f5)
NOTIFY=$(echo $RESULT|cut -d "|" -f6)
NOTIFY_MAINTAINER=$(echo $RESULT|cut -d "|" -f7)
- # remove previous build attempts which didnt finish correctly:
+ # remove previous build attempts which didn't finish correctly:
JOB_PREFIX="${JOB_NAME#reproducible_builder_}/"
BAD_BUILDS=$(mktemp --tmpdir=$TMPDIR badbuilds.XXXXXXXX)
query_db "SELECT package_id, date_build_started, job FROM schedule WHERE job LIKE '${JOB_PREFIX}%'" > $BAD_BUILDS
@@ -886,7 +886,7 @@ remote_build() {
3)
handle_timeout
;;
- 0) # build succcessfully completed
+ 0) # build successfully completed
;;
*)
unregister_build
=====================================
bin/reproducible_build_alpine_pkg.sh
=====================================
@@ -81,7 +81,7 @@ choose_package() {
local SRCPKGID=$(echo $RESULT|cut -d "|" -f2)
SRCPACKAGE=$(echo $RESULT|cut -d "|" -f3)
VERSION=$(echo $RESULT|cut -d "|" -f4)
- # remove previous build attempts which didnt finish correctly:
+ # remove previous build attempts which didn't finish correctly:
JOB_SHORTNAME="${JOB_NAME#reproducible_builder_}"
BAD_BUILDS=$(mktemp --tmpdir=$TMPDIR)
query_db "SELECT package_id, date_build_started, job FROM schedule WHERE job LIKE '%${JOB_SHORTNAME}'" > $BAD_BUILDS
=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -81,7 +81,7 @@ choose_package() {
local SRCPKGID=$(echo $RESULT|cut -d "|" -f2)
SRCPACKAGE=$(echo $RESULT|cut -d "|" -f3)
VERSION=$(echo $RESULT|cut -d "|" -f4)
- # remove previous build attempts which didnt finish correctly:
+ # remove previous build attempts which didn't finish correctly:
JOB_SHORTNAME="${JOB_NAME#reproducible_builder_}"
BAD_BUILDS=$(mktemp --tmpdir=$TMPDIR)
query_db "SELECT package_id, date_build_started, job FROM schedule WHERE job LIKE '%${JOB_SHORTNAME}'" > $BAD_BUILDS
=====================================
bin/reproducible_build_rpm.sh
=====================================
@@ -65,7 +65,7 @@ choose_package() {
echo "$(date -u ) - for now, instead of building everything, only packages matching these searchterms are build: $SEARCHTERMS"
local i=""
# http://fedoraproject.org/wiki/Packaging:NamingGuidelines describes the rpm naming scheme
- # the awk command removes the last two "columns" seperated by "-"
+ # the awk command removes the last two "columns" separated by "-"
# so system-config-printer-1.5.7-5.fc23.src.rpm becomes system-config-printer
( for i in $SEARCHTERMS ; do repoquery --qf "%{sourcerpm}" "*$i*" | awk 'NF{NF-=2}1' FS='-' OFS='-' ; done ) | sort -u > ${RPM_PKGS}_$RELEASE
cat ${RPM_PKGS}_$RELEASE
=====================================
bin/reproducible_common.sh
=====================================
@@ -990,7 +990,7 @@ create_debian_png_from_table() {
/srv/jenkins/bin/make_graph.py ${TABLE[$1]}.csv $2 ${COLORS} "${MAINLABEL[$1]}" "${YLABEL[$1]}" $WIDTH $HEIGHT
mv $2 $DEBIAN_BASE/$DIR
[ "$DIR" = "." ] || rmdir $(dirname $2)
- # create empty dummy png if there havent been any results ever
+ # create empty dummy png if there haven't been any results ever
elif [ ! -f $DEBIAN_BASE/$DIR/$(basename $2) ] ; then
DIR=$(dirname $2)
mkdir -p $DIR
@@ -1164,7 +1164,7 @@ create_pkg_html() {
if [ "$STATE" != "FTBR_0" ] ; then
STATE=FTBR_1
fi
- # this shouldnt happen, but (for now) it does, so lets mark them…
+ # this shouldn't happen, but (for now) it does, so lets mark them…
EXTRA_REASON=""
if grep -q 'class="source">.BUILDINFO' $ARCHLINUX_PKG_PATH/$ARTIFACT; then
STATE=FTBR_0
@@ -1280,7 +1280,7 @@ create_alpine_pkg_html() {
if [ "$STATE" != "FTBR_0" ] ; then
STATE=FTBR_1
fi
- # this shouldnt happen, but (for now) it does, so lets mark them…
+ # this shouldn't happen, but (for now) it does, so lets mark them…
EXTRA_REASON=""
if grep -q 'class="source">.BUILDINFO' $ALPINE_PKG_PATH/$ARTIFACT ; then
STATE=FTBR_0
=====================================
bin/reproducible_coreboot.sh
=====================================
@@ -42,7 +42,7 @@ save_coreboot_results() {
# main
#
TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-coreboot-build-XXXXXXXX) # used to build on tmpfs
-TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-coreboot-results-XXXXXXXX) # accessable in schroots, used to compare results
+TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-coreboot-results-XXXXXXXX) # accessible in schroots, used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
trap cleanup_tmpdirs INT TERM EXIT
@@ -134,7 +134,7 @@ export LC_ALL="fr_CH.UTF-8"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
export CAPTURE_ENVIRONMENT="I capture the environment"
umask 0002
-# use allmost all cores for second build
+# use almost all cores for second build
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
sed -i "s#cpus=$NUM_CPU#cpus=$NEW_NUM_CPU#" util/abuild/abuild
ionice -c 3 \
=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -72,7 +72,7 @@ update_target() {
}
update_if_similar() {
- # this is mostly done to not accidently overwrite the lists
+ # this is mostly done to not accidentally overwrite the lists
# with garbage, eg. when external services are down
if [ -s $TMPFILE ] ; then
sort -u $TMPFILE > ${TMPFILE2}
@@ -318,7 +318,7 @@ update_pkg_set_specific() {
fi
;;
CIP)
- # installed by the Core Infrastructure Plattform
+ # installed by the Core Infrastructure Platform
# one day we might get a proper data provider from them...
# (so far it was send via email)
cat /srv/jenkins/bin/reproducible_installed_by_CIP > $TMPFILE
@@ -390,7 +390,7 @@ update_pkg_set_specific() {
BASEURL="https://www.pureos.net/download/"
echo "Downloading $BASEURL now."
URL=https://downloads.pureos.net/amber/live/gnome/2020-08-06/pureos-9.0-gnome-live_20200806-amd64.packages
- # URL has changed and isnt easy to parse anymore
+ # URL has changed and isn't easy to parse anymore
# (there is no latest link or such...)
# URL="$(curl $BASEURL | sed -n -e 's at .*\(https://downloads.pureos.net/.*\)\.hybrid\.iso.*@\1.packages at p')"
if [ -n "$URL" ] ; then
=====================================
bin/reproducible_freebsd.sh
=====================================
@@ -159,7 +159,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
export LC_ALL="fr_CH.UTF-8"
###export PATH="$PATH:/i/capture/the/path"
###umask 0002
- # use allmost all cores for second build
+ # use almost all cores for second build
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
# actually build everything
if ( $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG LC_ALL=$LC_ALL sudo make -j $NEW_NUM_CPU WITH_REPRODUCIBLE_BUILD=yes buildworld" && \
=====================================
bin/reproducible_html_breakages.py
=====================================
@@ -160,7 +160,7 @@ def alien_log(directory=None):
continue
suite, arch = root.rsplit('/', 2)[1:]
for file in files:
- # different file have differnt name patterns and different splitting needs
+ # different file have different name patterns and different splitting needs
if file.endswith('.diff.gz'):
rsplit_level = 2
elif file.endswith('.gz'):
=====================================
bin/reproducible_html_indexes.py
=====================================
@@ -28,7 +28,7 @@ from rblib.const import (
)
"""
-Reference doc for the folowing lists:
+Reference doc for the following lists:
* queries is just a list of queries. They are referred further below.
+ every query must return only a list of package names (excpet count_total)
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -306,7 +306,7 @@ cleanup_old_schroots "unstable and ${TESTING_SUITE} schroots" 5 "/schroots/repro
# find very old schroots
echo "$(date -u) - Detecting schroots older than 1 month"
-# the reproducible-archlinux schroot is ignored because its ment to be long living
+# the reproducible-archlinux schroot is ignored because its meant to be long living
OLDSTUFF=$(find /schroots/ -mindepth 1 -maxdepth 1 -mtime +30 -exec ls -lad {} \; | grep -v reproducible-archlinux | true)
if [ -n "$OLDSTUFF" ]; then
echo
@@ -381,7 +381,7 @@ if [ -s $RESULT ] ; then
fi
fi
rm $HAYSTACK $RESULT $TOKILL
-# There are naughty processes spawning childs and leaving them to their grandparents
+# There are naughty processes spawning children and leaving them to their grandparents
PSCALL=""
for i in $PBUIDS ; do
for p in $(pgrep -u $i) ; do
@@ -753,7 +753,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
fi
#
- # find packages which build didnt end correctly
+ # find packages which build didn't end correctly
#
echo "$(date -u) - Rescheduling builds which didn't end correctly."
DATE=$(date '+%Y-%m-%d %H:%M' -d "-2 days")
@@ -812,7 +812,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
#
# delete jenkins html logs from reproducible_builder_(fedora|archlinux)* jobs as they are mostly redundant
- # (they only provide the extended value of parsed console output, which we dont need here.)
+ # (they only provide the extended value of parsed console output, which we don't need here.)
#
OLDSTUFF=$(find /var/lib/jenkins/jobs/reproducible_builder_* -maxdepth 3 -mtime +0 -name log_content.html -exec rm -v {} \; 2>/dev/null | wc -l)
if [ -n "$OLDSTUFF" ] ; then
=====================================
bin/reproducible_netbsd.sh
=====================================
@@ -51,7 +51,7 @@ save_netbsd_results() {
# main
#
TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-netbsd-build-XXXXXXXX) # used to build on tmpfs
-TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-netbsd-results-XXXXXXXX) # accessable in schroots, used to compare results
+TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-netbsd-results-XXXXXXXX) # accessible in schroots, used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
trap cleanup_tmpdirs INT TERM EXIT
=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -224,7 +224,7 @@ openwrt_apply_variations() {
export LC_ALL="fr_CH.UTF-8"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
export CAPTURE_ENVIRONMENT="I capture the environment"
- # use allmost all cores for second build
+ # use almost all cores for second build
export NEW_NUM_CPU=$(echo "$NUM_CPU-1" | bc)
export MAKE=make
fi
@@ -400,7 +400,7 @@ openwrt_strip_metadata_signature() {
# openwrt_build is run on a remote host
# RUN - b1 or b2. b1 means first run, b2 second
# TARGET - a target including subtarget. E.g. ath79_generic
-# CONFIG - a simple basic .config as string. Use \n to seperate lines
+# CONFIG - a simple basic .config as string. Use \n to separate lines
# TMPPATH - is a unique path generated with mktmp
openwrt_build() {
local RUN=$1
@@ -435,7 +435,7 @@ openwrt_build() {
}
# build openwrt/openwrt on two different hosts
-# TARGET a target including subtarget. E.g. aththththththth79- a simple basic .config as string. Use \n to seperate lines
+# TARGET a target including subtarget. E.g. aththththththth79- a simple basic .config as string. Use \n to separate lines
build_two_times() {
local TARGET=$1
local CONFIG=$2
@@ -468,7 +468,7 @@ build_two_times() {
$SSHN1 "reproducible_openwrt" node openwrt_build "$RUN" "$TARGET" "$CONFIG" "$TMPBUILDDIR"
$SSHN1 "reproducible_openwrt" node openwrt_get_banner "$TMPBUILDDIR" > "$BANNER_HTML"
# cut away everything before begin and after the end…
- # (thats noise generated by the way we run this via reproducible_common.sh)
+ # (that's noise generated by the way we run this via reproducible_common.sh)
cat "$BANNER_HTML" | sed '/===bannerend===/,$d' | tac | sed '/===bannerbegin===/,$d' | tac > "$BANNER_HTML.out"
mv "$BANNER_HTML".out "$BANNER_HTML"
@@ -533,7 +533,7 @@ esac
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t "rbuild-openwrt-build-${DATE}-XXXXXXXX") # used to build on tmpfs
-RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-openwrt-results-XXXXXXXX) # accessable in schroots, used to compare results
+RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-openwrt-results-XXXXXXXX) # accessible in schroots, used to compare results
BANNER_HTML=$(mktemp "--tmpdir=$RESULTSDIR")
trap master_cleanup_tmpdirs INT TERM EXIT
=====================================
bin/reproducible_pool_buildinfos.sh
=====================================
@@ -279,7 +279,7 @@ else
rm $PROBLEMS
fi
-# This part allows to create a buildinfo-pool file per suite and arch.
+# This part allows one to create a buildinfo-pool file per suite and arch.
# It queries the database created thanks to https://salsa.debian.org/bremner/builtin-pho
# and use the primary buildinfo-pool file generated by reproducible_pool_buildinfos.sh
# for filtering the results.
=====================================
bin/reproducible_remote_scheduler.py
=====================================
@@ -90,9 +90,9 @@ def parse_args():
parser.add_argument('-s', '--suite', required=False, default='unstable',
help="Specify the suites to schedule in (space or comma separated). Default: 'unstable'.")
parser.add_argument('packages', metavar='package', nargs='*',
- help='Space seperated list of packages to reschedule.')
+ help='Space separated list of packages to reschedule.')
# only consider "unknown_args", i.e. the arguments that the common.py script
- # doesn't know about and therefor ignored.
+ # doesn't know about and therefore ignored.
scheduling_args = parser.parse_known_args(unknown_args)[0]
if scheduling_args.null:
scheduling_args = parser.parse_known_args(sys.stdin.read().split('\0'))[0]
=====================================
bin/reproducible_scheduler.py
=====================================
@@ -68,9 +68,9 @@ LIMITS_E404 defines how many packages with status E404 are rescheduled at max.
"""
# only old packages older than this will be rescheduled
MINIMUM_AGE = {'amd64': 9, 'i386': 12, 'arm64': 11, 'armhf': 25}
-# maximum queue size, see explainations above
+# maximum queue size, see explanations above
MAXIMA = {'amd64': 2000, 'i386': 1600, 'arm64': 2000, 'armhf': 1800}
-# limits, see explainations above
+# limits, see explanations above
LIMITS = {
'untested': {
'amd64': {
@@ -766,7 +766,7 @@ def scheduler(arch):
message += ' in total.'
log.info('Scheduling for architecture ' + arch + ' done.')
log.info('--------------------------------------------------------------')
- # only notifiy if there were packages scheduled in any suite
+ # only notify if there were packages scheduled in any suite
for x in SUITES:
if len(untested[x])+len(new[x])+len(old[x])+len(old_ftbfs[x])+len(old_depwait[x]) > 0:
return message + '\n'
=====================================
bin/reproducible_system_health.sh
=====================================
@@ -520,7 +520,7 @@ conditional_paragraph ${FAILED_JOBS} "Failed jobs"
conditional_paragraph ${UNSTABLE_JOBS} "Unstable jobs"
conditional_paragraph ${FAILED_SUSPECTS} "Failed jobs on nodes automatically marked down by jenkins (with modifier > 1)"
conditional_paragraph ${UNSTABLE_SUSPECTS} "Unstable jobs on nodes automatically marked down by jenkins (with modifier > 1)"
-write2healthfile "<hr><p>A stable jobs adds 3 to the score, an unstable job adds 1 and a failed job substracts something between 1 and 500 (indicated in brackets after the job name if not equal 1), depending on the importance of the job for the setup.
+write2healthfile "<hr><p>A stable jobs adds 3 to the score, an unstable job adds 1 and a failed job subtracts something between 1 and 500 (indicated in brackets after the job name if not equal 1), depending on the importance of the job for the setup.
</br>If the final score is below zero it will be set to zero.
</br>Finally, status is calculated by diving the score by three times the number of considered jobs and this gets multiplied with 255 to get a status between 0 and 255.
</br><small>(Ignored jobs are not counted at all.)</small>
=====================================
bin/schroot-create.sh
=====================================
@@ -130,7 +130,7 @@ install_diffoscope() {
bootstrap() {
echo "Bootstraping $SUITE into $SCHROOT_TARGET now."
- # this sets $NODE_RUN_IN_THE_FUTURE appropriatly
+ # this sets $NODE_RUN_IN_THE_FUTURE appropriately
. /srv/jenkins/bin/jenkins_node_definitions.sh
get_node_information "$HOSTNAME"
=====================================
mustache-templates/README
=====================================
@@ -7,7 +7,7 @@ See complete description here: https://mustache.github.io/mustache.5.html
Syntax:
{{foo}}
- -> subsitute with the value of foo
+ -> substitute with the value of foo
{{#foo}}some html{{/foo}}
-> if foo exists and it's value is not false, include "some html"
=====================================
mustache-templates/reproducible/package_navigation.mustache
=====================================
@@ -6,7 +6,7 @@
</a>
</h4>
{{#notes_uri}}
- <li><a href="{{notes_uri}}" title="Additional comments on this packages unreproduciblity" target="main">notes</a></li>
+ <li><a href="{{notes_uri}}" title="Additional comments on this package" target="main">notes</a></li>
{{/notes_uri}}
{{^notes_uri}}
{{^reproducible}}
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/3fbd6ed7ea77ae563da11c99e3ca94637119d7a0...e7bde6d9a95e25fa15fb228c108a2c9a4556876f
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/3fbd6ed7ea77ae563da11c99e3ca94637119d7a0...e7bde6d9a95e25fa15fb228c108a2c9a4556876f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20240104/ca3010bf/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list