aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/state.go
AgeCommit message (Collapse)Author
12 hourspkg: move from internalHEADstagingmasterdevelopOphestra
Closes #43. Signed-off-by: Ophestra <cat@gensokyo.uk>
3 daysinternal/rosa: resolve output defersOphestra
This makes behaviour identical to source. Signed-off-by: Ophestra <cat@gensokyo.uk>
5 daysinternal/rosa: read-only access to built-insOphestra
This removes potential footguns caused by mutable builtins without requiring unnecessary clones. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-08-11internal/rosa: improve nil-exec error reportingOphestra
This panics with a more descriptive error instead of relying on the SIGSEGV handler. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-08-10internal/rosa: improve helper bindingsOphestra
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-08-10internal/rosa: optionally block packages from early stagesOphestra
This helps avoid inadvertently increasing bootstrap input count. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-30internal/rosa: remove legacy exec helperOphestra
This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-25internal/rosa: remove xz utils hackOphestra
This replaces all xz invocations with the native decompressor. This also significantly cleans up the Gentoo stage3 bootstrap path. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-24internal/rosa/package/zstd: use zstd-compressed tarballOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-19internal/rosa: optionally exclude toolchain in azaleaOphestra
This is useful for edge cases where programs rely on gcc bugs to behave correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-18internal/rosa/state: patch output-only packagesOphestra
This is useful for common patched source code. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-14internal/rosa/meson: optionally use muonOphestra
This is a much faster implementation free of python dependency hell, however currently fails to handle symbol visibility correctly, so unable to default to on. This change also cleans up some meson arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-10internal/rosa: apply patches in specified orderOphestra
This seems more intuitive than letting the filesystem decide, and having to use awkward names. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-09internal/rosa: respect preferred loadavg targetOphestra
This generally improves build performance and system responsiveness. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-01internal/rosa: create /bin symlinks via helperOphestra
This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-28internal/rosa: handle nil sourceOphestra
Source is not always required. This improves flexibility. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-22internal/rosa/meson: skip specific test suitesOphestra
For disabling specific broken or flaky tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20internal/rosa: read overridden version string from sourceOphestra
This is more correct than the hardcoded string and is generally more robust against relative paths. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-09internal/rosa: expose supported architecturesOphestra
This information is useful to external tooling and makes a lot more sense in this package than cmd/mbf. This change also fixes non-native artifact resolution during clean. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-09internal/rosa: remove external toolchain referenceOphestra
This should have used toolchain passed as the argument and was mistakenly never changed when migrating to late evaluation. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-08all: apply modernisersOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-04internal/pkg: remove tar built-in decompressorOphestra
This is replaced by decompressArtifact and is no longer necessary. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-02internal/rosa: populate opts of cloned SOphestra
This was missed when migrating opts into S. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-30internal/rosa: annotate blocked updatesOphestra
These situations, while unfortunate, are inevitable at a larger scale. This change enables annotation and optional hiding of blocked updates. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27internal/rosa/package: cairoOphestra
Required by sway, which is required by vm test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-25internal/rosa: resolve runtime for overlay extrasOphestra
This is generally for system image creation, so this behaviour makes more sense. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-25internal/rosa/package: dbOphestra
For iproute2. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-23internal/rosa/package: migrate system imageOphestra
The overlay argument also enables migration of stage0. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-23internal/rosa: remove unused helpersOphestra
These are no longer needed after migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-22internal/rosa: IR-curable source overrideOphestra
This creates a tarball in-memory for overriding hakurei-source. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa/package: migrate bisonOphestra
This is the final remaining trivial legacy artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa/package: migrate tamagoOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: expose in-place behaviour in generic helperOphestra
This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa/package: migrate nssOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: extra inputs in alternative pathOphestra
This works around particularly unwieldy build systems. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: enforce exclusionsOphestra
This restores unexported artifact behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: use string pair for filesOphestra
This is a much cleaner representation than the separator syntax. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa: reinitialise frame alongside cacheOphestra
The cached frame can contain information made outdated by the DropCaches call. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa/package: migrate remaining trivial packagesOphestra
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa/package: migrate muslOphestra
This removes some legacy cruft, causing 2 rebuilds per stage. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa/package: migrate many librariesOphestra
This also adds more string helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa/package: migrate glibOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa/package: migrate spirv-llvm-translatorOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate glslangOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa: bind anitya functionsOphestra
This is far more scalable than individual fields. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate dbusOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate kernelOphestra
This introduces bindings for extra paths and KnownChecksum, and exposes a passthrough special case. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate makeOphestra
This also introduces the generic helper for unusual build scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate cmakeOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate python packagesOphestra
This also migrates LLVM LIT via the newly implemented special case. Signed-off-by: Ophestra <cat@gensokyo.uk>