mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Functionality: * Add configuration to anchor position of messages (#60, 71 in Bugs.md). * Add output priorisation (#38, 68 in Bugs.md). * Print whether output is active in dump. Bug Fixes: * Fix gamma control (72 in Bugs.md). * Add missing commands to example config. * Add message_config to dump output. Example Scripts: * Add screenshot script. * Make example scripts standalone. Documentation: * Escape html tags in config man page. (#68, 69 in Bugs.md) * Improve README.md (#62, 70 in Bugs.md). * Improve SECURITY.md. * Add CONTRIBUTING.md (#62, 70 in Bugs.md). * FAQ: Add Firefox screenshare instructions for wayland. * FAQ: Add wlroots downgrading instructions for workaround in case of temporary wlroots incompatibility. * Update copyright notices to 2024. Development Tooling: * Add new gpg keys (signed by the old ones). * Add PR template. * Add dev-FAQ. * Remove now-unnecessary fanalyzer pragmas.
2.4 KiB
2.4 KiB
FAQ for Development
How is cagebreak adjusted to a new wlroots version?
There are three steps:
- Try to compile Cagebreak with the new wlroots.
- Fix the compiler errors one-by-one using the wlroots changelog for reference (https://gitlab.freedesktop.org/wlroots/wlroots/-/releases).
- Debug until Cagebreak works again.
How do I add a new test?
- Add a shell script to
test/ - Optionally add test configs to
test/testing-configurations/ - Make sure the files have shebang, copyright and SPDX License identifiers (use the other files for reference)
- Add the test to
meson.buildas in the example below. - Add paths and env vars as shown in the other tests
- Make sure the test is added to the correct suite (check out CONTRIBUTING.md for details)
test('Scan-build (static analysis)', find_program('test/scan-build'), env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel-long')
How do I add a new script?
- Add a shell script to
scripts/ - Make sure the files have shebang, copyright and SPDX License identifiers (use the other files for reference)
- Add the script to CONTRIBUTING.md
- Add the script to meson.build as shown below
run_target('create-sigs',
command : ['scripts/create-signatures', get_option('gpg_id')])
How do I add an example script?
Extrapolate from the examples in the example_scripts directory.
The script should be executable standalone. See test/script-header for a possible
library.
License, contributors etc. should be appropriate.
Shellcheck must pass on any script (use of shellcheck pragmas is allowed but discouraged).
How do I add a new gpg key?
- Check which gpg key versions are currently valid.
- Generate keys with incremented numbers/emails/dates/passphrase.
- Use 4096 Bit RSA Keys
- Sign the new keys with at least one then-old signing key.
- Genereate new cagebreak@project-repo.co key
- Sign the new mail key with the new signing keys.
- Generate new pkgbuild key.
- Sign the pkgbuild key with the new signing keys.
- Add public keys to
keys/. - Update meson_options.txt
- Update all man pages, CONTRIBUTING, gpg-validity test & SECURITY.md
- Update the pkgbuild repo with the new key (key and readme).
- Update git config email.
- Securely distribute private keys and revocation certificates as per the internal wiki.