Skip to content

Commit 13c8267

Browse files
committed
chore: add non-code files
Signed-off-by: Daniel Hu <tao.hu@merico.dev>
1 parent 2073249 commit 13c8267

17 files changed

Lines changed: 992 additions & 0 deletions

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*.{go,mod}]
10+
indent_style = tab
11+
12+
[Makefile]
13+
indent_style = tab
14+
15+
[*.md]
16+
max_line_length = off
17+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto eol=lf
2+
3+
*.{png,jpg,jpeg,gif,webp,woff,woff2} binary

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Mac OS X files
2+
.DS_Store
3+
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.dll
7+
*.so
8+
*.dylib
9+
10+
# Test binary, build with `go test -c`
11+
*.test
12+
13+
# Output of the go coverage tool, specifically when used with LiteIDE
14+
*.out
15+
16+
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
17+
.glide/
18+
19+
# IDE
20+
.idea/
21+
.vscode/

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# options for analysis running
2+
run:
3+
# timeout for analysis, e.g. 30s, 5m, default is 1m
4+
timeout: 10m

CODE_OF_CONDUCT.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Conduct
2+
3+
We are committed to providing a friendly, safe and welcoming environment for all, regardless of the level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristics.
4+
5+
Please avoid using overtly sexual aliases or other nicknames that might detract from a friendly, safe, and welcoming environment for all.
6+
7+
Please be kind and courteous. There’s no need to be mean or rude.
8+
9+
Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
10+
11+
Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
12+
13+
We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term “harassment” as including the definition in the Citizen Code of Conduct; if you lack clarity about what might be included in that concept, please read their definition. In particular, we don’t tolerate behavior that excludes people in socially marginalized groups.
14+
15+
Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please get in touch with one of the channel ops or any of the DevStream moderation team immediately. Whether you’re a regular contributor or a newcomer, we care about making this community a safe place for you, and we’ve got your back.
16+
17+
Any spamming, trolling, flaming, baiting, or other attention-stealing behavior is not welcome.
18+
19+
[Email The Moderation Team](mailto:tao.hu@merico.dev)
20+
21+
## Moderation
22+
23+
These are the policies for upholding our community’s standards of conduct. If you feel that a thread needs moderation, please get in touch with the DevStream moderation team.
24+
25+
Remarks that violate the DevStream standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed. (Cursing is allowed, but never targeting another user, and never in a hostile manner.)
26+
27+
Remarks that moderators find inappropriate, whether listed in the code of conduct or not, are also not allowed.
28+
29+
Moderators will first respond to such remarks with a warning.
30+
31+
If the warning is unheeded, the user will be “kicked,” i.e., kicked out of the communication channel to cool off.
32+
33+
If the user comes back and continues to make trouble, they will be banned, i.e., indefinitely excluded.
34+
35+
Moderators may choose at their discretion to un-ban the user if it was the first offense, and they offer the offended party a genuine apology.
36+
37+
If a moderator bans someone and you think it was unjustified, please take it up with that moderator or a different moderator in private. Complaints about bans in-channel are not allowed.
38+
39+
Moderators are held to a higher standard than other community members. If a moderator creates an inappropriate situation, they should expect less leeway than others.
40+
41+
In the DevStream community, we strive to go the extra step to look out for each other. Don’t just aim to be technically unimpeachable; try to be your best self. In particular, avoid flirting with offensive or sensitive issues, particularly if they’re off-topic; this all too often leads to unnecessary fights, hurt feelings, and damaged trust; worse, it can drive people away from the community entirely.
42+
43+
And if someone takes issue with something you said or did, resist the urge to be defensive. Just stop doing what it was they complained about and apologize. Even if you feel you were misinterpreted or unfairly accused, chances are good there was something you could’ve communicated better - remember that it’s your responsibility to make your fellows comfortable. Everyone wants to get along, and we are all here first and foremost because we want to talk about cool technology. You will find that people will be eager to assume good intent and forgive as long as you earn their trust.
44+
45+
The enforcement policies listed above apply to all official DevStream venues, including Discord channels and GitHub repository.
46+
47+
The DevStream code of conduct is adapted from the [Rust code of conduct](https://www.rust-lang.org/policies/code-of-conduct).

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contributing
2+
3+
Welcome to DevStream!
4+
5+
Thanks for contributing, and thanks for reading this doc before doing it!
6+
7+
The [DevStream Docs website](https://docs.devstream.io) contains information about how to get started, how the community organizes, and more. See the followings for more details before you decide to contribute:
8+
9+
- [Contributing Guide](https://docs.devstream.io/en/latest/contributing_guide/).
10+
- [Development Workflow](https://docs.devstream.io/en/latest/development/git-workflow/git-workflow/), and other docs under the "Developer Guide" section.
11+
12+
Those guidelines, as the name suggests, are only guidelines, not rules. So, use your best judgment, and feel free to propose changes to the contribute/development docs.

GOVERNANCE.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Project Governance
2+
3+
## Values
4+
5+
DevStream and its leadership embrace the following values:
6+
7+
- Inclusivity: We innovate through different perspectives and skill sets, which can only be accomplished in a welcoming and respectful environment.
8+
9+
- Insist on the Highest Standards: Contributors have relentlessly high standards — many people may think these standards are unreasonably high. Contributors are continually raising the bar and drive their teams to deliver high quality products, services, and processes. Contributors ensure that defects do not get sent down the line and that problems are fixed so they stay fixed.
10+
11+
- Ownership: Contributors are owners. They think long term and don’t sacrifice long-term value for short-term results. They act on behalf of the entire community, beyond just their own. They never say "that’s not my job."
12+
13+
- Participation: Responsibilities within the project are earned through participation, and there is a clear path up the contributor ladder into leadership positions.
14+
15+
- Community over Product or Company: Sustaining and growing our community takes priority over shipping code or sponsors' organizational goals. Each contributor participates in the project as an individual.
16+
17+
- Openness: Communication and decision-making happen in the open and is discoverable for future reference as much as possible. All discussions and work take place in public Slack channels and open repositories.
18+
19+
- Fairness: All stakeholders have the opportunity to provide feedback and submit contributions, which will be considered on their merits.
20+
21+
## Maintainers
22+
23+
DevStream Maintainers have write access to the [DevStream GitHub repository](https://github.com/devstream-io/devstream). They can merge their patches or patches from others. The current maintainers can be found in [CODEOWNERS](./CODEOWNERS). Maintainers collectively manage the project's resources and contributors.
24+
25+
This privilege is granted with some expectation of responsibility: maintainers are people who care about the DevStream project and want to help it grow and improve. A maintainer is not just someone who can make changes, but someone who has demonstrated their ability to collaborate with the team, get the most knowledgeable people to review code and docs, contribute high-quality code, and follow through to fix issues (in code or tests).
26+
27+
A maintainer is a contributor to the project's success and a citizen helping the project succeed.
28+
29+
## Becoming a Maintainer
30+
31+
See [here](https://docs.devstream.io/en/latest/contributor_ladder/#maintainer).
32+
33+
## Meetings
34+
35+
Time zones permitting, Maintainers are expected to participate in the public developer meeting, which is published [here](https://github.com/devstream-io/devstream/wiki).
36+
37+
Maintainers will also have closed meetings to discuss security reports or Code of Conduct violations. Such meetings should be scheduled by any Maintainer on receipt of a security issue or CoC report. All current Maintainers must be invited to such closed meetings, except for any Maintainer who is accused of a CoC violation.
38+
39+
## CNCF Resources
40+
41+
Any Maintainer may suggest a request for CNCF resources during a meeting. A simple majority of Maintainers approve the request. The Maintainers may also choose to delegate working with the CNCF to non-Maintainer community members.
42+
43+
## Code of Conduct
44+
45+
[Code of Conduct](./CODE_OF_CONDUCT.md) violations by community members will be discussed and resolved during the private maintainer meeting. If the reported CoC violator is a Maintainer, the Maintainers will instead designate two Maintainers to work with CNCF staff in resolving the report.
46+
47+
## Voting
48+
49+
While most business in DevStream is conducted by "lazy consensus", periodically the Maintainers may need to vote on specific actions or changes. A vote can be taken during a community meeting or a private maintainer meeting for security or conduct matters. Any Maintainer may
50+
demand a vote be taken.
51+
52+
Most votes require a simple majority of all Maintainers to succeed. Maintainers can be removed by a 2/3 majority vote of all Maintainers, and changes to this Governance require a 2/3 vote of all Maintainers.

0 commit comments

Comments
 (0)