Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
b785c5f9
Commit
b785c5f9
authored
Nov 19, 2015
by
Mattia Rizzolo
Committed by
Holger Levsen
Nov 20, 2015
Browse files
reproducible: blacklist: also remove package from schedule when blacklisting
parent
d03bf83a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_blacklist.sh
View file @
b785c5f9
...
@@ -18,6 +18,7 @@ blacklist_packages() {
...
@@ -18,6 +18,7 @@ blacklist_packages() {
PKGID
=
$(
sqlite3
-init
$INIT
${
PACKAGES_DB
}
"SELECT id FROM sources WHERE name='
$PKG
' AND suite='
$SUITE
' AND architecture='
$ARCH
';"
)
PKGID
=
$(
sqlite3
-init
$INIT
${
PACKAGES_DB
}
"SELECT id FROM sources WHERE name='
$PKG
' AND suite='
$SUITE
' AND architecture='
$ARCH
';"
)
cleanup_pkg_files
cleanup_pkg_files
sqlite3
-init
$INIT
${
PACKAGES_DB
}
"REPLACE INTO results (package_id, version, status, build_date) VALUES ('
$PKGID
', '
$VERSION
', 'blacklisted', '
$DATE
');"
sqlite3
-init
$INIT
${
PACKAGES_DB
}
"REPLACE INTO results (package_id, version, status, build_date) VALUES ('
$PKGID
', '
$VERSION
', 'blacklisted', '
$DATE
');"
sqlite3
-init
$INIT
${
PACKAGES_DB
}
"DELETE FROM schedule where package_id='
$PKGID
'"
done
done
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment