mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Show the real commit hash for `./servo --version`, not the bundle hash <!-- Please describe your changes on the following line: --> Show the real commit hash of the build when run on a bundle commit, rather than showing the bundle's hash. It gets the real commit hash by extracting it from the bundle commit message, which has the form `Shallow version of commit {sha1}`, where `{sha1}` is the real commit hash. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors (edits Python code, no Rust changes) - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #26386 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this only changes infrastructure <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> |
||
---|---|---|
.. | ||
servo | ||
tidy | ||
mach_bootstrap.py | ||
README.md | ||
requirements-salt.txt | ||
requirements.txt | ||
tox.ini |
This directory contains various Python modules used to support servo development.
servo
servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.
tidy
servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.