Skip to content

Commit 2ea14bc

Browse files
authored
Merge pull request #1719 from tlaurion/Guidelines-code_of_conduct_and_contributing_md
Guidelines for contributing under CONTRIBUTING.md
2 parents 1516320 + 9f8aee7 commit 2ea14bc

2 files changed

Lines changed: 88 additions & 11 deletions

File tree

CONTRIBUTING.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Contributing to LinuxBoot/Heads
2+
3+
Thank you for your interest in contributing to LinuxBoot/Heads! We welcome contributions
4+
from everyone. Following these contribution guidelines will make handling of issues and
5+
PRs a faster and smoother process, so please try to adhere to them.
6+
7+
## Communication Channels
8+
9+
For the most up-to-date information on our community channels, please visit:
10+
https://osresearch.net/community/
11+
12+
## Best Practices for Issues and Contributions
13+
14+
Before opening an issue or submitting a contribution, please:
15+
16+
1. Search existing resources (GitHub issues, wiki, Matrix channel history).
17+
2. Review the documentation at https://osresearch.net.
18+
3. Choose the appropriate channel for your contribution or question.
19+
20+
If you're unsure about what kind of issue you're looking at or whether it's an actual issue
21+
with the project rather than your usage mistake, feel free to post a quick question briefly
22+
(actual amount of details depends on the situation) describing the situation and expect to
23+
either get a suitable answer or a request to provide a detailed problem report on GitHub
24+
which will be treated with more attention. In case of an absence of a GitHub account and
25+
unwillingness to create one, detailed report can also be submitted via Matrix and an issue
26+
will be opened on GitHub by a maintainer.
27+
28+
### When Starting a Discussion on Matrix
29+
30+
- Clearly state your topic or question.
31+
- Provide context, including your environment (OS, hardware, etc.) if relevant.
32+
- Be patient and respectful while waiting for responses. Feel free to "ping" (draw attention) after some time if it looks like your question wasn't noticed.
33+
- Structure your topic effectively with a clear title and organized content.
34+
- Use code blocks for command outputs or error messages.
35+
- Consider breaking complex topics into smaller, manageable questions.
36+
- Tag your topic with relevant keywords.
37+
38+
### When Opening an Issue on GitHub
39+
- Search globally on linuxboot organization for related keywords first.
40+
- EG: yubikey search in issues: https://github.com/search?q=org%3Alinuxboot+yubikey&type=issues
41+
- Choose a clear and descriptive title.
42+
- Clearly describe the problem or suggestion:
43+
- Summarize the issue or feature request.
44+
- Explain current behavior and expected behavior.
45+
- For bugs, provide steps to reproduce.
46+
- For feature requests, explain use case and benefits.
47+
- Mention your environment details.
48+
- If you have a proposed solution, describe it briefly.
49+
- Check for related issues or pull requests and link them.
50+
- Format your issue for readability using Markdown.
51+
- Here is a nice advanced online editor alternative to GitHub: https://stackedit.io/app#
52+
- Be responsive to follow-up questions.
53+
54+
### For Pull Requests
55+
56+
- Link to related issues or discussions.
57+
- Provide a clear description of the changes and their purpose.
58+
- Be responsive to feedback and prepared to make adjustments.
59+
- **Important**: All commits to linuxboot/heads (*not heads-wiki!*) must be signed.
60+
- For instructions, see: [Signing commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
61+
- If you won't GPG-sign your commits (GitHub signature doesn't count), they will get signed by a maintainer after a successful review, but it's strongly preferred you do it yourself.
62+
63+
## GitHub Repositories
64+
65+
- **linuxboot/heads**: https://github.com/linuxboot/heads
66+
- Main repository for code, development, and user experience improvements.
67+
- All commits must be signed.
68+
- **linuxboot/heads-wiki**: https://github.com/linuxboot/heads-wiki
69+
- Repository for project documentation.
70+
- Content is rendered and searchable at https://osresearch.net
71+
- *Commits don't have to be signed to lower bar for contribution*.
72+
73+
We appreciate your contributions to the LinuxBoot/Heads project!

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Heads booting on an x230](https://user-images.githubusercontent.com/827570/156627927-7239a936-e7b1-4ffb-9329-1c422dc70266.jpeg)
22

33
Heads: the other side of TAILS
4-
===
4+
==
55

66
Heads is a configuration for laptops and servers that tries to bring
77
more security to commodity hardware. Among its goals are:
@@ -25,28 +25,32 @@ Documentation
2525
===
2626
Please refer to [Heads-wiki](https://osresearch.net) for your Heads' documentation needs.
2727

28+
Contributing
29+
===
30+
We welcome contributions to the Heads project! Before contributing, please read our [Contributing Guidelines](CONTRIBUTING.md) for information on how to get started, submit issues, and propose changes.
31+
2832

2933
Building heads
30-
===
34+
==
3135

3236
Under QubesOS?
33-
====
37+
===
3438
* Setup nix persistent layer under QubesOS (Thanks @rapenne-s !)
3539
* https://dataswamp.org/~solene/2023-05-15-qubes-os-install-nix.html
3640
* Install docker under QubesOS (imperfect old article of mine. Better somewhere?)
3741
* https://gist.github.com/tlaurion/9113983bbdead492735c8438cd14d6cd
3842

3943
Build docker from nix develop layer locally
40-
====
44+
===
4145

4246
#### Set up Nix and flakes
4347

44-
* If you don't already have Nix, install it:
45-
* `[ -d /nix ] || sh <(curl -L https://nixos.org/nix/install) --no-daemon`
46-
* `. /home/user/.nix-profile/etc/profile.d/nix.sh`
47-
* Enable flake support in nix
48-
* `mkdir -p ~/.config/nix`
49-
* `echo 'experimental-features = nix-command flakes' >>~/.config/nix/nix.conf`
48+
* If you don't already have Nix, install it:
49+
* `[ -d /nix ] || sh <(curl -L https://nixos.org/nix/install) --no-daemon`
50+
* `. /home/user/.nix-profile/etc/profile.d/nix.sh`
51+
* Enable flake support in nix
52+
* `mkdir -p ~/.config/nix`
53+
* `echo 'experimental-features = nix-command flakes' >>~/.config/nix/nix.conf`
5054

5155

5256
#### Build image
@@ -74,7 +78,7 @@ Done!
7478
Your local docker image "linuxboot/heads:dev-env" is ready to use, reproducible for the specific Heads commit used and will produce ROMs reproducible for that Heads commit ID.
7579

7680
Jump into nix develop created docker image for interactive workflow
77-
=====
81+
====
7882
`docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) linuxboot/heads:dev-env`
7983

8084

0 commit comments

Comments
 (0)