Commit Graph

29 Commits

Author SHA1 Message Date
Fabian Grünbichler
dd1737b12b sync scripts with unstable
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-03-11 14:25:19 +01:00
Fabian Grünbichler
7016620bb1 backport trybuild 1.0.91-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-07-30 12:16:33 +02:00
Sylvestre Ledru
37e828a9bc fix a python warning 2023-09-20 11:26:18 +02:00
Blair Noctis
e94f9a5d01 dev/chain_build.py: env['EXTRA_DEBS'] may be not set 2023-09-20 11:26:14 +02:00
Blair Noctis
280f8587f8 dev/chain_build.py: improve RE usage 2023-09-20 11:26:10 +02:00
Fabian Grünbichler
8f6f50583c chain_build: honor EXTRA_DEBS
which can be helpful to inject system lib packages, for example.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-09-20 11:26:02 +02:00
Fabian Grünbichler
1879e5632d chain_build: improve apt detection
there might be cache entries that are not install candidates, add another
condition to the guard. one example would be repositories that are pinned with
a negative priority.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-07-03 14:08:46 +02:00
Fabian Grünbichler
b9b06374be chain_build: support non collapsed crates
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-07-03 14:08:28 +02:00
James McCoy
9127e0aed7 build_chain.py: Add support for using repackage.sh instead of update.sh 2023-07-03 10:27:21 +02:00
Blair Noctis
7ad8def344
dev/chain_build.py: fix skipping non-versioned crate present in apt cache when finding existing debs 2023-03-04 15:46:23 +08:00
Blair Noctis
c532e74edb
dev/chain_build.py: remove freshness check, unnecessary 2023-03-02 15:25:50 +08:00
Blair Noctis
bcbb74f881
dev/chain_build.py: add force build option 2023-03-02 15:07:14 +08:00
Blair Noctis
3e30c6b7ff
dev/chain_build.py: improve handling multiple crate specs and help message, retry when failed not exit, fix apt read 2023-03-02 14:57:59 +08:00
Blair Noctis
7d67db506f
dev/chain_build.py: relax "fresh" threshold to one week 2023-03-02 03:00:35 +08:00
Blair Noctis
772c9483bb
dev/chain_build.py: fix collapse_features() not working when no section present 2023-03-02 02:59:44 +08:00
Blair Noctis
a69092d296
dev/chain_build.py: better communicate packages info 2023-03-02 02:59:41 +08:00
Blair Noctis
916d6c9a11
dev/chain_build.py: use set for debs so no duplication 2023-03-02 02:39:46 +08:00
Blair Noctis
2a038eb1a9
dev/chain_build.py: fix finding just built deb 2023-03-02 02:39:44 +08:00
Blair Noctis
6ffe3f4408
dev/chain_build.py: adapt to single arg around shell substitution 2023-03-02 02:39:43 +08:00
Blair Noctis
2ebbd06f86
dev/chain_build.py: rerun update.sh if no collase_features before; filter out surplus version part 2023-03-02 02:39:40 +08:00
Blair Noctis
0be2778b5e
dev/chain_build.py: replace os.walk with ls 2023-03-01 20:15:27 +08:00
Blair Noctis
edcca8df8a
dev/chain_build.py: use python-apt to search packages 2023-03-01 17:03:05 +08:00
Blair Noctis
c2514f3cdf
dev/chain_build.py: better intermediate error prompt 2023-03-01 17:03:04 +08:00
Blair Noctis
9e05b5890c
dev/chain_build.py: check=True on subprocess.run to exit when update/build.sh failed 2023-03-01 17:03:02 +08:00
Blair Noctis
e907b9891d
dev/chain_build.py: fix adding new built deb without _todash() 2023-03-01 14:17:35 +08:00
Blair Noctis
bbd2f81a70
dev/chain_build.py: use cat as GIT_PAGER, true would trigger SIGPIPE 2023-03-01 01:23:03 +08:00
Blair Noctis
3ef5f48a66
dev/chain_build.py: fix collapse_features() not converting _ to - 2023-03-01 01:02:44 +08:00
Blair Noctis
aaa9b37872
dev/chain_build.py: adapt to shell substitution being single arg 2023-03-01 01:02:41 +08:00
Blair Noctis
6a3119c4e8
dev/chain_build.py: rename to match 2023-03-01 00:45:16 +08:00