Robin H. Johnson
9a3f920c95
copy_buildsync: ensure cleanup of old symlinks fires
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:35:51 -07:00
Robin H. Johnson
04bc16e086
copy_buildsync: fix corner cases for targets changing
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:32:15 -07:00
Robin H. Johnson
8b0e4c14c1
Revert "copy_buildsync: disable sync for everything except alpha to test new symlink code"
...
This reverts commit 5ef7b638f1
.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:20:26 -07:00
Robin H. Johnson
2fd21d11ea
copy_buildsync: fix relative globbing again
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:17:54 -07:00
Robin H. Johnson
a4fdfd2a58
copy_buildsync: fix relative globbing
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:17:02 -07:00
Robin H. Johnson
ddd18bfa90
copy_buildsync: fix check typo
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:10:42 -07:00
Robin H. Johnson
5ef7b638f1
copy_buildsync: disable sync for everything except alpha to test new symlink code
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:09:23 -07:00
Robin H. Johnson
9c04ea27ac
copy_buildsync: convert current-* to directory instead of symlink
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:07:20 -07:00
Robin H. Johnson
6c75b00db7
copy_buildsync: fix tempfile for OUT_ISO & OUT_STAGE, plus comments
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2023-10-08 16:06:13 -07:00
Ben Kohler
1716e0f39b
scripts/copy_buildsync.sh: add loong to ARCHES
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2022-10-13 10:52:19 -05:00
Andreas K. Hüttel
d4d4ff3d5e
Re-enable mips uploads
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2022-03-01 11:23:16 +01:00
Robin H. Johnson
b42481cdb6
scripts/copy_buildsync: disable dead spam
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2021-11-12 10:42:47 -08:00
Andreas K. Hüttel
6cd81639e3
Revert "Actually remove dead txt files"
...
This reverts commit ebb201a6dd
.
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-11-12 19:31:21 +01:00
Andreas K. Hüttel
f72b1445e2
Revert "This is bash. Prepare to be substituted."
...
This reverts commit 724fbc1c29
.
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-11-12 19:31:11 +01:00
Andreas K. Hüttel
724fbc1c29
This is bash. Prepare to be substituted.
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-11-12 19:18:44 +01:00
Robin H. Johnson
8623ef538c
scripts/copy_buildsync: dead detection works too well, send to files instead
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2021-11-12 10:00:31 -08:00
Andreas K. Hüttel
ebb201a6dd
Actually remove dead txt files
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-11-12 18:45:42 +01:00
Matt Turner
502ed37683
scripts/copy_buildsync: Fix typo
...
Signed-off-by: Matt Turner <mattst88@gmail.com>
2021-11-11 19:32:10 -08:00
Robin H. Johnson
8eb8dd235d
scripts/copy_buildsync: try to find dead links and textfiles
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2021-11-11 16:15:05 -08:00
Andreas K. Hüttel
f7764f5d60
Typo fix
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-11-01 21:46:38 +01:00
Andreas K. Hüttel
9e885d861f
Do not advertise a "current stage3" or a "current iso" in general
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-10-31 18:45:35 +01:00
Andreas K. Hüttel
087b195104
Add m68k to copy_buildsync arch list
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-09-02 23:50:40 +02:00
Andreas K. Hüttel
8fa82be9c4
Add riscv to list of uploading arches
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2021-01-23 16:53:37 +02:00
Matt Turner
e022f98866
scripts/copy_buildsync: Add arm64
...
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-08-14 12:21:11 -07:00
Robin H. Johnson
a4b2ec7de2
scripts/copy_buildsync: shellcheck pass
...
[mattst88]: Small fixes
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2018-11-21 11:13:05 -08:00
Robin H. Johnson
9fa4c8f32c
scripts/copy_buildsync: cleanup excludes of tempfile
...
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2018-11-21 11:13:02 -08:00
Matt Turner
c9ad265f80
scripts/copy_buildsync: try to exclude rsync tempfile
...
In-progress uploads are named .<filename>.<rsynctemp> and were
mistakenly recognized by copy_buildsync.sh as targets to sweep to the
mirrors. When it did, it deleted the file causing the in-progress upload
to fail.
Since the script is run by cron every 15 minutes, this would lead to a
large portion of the generated installation media to fail to upload, and
worse there is no pattern to it -- it just happens whenever an upload
spans the 15 minute boundary.
The fix is to ignore hidden files and to tell rsync (via the filter
rules) to exclude them from its sweep to the mirrors.
Closes: https://bugs.gentoo.org/670458
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2018-11-21 11:07:26 -08:00
Robin H. Johnson
ed258c751b
tools/catalyst-auto: change datestamp->timestamp
...
Prepare for doing multiple automated runs in a single day on
newer/faster build systems.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-07 23:40:38 -08:00
Robin H. Johnson
060a341e10
copy_buildsync: squelch errors.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-06 11:31:55 -07:00
Mike Frysinger
2736e468eb
copy_buildsync.sh: handle netboot artifacts
...
Make sure we process netboot kernels as releases too.
2016-03-20 19:51:56 -04:00
Mike Frysinger
62f25f4995
copy_buildsync.sh: fix extension handling
...
The change to use a list of file extensions w/find doesn't actually work:
the [] operators sets up a group of chars to match, and it isn't split by
the comma char. It's equiv to doing "*[,.2abfgrstxz]".
2016-03-20 19:37:44 -04:00
Mike Frysinger
ffa42e7a10
copy_buildsync.sh: simplify the latest-iso symlink checks
2016-03-20 18:29:45 -04:00
Mike Frysinger
7c16ed27d6
copy_buildsync.sh: simplify the latest-stage3 symlink checks
...
The current code is a bit overwrought when it's a simple string compare.
2016-03-20 18:12:57 -04:00
Mike Frysinger
867545ebd8
copy_buildsync.sh: simplify find clean up
...
Use find options to process everything rather than running through
grep/sort/tr/xargs.
2016-03-20 17:55:08 -04:00
Mike Frysinger
6325704c08
copy_buildsync.sh: convert input copying logic to a func
...
Minor clean up ... should not be any real functional changes.
2016-03-20 17:44:59 -04:00
Mike Frysinger
2c172ab248
copy_buildsync.sh: add command line options for verbose/debug mode
...
This makes it easier to do some debugging on the fly w/out having to
edit the script directly.
2016-03-20 17:18:25 -04:00
Mike Frysinger
a1b63fb90e
copy_buildsync.sh: convert code to use funcs
...
This makes the code a bit easier to follow and break up.
2016-03-20 17:10:47 -04:00
Mike Frysinger
d14007c774
copy_buildsync.sh: convert code to use arrays
...
This makes it a bit cleaner to work with arguments.
2016-03-20 16:46:11 -04:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
1a3bf71810
Remove old code, clean-up and cosmetic changes.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2015-10-22 09:59:09 +00:00
Robin H. Johnson
3b8ed31f08
Bail in the variant loop if the variant_path comes out empty, as seen in cron mail from the script.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-10-20 10:30:13 -07:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
260f36c938
Update copy_buildsync.sh script to support stages with other suffixes.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2015-10-02 22:43:36 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
e0189f9b76
Update the script to improve the readbility of the latest-{iso,stage3} for amd64/x86.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2015-02-06 19:11:54 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
9b17aafc0a
Sort arches.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2015-02-06 16:33:26 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
b7c90993c1
Disable latest-stage3 for amd64 and x86 to avoid confusion for users when some sets fail to build.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2014-03-27 02:07:49 -01:00
Raúl Porcel
b7a016e9ca
Do not use current-stage3 symlink on arm/hppa/s390/sh since releases are pushed with different datestamp and therefore current-stage3 only links to the latest that was pushed
2013-08-17 19:13:22 +00:00
Raúl Porcel
35ff9cd616
Use the variant function for the generic latest-stage3.txt
2013-08-17 18:58:44 +00:00
Raúl Porcel
6cfdd7f82b
Narrow the regex a bit so f.ex stage3-amd64-nomultilib doesn't show up in latest-stage3-amd4.txt
2013-08-17 16:51:54 +00:00
Raúl Porcel
0e32c9e435
To pull a new arch something must be done from infra side, and since m68k isn't automated and its not in a good state, I'll push them to experimental instead
2013-08-05 12:02:44 +00:00
Raúl Porcel
609e096a7d
Add m68k
2013-08-04 18:01:17 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
08c9ca74d6
Whitespace.
2013-04-18 08:04:50 +00:00