Joerg Jaspert pushed to branch master at Debian FTP Team / dak
Commits:
-
f26e6da1
by Joerg Jaspert at 2018-06-23T11:33:13+02:00
-
ba432aa4
by Joerg Jaspert at 2018-06-23T11:39:09+02:00
1 changed file:
Changes:
... | ... | @@ -220,11 +220,19 @@ if [[ ${suitename} != jessie ]]; then |
220 | 220 |
fi
|
221 | 221 |
|
222 | 222 |
log "RM time"
|
223 |
-# FIXME: Nicer ways please
|
|
224 |
-dak rm -h
|
|
225 |
-echo "Check with RMs if there are any removals to do, if so, please just enter full dak rm line here."
|
|
223 |
+if ${wget} -O "removallist" "${release_base}/removals.${target_suite}"; then
|
|
224 |
+ echo "Please check removallist file, I am going to run it as shell script when you confirm"
|
|
225 |
+ confirm
|
|
226 |
+ $EDITOR removallist
|
|
227 |
+ bash removallist
|
|
228 |
+fi
|
|
229 |
+ |
|
230 |
+echo "Any more removals to be done?"
|
|
226 | 231 |
echo "If nothing - or done, just end with an empty line"
|
227 | 232 |
hadrms=0
|
233 |
+ |
|
234 |
+# Blindly ignore errors in dak rm
|
|
235 |
+set +e
|
|
228 | 236 |
while :; do
|
229 | 237 |
read -e -p "RM command: " -i "dak rm -s ${suite} -R -p -d ### -m '###' ###" dakrmcmd
|
230 | 238 |
if [[ -n ${dakrmcmd} ]]; then
|
... | ... | @@ -235,6 +243,7 @@ while :; do |
235 | 243 |
break
|
236 | 244 |
fi
|
237 | 245 |
done
|
246 |
+set -e
|
|
238 | 247 |
|
239 | 248 |
if [[ ${hadrms} -ne 0 ]]; then
|
240 | 249 |
echo "You did some removals, please copy their entries into the changelog"
|