release.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. Notes from the Debian Stretch release
  2. =====================================
  3. configdir=${configdir:-"/srv/ftp-master.debian.org/dak/config/debian"}
  4. export SCRIPTVARS=${configdir}/vars
  5. . "${SCRIPTVARS}"
  6. . "${configdir}/dinstall.functions"
  7. umask 022
  8. sql() {(
  9. set -eu
  10. psql -qAt "${@}"
  11. )}
  12. rename-suite() {(
  13. set -xeu
  14. local oldsuite="${1:?}"
  15. local newsuite="${2:?}"
  16. archive_path=$(sql -c "SELECT path FROM archive WHERE id=(SELECT archive_id FROM suite WHERE suite_name='${oldsuite}')")
  17. cd ${archive_path:?}/dists
  18. if [[ -L ${newsuite} || -e ${newsuite} ]]; then
  19. echo "E: ${newsuite} already exists" >&2
  20. exit 1
  21. fi
  22. mv -- ${oldsuite} ${newsuite}
  23. sql -1 <<-EOT
  24. UPDATE suite
  25. SET
  26. suite_name='${newsuite}',
  27. copychanges = CASE WHEN copychanges IS NULL THEN NULL ELSE 'dists/${newsuite}' END
  28. WHERE suite_name='${oldsuite}'
  29. ;
  30. UPDATE suite
  31. SET overridesuite='${newsuite}'
  32. WHERE overridesuite='${oldsuite}'
  33. ;
  34. EOT
  35. )}
  36. rename-policy-queue() {(
  37. set -xeu
  38. oldqueue="${1:?}"
  39. newqueue="${2:?}"
  40. newpath="${3:?}"
  41. oldpath=$(sql -c "SELECT path FROM policy_queue WHERE queue_name='${oldqueue}'")
  42. if [[ -L ${newpath} || -e ${newpath} ]]; then
  43. echo "E: ${newpath} already exists" >&2
  44. exit 1
  45. fi
  46. mv -- ${oldpath:?} ${newpath}
  47. sql -c "UPDATE policy_queue SET queue_name='${newqueue}', path='${newpath}' WHERE queue_name='${oldqueue}'"
  48. )}
  49. Notes from the Debian Buster release
  50. ====================================
  51. Some notes from the Debian Buster release including some
  52. corrections. There might still be errors.
  53. export new_oldoldstable=jessie
  54. export new_oldstable=stretch
  55. export new_stable=buster
  56. export new_testing=bullseye
  57. rename-suite {,old}oldstable
  58. rename-suite {,old}oldstable-updates
  59. rename-suite {,old}stable
  60. rename-suite {,old}stable-debug
  61. rename-suite {,oldstable-}proposed-updates
  62. rename-suite {,oldstable-}proposed-updates-debug
  63. rename-suite {,old}stable-new
  64. rename-suite buildd-{,oldstable-}proposed-updates
  65. rename-policy-queue stable-new oldstable-new /srv/ftp-master.debian.org/queue/o-p-u-new
  66. rename-suite testing stable
  67. rename-suite testing-debug stable-debug
  68. rename-suite testing-proposed-updates proposed-updates
  69. rename-suite testing-proposed-updates-debug proposed-updates-debug
  70. rename-suite buildd-{testing-,}proposed-updates
  71. UPDATE SUITES:
  72. begin;
  73. \set new_oldoldstable `echo ${new_oldoldstable}`
  74. \set new_oldstable `echo ${new_oldstable}`
  75. \set new_stable `echo ${new_stable}`
  76. \set new_testing `echo ${new_testing}`
  77. -- update suites:
  78. update suite set validtime = 0 where codename = :'new_oldoldstable';
  79. update suite set version = '10.0', description = 'Debian 10.0 Released 06 July 2019', changelog = null, overrideprocess = false, overrideorigin = null, allowcsset = false, announce = array['debian-changes@lists.debian.org'], validtime = 0 where codename = :'new_stable';
  80. update suite set version = '10.0', description = 'Debian 10.0 Released 06 July 2019 - Debug Information', allowcsset = false, validtime = 0 where codename = concat(:'new_stable', '-debug');
  81. update suite set copychanges = 'dists/oldoldstable-proposed-updates', validtime = 0 where codename = concat(:'new_oldoldstable', '-proposed-updates');
  82. update suite set release_suite = 'oldoldstable-updates', validtime = 0 where codename = concat(:'new_oldoldstable', '-updates');
  83. update suite set copychanges = 'dists/oldstable-proposed-updates', overridesuite = 'oldstable' where codename = concat(:'new_oldstable', '-proposed-updates');
  84. update suite set release_suite = 'oldstable-updates' where codename = concat(:'new_oldstable', '-updates');
  85. update suite set version = '10-updates', description = 'Proposed Updates for Debian 10 - Not Released', copychanges = 'dists/proposed-updates', overridesuite = 'stable', announce = array['debian-changes@lists.debian.org'] where codename = concat(:'new_stable', '-proposed-updates');
  86. update suite set release_suite = 'stable-updates' where codename = concat(:'new_stable', '-updates');
  87. update suite set untouchable = true where codename in (:'new_oldoldstable', :'new_stable', concat(:'new_stable', '-debug'), concat(:'new_oldoldstable', '-proposed-updates'), concat(:'new_oldoldstable', '-updates'));
  88. update suite set signingkeys = ARRAY['E1CF20DDFFE4B89E802658F1E0B11894F66AEC98', '80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE'] WHERE suite_name LIKE 'buildd-%' OR suite_name LIKE 'buster%' OR suite_name IN ('stable', 'stable-debug', 'proposed-updates', 'proposed-updates-debug', 'experimental', 'experimental-debug', 'unstable', 'unstable-debug', 'unstable-data');
  89. update suite set signingkeys = ARRAY['126C0D24BD8A2942CC7DF8AC7638D0442B90D010', 'E1CF20DDFFE4B89E802658F1E0B11894F66AEC98'] WHERE suite_name LIKE 'oldstable%' OR suite_name IN ('stretch-backports', 'stretch-backports-debug', 'stretch-updates');
  90. commit;
  91. MOVE STUFF AROUND:
  92. cd /srv/ftp-master.debian.org/ftp/dists
  93. rm oldstable-backports oldstable-proposed-updates oldstable-updates
  94. ln -sTf ${new_oldstable}-backports oldstable-backports
  95. ln -sTf ${new_oldstable}-proposed-updates oldstable-proposed-updates
  96. ln -sTf ${new_oldstable}-updates oldstable-updates
  97. rm stable-backports stable-proposed-updates stable-updates
  98. ln -sTf ${new_stable}-backports stable-backports
  99. ln -sTf ${new_stable}-proposed-updates stable-proposed-updates
  100. ln -sTf ${new_stable}-updates stable-updates
  101. rm testing testing-proposed-updates testing-updates
  102. ln -sTf ${new_testing} testing
  103. ln -sTf ${new_testing}-proposed-updates testing-proposed-updates
  104. ln -sTf ${new_testing}-updates testing-updates
  105. ln -sT ${new_stable} Debian10.0
  106. # edit README, README.html, dists/README
  107. rm -r dists/${new_stable}/*/*.diff
  108. rm dists/${new_stable}/ChangeLog*
  109. # add new dists/${new_stable}/ChangeLog:
  110. cd /srv/ftp-master.debian.org/ftp/dists/${new_stable}
  111. cat >ChangeLog <<EOT
  112. =========================================
  113. Sat, 06 Jul 2019 - Debian 10.0 released
  114. =========================================
  115. EOT
  116. # check win32-loader!
  117. # - even copy in testing/ might be outdated.
  118. cd /srv/ftp-master.debian.org/public/incoming.debian.org/web/debian-buildd/dists
  119. rm buildd-${new_stable}-proposed-updates buildd-${new_oldstable}-proposed-updates
  120. mv buildd-proposed-updates buildd-${new_oldstable}-proposed-updates
  121. mv buildd-testing-proposed-updates buildd-${new_stable}-proposed-updates
  122. ln -sT buildd-${new_oldstable}-proposed-updates buildd-oldstable-proposed-updates
  123. ln -sT buildd-${new_stable}-proposed-updates buildd-proposed-updates
  124. D-I CLEANUP:
  125. cd /srv/ftp-master.debian.org/ftp/dists/${new_stable}/main
  126. morgue=/srv/ftp-master.debian.org/morgue/d-i
  127. for arch in installer-*; do
  128. for version in ${arch}/20*; do
  129. case ${version} in
  130. */20190702) ;;
  131. *) mv -v -- ${version} ${morgue}/${arch}/ ;;
  132. esac
  133. done
  134. done
  135. INDICES:
  136. suite=stable
  137. dak generate-packages-sources2 --force -s ${suite},${suite}-debug
  138. dak contents generate -f -s ${suite} -a ftp-master
  139. for suite in stable stable-debug oldstable oldstable-debug oldoldstable oldoldstable-updates; do
  140. dak generate-releases -f -s ${suite}
  141. done
  142. # rm InRelease for jessie, stretch
  143. for suite in oldoldstable oldstable oldstable-debug stable stable-debug; do
  144. ${scriptsdir}/sync-release ${suite}
  145. done
  146. # Add signatures from release team
  147. # mirror push (CD MIRROR ONLY!)
  148. (
  149. export SCRIPTVARS=${configdir}/vars
  150. . "${SCRIPTVARS}"
  151. . "${configdir}/common"
  152. . "${configdir}/dinstall.functions"
  153. umask 022
  154. mirror
  155. mirrorpush-release
  156. )
  157. ${NEW_STABLE}-R0:
  158. dak admin suite add ${new_stable}-r0 '' description='Extraneous packages/sources required for GPL compliance' origin=Debian label=Debian codename=${new_stable}-r0 accept_source_uploads=false accept_binary_uploads=false archive=ftp-master
  159. dak admin s-c add ${new_stable}-r0 main contrib non-free
  160. dak admin s-a add ${new_stable}-r0 $(dak admin s-a list-arch stable)
  161. dak control-suite -l stable | grep '^debian-installer ' | dak control-suite -a ${new_stable}-r0
  162. dak control-suite -l ${new_stable}-r0
  163. \set new_stable `echo ${new_stable}`
  164. begin;
  165. update suite set untouchable=true where codename=concat(:'new_stable', '-r0');
  166. commit;
  167. POLICY QUEUES:
  168. dak admin suite add stable-new '' codename=${new_stable}-new accept_source_uploads=false accept_binary_uploads=false archive=policy
  169. \set new_stable `echo ${new_stable}`
  170. begin;
  171. insert into policy_queue (queue_name, path, change_perms, suite_id) values ('stable-new', '/srv/ftp-master.debian.org/queue/p-u-new', '0644', (select id from suite where codename=concat(:'new_stable', '-new')));
  172. update suite set policy_queue_id = (select id from policy_queue where queue_name = 'stable-new') where codename = concat(:'new_stable', '-proposed-updates');
  173. commit;
  174. dak admin s-c add stable-new main contrib non-free
  175. dak admin s-a add stable-new source all $(dak admin s-a list-arch stable)
  176. NEW TESTING:
  177. dak admin suite add testing '' origin=Debian label=Debian codename=${new_testing} description='Debian x.y Testing distribution - Not Released' accept_source_uploads=false accept_binary_uploads=false allowcsset=True archive=ftp-master changelog_url='https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog'
  178. dak admin s-c add testing main contrib non-free
  179. dak admin s-a add testing source all $(dak admin s-a list-arch stable)
  180. dak admin suite add testing-debug '' origin=Debian label='Debian debug' codename=${new_testing}-debug description='Debian x.y Testing distribution - Not Released - Debug Information' accept_source_uploads=false accept_binary_uploads=false allowcsset=True archive=debian-debug
  181. dak admin s-c add testing-debug main contrib non-free
  182. dak admin s-a add testing-debug source all $(dak admin s-a list-arch stable)
  183. dak admin suite add testing-proposed-updates '' origin=Debian label=Debian codename=${new_testing}-proposed-updates description='Debian x.y Testing distribution - Proposed Updates - Not Released' archive=ftp-master
  184. dak admin s-c add testing-proposed-updates main contrib non-free
  185. dak admin s-a add testing-proposed-updates source all $(dak admin s-a list-arch stable)
  186. dak admin suite add testing-proposed-updates-debug '' origin=Debian label='Debian debug' codename=${new_testing}-proposed-updates-debug description='Debian x.y Testing - Proposed Updates - Not Released - Debug Information' accept_source_uploads=false accept_binary_uploads=false archive=debian-debug
  187. dak admin s-c add testing-proposed-updates-debug main contrib non-free
  188. dak admin s-a add testing-proposed-updates-debug source all $(dak admin s-a list-arch stable)
  189. dak admin suite add testing-updates '' origin=Debian label=Debian codename=${new_testing}-updates description='Debian x.y Testing distribution Updates - Not Released' accept_source_uploads=false accept_binary_uploads=false allowcsset=True archive=ftp-master
  190. dak admin s-c add testing-updates main contrib non-free
  191. dak admin s-a add testing-updates source all $(dak admin s-a list-arch stable)
  192. for c in main contrib non-free; do
  193. for t in deb dsc udeb; do
  194. dak control-overrides -s stable -t ${t} -c ${c} -l | dak control-overrides -s testing -t ${t} -c ${c} --set
  195. done
  196. done
  197. time dak update-suite stable testing
  198. # update-suite doesn't work for testing-debug (as there are no source packages)
  199. #time dak update-suite stable-debug testing-debug
  200. \set new_stable `echo ${new_stable}`
  201. \set new_testing `echo ${new_testing}`
  202. begin;
  203. insert into bin_associations (suite, bin)
  204. select
  205. (select id from suite where codename = concat(:'new_testing', '-debug')) as suite,
  206. bin
  207. from bin_associations
  208. where suite = (select id from suite where codename = concat(:'new_stable', '-debug'));
  209. commit;
  210. \set new_testing `echo ${new_testing}`
  211. begin;
  212. update suite set changelog = concat('dists/', :'new_testing', '/ChangeLog'), overrideprocess=true, overrideorigin = 'unstable' where codename = :'new_testing';
  213. update suite set announce=array['debian-testing-changes@lists.debian.org'] where codename in (:'new_testing', concat(:'new_testing', '-proposed-updates'));
  214. update suite set overridesuite = 'testing' where codename in (:'new_testing', concat(:'new_testing', '-proposed-updates'), concat(:'new_testing', '-updates'));
  215. update suite set signingkeys = array['E1CF20DDFFE4B89E802658F1E0B11894F66AEC98', '80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE'] where codename in (:'new_testing', concat(:'new_testing', '-debug'), concat(:'new_testing', '-proposed-updates'), concat(:'new_testing', '-proposed-updates-debug'), concat(:'new_testing', '-updates'));
  216. update suite set debugsuite_id = (select id from suite where codename = concat(:'new_testing', '-debug')) where codename = :'new_testing';
  217. update suite set debugsuite_id = (select id from suite where codename = concat(:'new_testing', '-proposed-updates-debug')) where codename = concat(:'new_testing', '-proposed-updates');
  218. update suite set indices_compression = array['xz'], byhash=true, checksums=array['sha256'] where suite_name in ('testing-debug', 'testing-proposed-updates-debug', 'buildd-testing-proposed-updates', 'testing-proposed-updates', 'testing-updates');
  219. update suite set indices_compression = array['gzip', 'xz'], byhash=true, checksums=array['md5sum', 'sha256'] where suite_name = 'testing';
  220. commit;
  221. dak external-overrides copy unstable testing
  222. dak admin s add-build-queue testing-proposed-updates buildd-testing-proposed-updates buildd-${new_testing}-proposed-updates build-queues
  223. cd /srv/ftp-master.debian.org/public/incoming.debian.org/web/debian-buildd/dists
  224. mkdir buildd-${new_testing}-proposed-updates
  225. ln -sT buildd-${new_testing}-proposed-updates buildd-testing-proposed-updates
  226. MOVE MOVING AROUND:
  227. cd /srv/ftp-master.debian.org/queue
  228. mv oldstable-proposed-updates oldoldstable-proposed-updates
  229. mv proposed-updates oldstable-proposed-updates
  230. mkdir -p p-u-new/COMMENTS proposed-updates
  231. V-C:
  232. dak admin v-c add testing-proposed-updates Enhances testing
  233. dak admin v-c add testing-proposed-updates MustBeOlderThan experimental
  234. dak admin v-c add testing-proposed-updates MustBeNewerThan stable
  235. dak admin v-c add testing-proposed-updates MustBeNewerThan oldstable
  236. dak admin v-c add testing-proposed-updates MustBeNewerThan oldoldstable
  237. dak admin v-c add testing-updates Enhances testing
  238. dak admin v-c add testing-proposed-updates MustBeNewerThan testing
  239. dak admin v-c add testing-updates MustBeNewerThan testing
  240. dak admin v-c add testing-updates MustBeOlderThan experimental
  241. dak admin v-c add testing-updates MustBeNewerThan stable
  242. dak admin v-c add testing-updates MustBeNewerThan oldstable
  243. dak admin v-c add testing-updates MustBeNewerThan oldoldstable
  244. dak admin v-c add unstable MustBeNewerThan testing
  245. dak admin v-c add experimental MustBeNewerThan testing
  246. # copy d-i to new testing (so same d-i in stable, testing, unstable)
  247. # backports
  248. dak admin suite add oldstable-backports-sloppy '' origin="Debian Backports" label='Debian Backports' codename=${new_oldstable}-backports-sloppy description='Debian 9 - Sloppy Backports' archive=ftp-master
  249. dak admin suite add oldstable-backports-sloppy-debug '' origin="Debian Backports" label='Debian Backports debug' codename=${new_oldstable}-backports-sloppy-debug description='Debian 9 - Sloppy Backports - Debug Information' archive=debian-debug
  250. dak admin suite add stable-backports-debug '' origin="Debian Backports" label='Debian Backports debug' codename=${new_stable}-debug description='Debian 10 - Backports - Debug Information' archive=debian-debug
  251. dak admin suite add testing-backports '' origin="Debian Backports" label='Debian Backports' codename=${new_testing}-backports description='Debian X.Y - Backports' archive=ftp-master
  252. dak admin suite add testing-backports-debug '' origin="Debian Backports" label='Debian Backports debug' codename=${new_testing}-backports-debug description='Debian X.Y - Backports - Debug Information' archive=debian-debug
  253. configure-backports-suite() {
  254. local suite=${1:?}
  255. local reference=${2:?}
  256. dak admin s-c add ${suite} main contrib non-free
  257. dak admin s-a add ${suite} source all $(dak admin s-a list-arch ${reference})
  258. dak admin suite-config set ${suite} notautomatic=true butautomaticupgrades=true accept_source_uploads=false accept_binary_uploads=false close_bugs=false
  259. }
  260. for suite in oldstable-backports-sloppy oldstable-backports-sloppy-debug; do
  261. configure-backports-suite ${suite} ${new_oldstable}
  262. done
  263. for suite in stable-backports-debug; do
  264. configure-backports-suite ${suite} ${new_stable}
  265. done
  266. for suite in testing-backports testing-backports-debug; do
  267. configure-backports-suite ${suite} ${new_testing}
  268. done
  269. cd ${ftpdir}/dists
  270. ln -sT ${new_oldstable}-backports-sloppy oldstable-backports-sloppy
  271. dak admin s add-build-queue ${new_oldstable}-backports-sloppy buildd-${new_oldstable}-backports-sloppy buildd-${new_oldstable}-backports-sloppy build-queues
  272. dak admin s add-build-queue ${new_stable}-backports buildd-${new_stable}-backports buildd-${new_stable}-backports build-queues
  273. dak admin s add-build-queue ${new_testing}-backports buildd-${new_testing}-backports buildd-${new_testing}-backports build-queues
  274. \set new_oldstable `echo ${new_oldstable}`
  275. \set new_stable `echo ${new_stable}`
  276. \set new_testing `echo ${new_testing}`
  277. begin;
  278. update suite set
  279. debugsuite_id = (select id from suite where codename=concat(:'new_oldstable', '-backports-sloppy-debug')),
  280. policy_queue_id = (select id from policy_queue where queue_name = 'backports-policy')
  281. where codename=concat(:'new_oldstable', '-backports-sloppy');
  282. update suite set debugsuite_id = (select id from suite where codename=concat(:'new_stable', '-backports-debug')) where codename=concat(:'new_stable', '-backports');
  283. update suite set debugsuite_id = (select id from suite where codename=concat(:'new_testing', '-backports-debug')) where codename=concat(:'new_testing', '-backports');
  284. update suite set
  285. announce=array['debian-backports-changes@lists.debian.org'],
  286. indices_compression=array['xz'],
  287. i18n_compression=array['xz'],
  288. byhash=true,
  289. checksums=array['sha256'],
  290. new_queue_id=10,
  291. changelog_url='http://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog'
  292. where codename in (
  293. concat(:'new_oldstable', '-backports-sloppy'), concat(:'new_stable', '-backports'), concat(:'new_testing', '-backports'),
  294. concat(:'new_oldstable', '-backports-sloppy-debug'), concat(:'new_stable', '-backports-debug'), concat(:'new_testing', '-backports-debug'),
  295. concat('buildd-', :'new_oldstable', '-backports-sloppy'), concat('buildd-', :'new_stable', '-backports'), concat('buildd-', :'new_testing', '-backports'));
  296. update suite set signingkeys = ARRAY['126C0D24BD8A2942CC7DF8AC7638D0442B90D010', 'E1CF20DDFFE4B89E802658F1E0B11894F66AEC98'] where suite_name in ('stretch-backports-sloppy', 'stretch-backports-sloppy-debug', 'buildd-stretch-backports-sloppy');
  297. update suite set signingkeys = ARRAY['E1CF20DDFFE4B89E802658F1E0B11894F66AEC98', '80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE'] WHERE suite_name IN ('buster-backports', 'buster-backports-debug', 'buildd-buster-backports', 'bullseye-backports', 'bullseye-backports-debug', 'buildd-bullseye-backports');
  298. insert into suite_permission (suite_id, role)
  299. select id, 'backports' from suite
  300. where codename in (concat(:'new_oldstable', '-backports-sloppy'), concat(:'new_testing', '-backports'));
  301. commit;
  302. for s in ${new_oldstable}-backports-sloppy{,-debug} ${new_stable}-backports{,-debug} ${new_testing}-backports{,-debug}; do
  303. dak generate-packages-sources2 -s ${s}
  304. done
  305. FINISH:
  306. for s in testing testing-proposed-updates testing-updates; do
  307. dak generate-packages-sources2 -s ${s}
  308. dak contents generate -s ${s} -a ftp-master
  309. done
  310. dak generate-releases -a ftp-master
  311. dak generate-packages-sources2 -s testing-debug
  312. dak generate-releases -s testing-debug
  313. dak generate-packages-sources2 -a build-queues
  314. dak generate-releases -a build-queues
  315. ########################################################################
  316. # On security-master:
  317. rename-suite {,old}oldstable
  318. rename-suite {,old}stable
  319. rename-suite testing stable
  320. rename-suite {,old}stable-debug
  321. rename-suite testing-debug stable-debug
  322. rename-suite buildd-{,old}oldstable
  323. rename-suite buildd-{,old}stable
  324. rename-suite buildd-testing buildd-stable
  325. begin;
  326. update suite set signingkeys = array['6ED6F5CB5FA6FB2F460AE88EEDA0D2388AE22BA9', '5E61B217265DDA9807A23C5FF4DFAB270CAA96DFA'] where suite_name in ('stable', 'stable-debug', 'buildd-stable');
  327. update suite set indices_compression=array['xz'], i18n_compression=array['xz'], checksums=arraay['sha256'], byhash=true where suite_name in ('buildd-stable', 'stable-debug', 'stable');
  328. update suite set version = '10', description = 'Debian 10 - Security Updates - Debug Information' where suite_name = 'stable';
  329. update suite set version = '10', description = 'Debian 10 - Security Updates - Debug Information' where suite_name = 'stable-debug';'
  330. commit;
  331. dak admin suite add testing-security '' origin=Debian label=Debian-Security codename=${new_testing:?}-security description='Debian x.y Testing - Security Updates - Not Released' accept_source_uploads=false accept_binary_uploads=false archive=security
  332. dak admin suite add testing-security-debug '' origin=Debian label="Debian-Security debug" codename=${new_testing:?}-security-debug description='Debian x.y Testing - Security Updates - Debug Information - Not Released' accept_source_uploads=false accept_binary_uploads=false archive=debian-security-debug
  333. for suite in testing-security testing-security-debug; do
  334. dak admin s-c add ${suite} updates/{main,contrib,non-free}
  335. dak admin s-a add ${suite} source all $(dak admin s-a list-arch stable)
  336. done
  337. dak admin s add-build-queue testing-security buildd-testing-security buildd-${new_testing:?}-security build-queues
  338. \set new_testing `echo ${new_testing}`
  339. begin;
  340. update suite set indices_compression=array['xz'], i18n_compression=array['xz'], checksums=array['sha256'], byhash=true, signingkeys = array['6ED6F5CB5FA6FB2F460AE88EEDA0D2388AE22BA9', '5E61B217265DA9807A23C5FF4DFAB270CAA96DFA'] where suite_name in ('testing-security', 'testing-security-debug', 'buildd-testing-security');
  341. update suite set
  342. debugsuite_id = (select id from suite where suite_name = 'testing-security-debug'),
  343. policy_queue_id = (select id from policy_queue where queue_name = 'embargoed')
  344. where suite_name = 'testing-security';
  345. commit;
  346. cd ${ftpdir}/dists
  347. mkdir ${new_testing}-security
  348. ln -sT ${new_testing}-security testing-security
  349. ln -sT . ${new_testing}-security/updates
  350. cd /srv/security-master.debian.org/build-queues/dists
  351. mkdir buildd-${new_testing}-security
  352. ln -sT buildd-${new_testing}-security buildd-testing-security
  353. ln -sT . ${new_testing}-security/updates
  354. cd /srv/security-master.debian.org/archive/debian-security-debug/dists
  355. mkdir ${new_testing}-security-debug
  356. ln -sT ${new_testing}-security-debug testing-security-debug
  357. ln -sT . ${new_testing}-security-debug/updates
  358. for suite in testing-security buildd-testing-security; do
  359. dak generate-packages-sources2 -s ${suite}
  360. dak generate-releases -s ${suite}
  361. done