| Age | Commit message (Collapse) | Author |
|
This remains unsupported, but is useful during testing, or when
packaging for some particularly stubborn distros.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The Gitea web interface is no longer publicly accessible, so it no
longer matters that this code style does not render well on Gitea.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This also removes the interval and fixes the mustStart search criteria.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This exposes a race during simultaneous startup between chmod and
acl_set_file, where the ACL mask is clobbered by chmod.
This remained undiscovered until now due to the previous integration
test suite's complete inability to handle concurrency (the nixos vm test
machinery could not even support python multithreading).
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This improves compatibility. This change also improves error messages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This structure is a lot less clumsy than the old nix-centric layout.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is mostly useful for the integration test suites.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This keeps archives deterministic across multiple jobs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
There will eventually be more endpoints for other CI workloads.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables use of non-cache cmd/mbf utils as root.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This obtains a fresh file descriptor on each attempt. Without resetting
it would end up endlessly appending to the buffer.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This accepts CI work over a shared read-only cache directory. This
replaces the nix CI service and prepares the removal of nix from the
test infrastructure.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
|
|
This implements an optional, alternative template layout to accommodate
ZFS and equivalent setups where each template occupies a different
filesystem. In such a setup, the default, separate workdir is unusable
as overlayfs requires the workdir to reside on the same filesystem as
the writable upperdir. The "merge" build tag enables this alternative
behaviour.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This name is less ambiguous than pkgserver.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This adds instructions and documentation for cmd/app itself and some example configuration for the typical desktop use case.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is a lot easier than grepping around. Verbose output is equivalent to assertion in the deprecated nix code.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for setting up new templates and apps.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes most redundant runtime arguments and is useful for cross-compilation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This recovers from inconsistent state on power loss and /tmp/ is not wiped on startup, or if hakurei somehow crashes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Closes #43.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
There is generally no use case where any setup is required before init, and requiring the explicit function call is error-prone and unnecessary. It also causes trouble with packages using a similar trick. This change moves argv0 check early and makes it an import side effect. The stub will be removed in v0.5.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes potential footguns caused by mutable builtins without requiring unnecessary clones.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This fixes test cases affected by jsonv2 changes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is theoretically susceptible to the PID race, but such an event is statistically impossible, and not exploitable in the intended use case, regardless.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The DCE is a slow and overcomplicated solution to a simple problem. This change replaces the DCE by resolving errors in-flight.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The readme document is pretty useless for anything other than the website, so replace it with something more relevant.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is cleaner for long-running daemon processes, and the additional information is more intuitive.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This greatly improves readability when lots of flags are registered.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This displays ongoing and complete cures via the notify channel.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is a convenience command to cure all registered packages to avoid relying on the test.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Same as the cure command, enables usage in scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables use of the cure command in scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This respects the de facto standards, on top of checking stderr.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
This is a lot more flexible for troubleshooting when used with the cure command.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This conventionally makes more sense for software not installed by the package manager.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables a FileArtifact implementation to specify whether its resulting file should be executable. This change also implements shebang and ELF magic checks in the file artifact.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables changing the behaviour of an artifact implementation without changing its IR structure. Unfortunately this changes the IR header structure resulting in many rebuilds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
There are often good reason to override this.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This makes the interface stable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This rebuilds a package repeatedly and compares outcomes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful for scripting.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For validation of build determinism.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This produces the same structure served by the dynamic server.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For the fs.FS implementation and static publishing.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are too much clutter. Move them to test directory until the test suite replacement is upstreamed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|