aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/make.go
AgeCommit message (Collapse)Author
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-20internal/rosa: remove global handlesOphestra
These no longer serve any purpose. 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: create metadata alongside artifactOphestra
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-18internal/rosa: migrate GNU softwareOphestra
These are quite trivial, so migrate them in one pass. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-17internal/rosa: pass stage alongside stateOphestra
This cleans up many function signatures. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-17internal/rosa: key metadata by stringOphestra
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-01internal/rosa: global preset flagsOphestra
These changes preset behaviour globally. Useful for ad hoc workarounds for development or bootstrapping on resource-constrained systems. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-30internal/rosa/make: do not attempt checkOphestra
This is circular during bootstrap, and tests are silently skipped without perl, so disable them explicitly. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-15internal/rosa/make: optionally format value as isOphestra
This enables correct formatting for awkward configure scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-15internal/rosa: respect preferred job countOphestra
This discontinues use of nproc, and also overrides detection behaviour in ninja. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-14internal/rosa/cmake: remove variantOphestra
This has no effect outside formatting of name and is a remnant of the old llvm helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-13internal/rosa: helpers for common url formatsOphestra
This cleans up call site of NewPackage. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-31internal/rosa: use type P in helper interfaceOphestra
This is easier to type and serialises correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-26internal/rosa: key-value typeOphestra
This type is used very frequently. The new type is much easier to type and can receive helper methods eventually if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa: populate Anitya project idsOphestra
This enables release monitoring for all applicable projects. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa: provide package metadataOphestra
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-02internal/rosa/make: migrate to helper interfaceOphestra
This also updates all affected artifacts to use new behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-01internal/rosa/make: split build and checkOphestra
Doing these together breaks far too many buggy makefiles. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-01internal/rosa/make: alternative configure scriptOphestra
This enables using the configure helper with non-autotools configure scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa/make: expose --hostOphestra
This should be set alongside --build. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-12internal/rosa/make: configurable configure and installOphestra
This makes the helper useful for non-autotools build systems. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-09internal/rosa: rename stage0 toolchainOphestra
This is stage0 relative to Rosa OS, and stage3 relative to the toolchain it is compiled on (Gentoo in this case). Referring to the toolchain itself as stage3 is counterintuitive and misleading. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-05internal/rosa/make: post-configure scriptOphestra
Required for some projects with broken build scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa: fetch from gnu mirrorOphestra
GNU infrastructure is extraordinarily flaky and fetching from it killed the server too many times. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa: migrate to make helperOphestra
This migrates artifacts that the helper cannot produce an identical instance of. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa: make helperOphestra
This change only migrates artifacts that remain unchanged under the helper, so this change should not cause any rebuilds. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa: isolate make implementationOphestra
This will come with a helper eventually. Signed-off-by: Ophestra <cat@gensokyo.uk>