export.sh 694 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/bash
  2. set -e
  3. set -u
  4. set -E
  5. export SCRIPTVARS=/srv/security-master.debian.org/dak/config/debian-security/vars
  6. . $SCRIPTVARS
  7. # Make sure we start out with a sane umask setting
  8. umask 022
  9. # And use one locale, no matter what the caller has set
  10. export LANG=C
  11. export LC_ALL=C
  12. . "${configdir}/../debian/common"
  13. # extract changelogs and stuff
  14. function changelogs() {
  15. log "Extracting changelogs"
  16. dak make-changelog -e -a security
  17. mkdir -p ${exportpublic}/changelogs
  18. cd ${exportpublic}/changelogs
  19. rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. .
  20. sudo -u archvsync runmirrors -a metasdo > ~dak/runmirrors-metadata.log 2>&1 &
  21. }
  22. changelogs