| commit | 4cfff958acf023e190191a2842103897201c4dad | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Wed Apr 23 10:05:39 2025 +0000 |
| committer | Jan Schär <jan@monogon.tech> | Thu May 01 06:49:22 2025 +0000 |
| tree | fcfce746a89ec85fc47ab4c2901ca43dbdc78142 | |
| parent | e269ebf50c81807a8bac8b274590c6441bb84ca9 [diff] |
build: add support for filtered stamp file The stable status file changes whenever a commit is made, which triggers unnecessary rebuilds of targets which are only stamped with variables which change less often. My idea for fixing this is to create a filtered stamp file with only the variables which change less often, and then make targets depend on this more stable stamp file instead of the stable status file. This change adds a Bazel rule for generating such a filtered stamp file, and a patch for rules_go which allows using the filtered file in x_defs. Change-Id: I1a98babeb0cc5edeac6a90c655117305c499f744 Reviewed-on: https://review.monogon.dev/c/monogon/+/4166 Reviewed-by: Tim Windelschmidt <tim@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.