force overrides trace and update x.org repo

This commit is contained in:
Andrew Wang 2022-08-05 01:25:18 +00:00
parent 3c7cb13769
commit 39fc29a0a8
3 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
## Status of moving from merlin to merlin-go ## Status of Mirror Synchronization
- [x] debian - [x] debian
- [ ] ubuntu (successful but too slow) - [ ] ubuntu (successful but too slow)
- [ ] ubuntu-ports (successful but too slow) - [ ] ubuntu-ports (successful but too slow)
@ -10,7 +10,7 @@
- [x] xubuntu-releases - [x] xubuntu-releases
- [ ] puppylinux (broken) - [ ] puppylinux (broken)
- [ ] CPAN (unstable) - [ ] CPAN (unstable)
- [ ] CRAN < - [x] CRAN
- [x] CTAN - [x] CTAN
- [ ] fedora-epel (some attrs not transfered) - [ ] fedora-epel (some attrs not transfered)
- [x] cygwin - [x] cygwin
@ -26,13 +26,13 @@
- [ ] eclipse (unstable) - [ ] eclipse (unstable)
- [x] kde - [x] kde
- [x] kde-applicationdata - [x] kde-applicationdata
- [ ] archlinux < - [x] archlinux
- [x] artixlinx - [x] artixlinx
- [x] slackware - [x] slackware
- [x] debian-cd - [x] debian-cd
- [x] x.org - [ ] x.org < (test with new sync location)
- [x] centos - [x] centos
- [x] opensuse - [ ] opensuse <
- [x] FreeBSD - [x] FreeBSD
- [ ] fedora-enchilada (broken: some attrs not transfered) - [ ] fedora-enchilada (broken: some attrs not transfered)
- [x] ubuntu-ports-releases - [x] ubuntu-ports-releases
@ -48,7 +48,7 @@
- [x] sagemath - [x] sagemath
- [x] vlc - [x] vlc
- [x] tdf - [x] tdf
- [ ] saltstack < - [x] saltstack
- [ ] alpine (unstable) - [ ] alpine (unstable)
- [ ] raspbian (broken: too slow and failing) - [ ] raspbian (broken: too slow and failing)
- [x] raspberrypi - [x] raspberrypi
@ -62,7 +62,7 @@
- [x] almalinux - [x] almalinux
- [x] ceph - [x] ceph
### Other Repos ### Repos not being synced
- debian-cdimage - debian-cdimage
- debian-volatile - debian-volatile
- emdebian - emdebian

View File

@ -100,7 +100,6 @@ rsync_host = cpan-rsync.perl.org
rsync_dir = CPAN rsync_dir = CPAN
[CRAN] [CRAN]
verbose = true
sync_type = csc-sync-ssh sync_type = csc-sync-ssh
frequency = twice-daily frequency = twice-daily
local_dir = CRAN local_dir = CRAN
@ -222,7 +221,6 @@ rsync_dir = applicationdata
; our rsync_host is rsync://rsync.archlinux.org/ftp_tier1 ; our rsync_host is rsync://rsync.archlinux.org/ftp_tier1
[archlinux] [archlinux]
; csc-sync-standard archlinux archlinux.mirror.rafal.ca archlinux ; csc-sync-standard archlinux archlinux.mirror.rafal.ca archlinux
verbose = true
sync_type = csc-sync-archlinux sync_type = csc-sync-archlinux
frequency = five-minutely frequency = five-minutely
local_dir = archlinux local_dir = archlinux
@ -252,14 +250,16 @@ rsync_host = cdimage.debian.org
rsync_dir = debian-cd rsync_dir = debian-cd
[x.org] [x.org]
; rsync://mirrors.ircam.fr/pub/x.org/ verbose = true
; csc-sync-standard x.org xorg.freedesktop.org xorg-archive ; csc-sync-standard x.org xorg.freedesktop.org xorg-archive
; csc-sync-standard x.org mirror.us.leaseweb.net xorg ; csc-sync-standard x.org mirror.us.leaseweb.net xorg
sync_type = csc-sync-standard sync_type = csc-sync-standard
frequency = twice-daily frequency = twice-daily
local_dir = x.org local_dir = x.org
rsync_host = rsync.mirrorservice.org rsync_host = mirrors.ircam.fr
rsync_dir = ftp.x.org/pub/ rsync_dir = pub/x.org/
; rsync_host = rsync.mirrorservice.org
; rsync_dir = ftp.x.org/pub/
[centos] [centos]
sync_type = csc-sync-standard sync_type = csc-sync-standard
@ -269,6 +269,7 @@ rsync_host = us-msync.centos.org
rsync_dir = CentOS rsync_dir = CentOS
[opensuse] [opensuse]
verbose = true
; unsure what this setting is supposed to do ; unsure what this setting is supposed to do
; #"--exclude distribution/.timestamp_invisible" ; #"--exclude distribution/.timestamp_invisible"
sync_type = csc-sync-standard sync_type = csc-sync-standard
@ -396,7 +397,6 @@ rsync_host = rsync.documentfoundation.org
rsync_dir = tdf-pub rsync_dir = tdf-pub
[saltstack] [saltstack]
verbose = true
sync_type = csc-sync-s3 sync_type = csc-sync-s3
frequency = daily frequency = daily
local_dir = saltstack local_dir = saltstack

View File

@ -21,7 +21,7 @@ func SyncIfPossible(repo *config.Repo, force bool) bool {
repo.SaveState() repo.SaveState()
repo.Logger.Info(fmt.Sprintf("Repo %s has started syncing", repo.Name)) repo.Logger.Info(fmt.Sprintf("Repo %s has started syncing", repo.Name))
go startRepoSync(repo) go startRepoSync(repo, force)
return true return true
} }
return false return false
@ -48,7 +48,7 @@ func SyncCompleted(repo *config.Repo, exit int) {
} }
// begin and manage the steps of the sync and return the exit status // begin and manage the steps of the sync and return the exit status
func startRepoSync(repo *config.Repo) { func startRepoSync(repo *config.Repo, force bool) {
status := config.FAILURE status := config.FAILURE
done := false done := false
@ -60,7 +60,7 @@ func startRepoSync(repo *config.Repo) {
}() }()
status, done = preRepoSync(repo) status, done = preRepoSync(repo)
if done { if done && !force {
return return
} }