| commit | bddad354b8dd768a7b883b12ca7274b04ce05bc6 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Wed Apr 23 14:55:26 2025 +0000 |
| committer | Jan Schär <jan@monogon.tech> | Thu May 01 06:49:22 2025 +0000 |
| tree | 54906615cc7d434703b729784eda51a61c77b51b | |
| parent | 10670e58174de17d42ecfe77e45f9826df8a6c74 [diff] |
treewide: fix nostamp Previously, --nostamp did not disable all stamping with commit info, which meant that metropolis e2e tests ran on CI even if no change was made to metropolis code. Now, --config:nostamp does this properly. The Bazel --nostamp flag is supposed to disable stamping. Ideally, this means that the workspace status script is not executed. But we can't do that because the metropolis version is required (e.g. for compatibility checks), and we currently obtain the version from git tags. Another option is to check whether the --nostamp flag is set in the status script, and omit any git commit info in this case. But I didn't find a way to access the --nostamp flag from the status script, so instead, the --config:nostamp flag is introduced and replaces --nostamp. Versions without git info are marked with a "-nostamp" suffix. I adjusted //version to handle this case. Change-Id: I34e1b59b908074e8d4234013358b6be41899570a Reviewed-on: https://review.monogon.dev/c/monogon/+/4169 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
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.