Skip to content

Commit 9260572

Browse files
bumahkib7claude
andcommitted
Add open source community files
- LICENSE (MIT) - CODE_OF_CONDUCT.md (Contributor Covenant) - SECURITY.md (vulnerability reporting policy) - Issue templates (bug report, feature request) - Pull request template - Issue template config (links to discussions/security) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 11e4a6e commit 9260572

File tree

7 files changed

+416
-0
lines changed

7 files changed

+416
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the sections below.
10+
11+
- type: input
12+
id: version
13+
attributes:
14+
label: RMA Version
15+
description: Run `rma --version` to get this
16+
placeholder: "0.14.0"
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: os
22+
attributes:
23+
label: Operating System
24+
options:
25+
- macOS
26+
- Linux
27+
- Windows
28+
- Other
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: description
34+
attributes:
35+
label: Bug Description
36+
description: A clear and concise description of the bug
37+
placeholder: Describe what happened...
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: reproduction
43+
attributes:
44+
label: Steps to Reproduce
45+
description: Steps to reproduce the behavior
46+
placeholder: |
47+
1. Run `rma scan ...`
48+
2. See error
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
id: expected
54+
attributes:
55+
label: Expected Behavior
56+
description: What you expected to happen
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: actual
62+
attributes:
63+
label: Actual Behavior
64+
description: What actually happened
65+
validations:
66+
required: true
67+
68+
- type: textarea
69+
id: logs
70+
attributes:
71+
label: Relevant Logs/Output
72+
description: Any error messages or logs (use code blocks)
73+
render: shell
74+
75+
- type: textarea
76+
id: context
77+
attributes:
78+
label: Additional Context
79+
description: Any other context (sample code, screenshots, etc.)
80+
81+
- type: checkboxes
82+
id: checklist
83+
attributes:
84+
label: Checklist
85+
options:
86+
- label: I have searched existing issues to ensure this is not a duplicate
87+
required: true
88+
- label: I am using the latest version of RMA
89+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Question / Discussion
4+
url: https://github.com/bumahkib7/rust-monorepo-analyzer/discussions
5+
about: Ask questions and discuss ideas in GitHub Discussions
6+
- name: Security Vulnerability
7+
url: https://github.com/bumahkib7/rust-monorepo-analyzer/security/advisories/new
8+
about: Report security vulnerabilities privately
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a feature! Please describe what you'd like to see.
10+
11+
- type: dropdown
12+
id: category
13+
attributes:
14+
label: Feature Category
15+
options:
16+
- New Security Rule
17+
- New Language Support
18+
- CLI Improvement
19+
- Performance
20+
- Output/Reporting
21+
- Integration (CI/CD, IDE)
22+
- Documentation
23+
- Other
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: problem
29+
attributes:
30+
label: Problem Statement
31+
description: What problem does this feature solve?
32+
placeholder: I'm frustrated when...
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: solution
38+
attributes:
39+
label: Proposed Solution
40+
description: Describe your ideal solution
41+
placeholder: It would be great if RMA could...
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
id: alternatives
47+
attributes:
48+
label: Alternatives Considered
49+
description: Any alternative solutions you've considered
50+
placeholder: I also thought about...
51+
52+
- type: dropdown
53+
id: languages
54+
attributes:
55+
label: Affected Languages (if applicable)
56+
multiple: true
57+
options:
58+
- JavaScript/TypeScript
59+
- Python
60+
- Rust
61+
- Go
62+
- Java
63+
- All Languages
64+
- Not Applicable
65+
66+
- type: textarea
67+
id: examples
68+
attributes:
69+
label: Examples
70+
description: Code examples, links to similar tools, or mockups
71+
placeholder: |
72+
```javascript
73+
// Example code that should trigger the rule
74+
```
75+
76+
- type: checkboxes
77+
id: contribution
78+
attributes:
79+
label: Contribution
80+
options:
81+
- label: I would be willing to help implement this feature
82+
required: false
83+
84+
- type: checkboxes
85+
id: checklist
86+
attributes:
87+
label: Checklist
88+
options:
89+
- label: I have searched existing issues to ensure this is not a duplicate
90+
required: true

.github/pull_request_template.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
## Summary
2+
3+
<!-- Brief description of changes (1-3 sentences) -->
4+
5+
## Type of Change
6+
7+
<!-- Mark with [x] -->
8+
9+
- [ ] Bug fix (non-breaking change that fixes an issue)
10+
- [ ] New feature (non-breaking change that adds functionality)
11+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
12+
- [ ] Documentation update
13+
- [ ] Refactoring (no functional changes)
14+
- [ ] Performance improvement
15+
- [ ] Test addition/improvement
16+
17+
## Related Issues
18+
19+
<!-- Link to related issues: Fixes #123, Closes #456, Related to #789 -->
20+
21+
## Changes Made
22+
23+
<!-- Bullet list of specific changes -->
24+
25+
-
26+
-
27+
-
28+
29+
## Testing
30+
31+
<!-- Describe how you tested your changes -->
32+
33+
- [ ] Added/updated unit tests
34+
- [ ] Added/updated integration tests
35+
- [ ] Tested manually with `cargo run -p rma-cli -- scan .`
36+
- [ ] Tested on sample repositories
37+
38+
## Checklist
39+
40+
<!-- All items must be checked before merging -->
41+
42+
- [ ] Code follows the project's style guidelines (`cargo fmt`)
43+
- [ ] Self-reviewed my own code
44+
- [ ] Commented hard-to-understand areas
45+
- [ ] Updated documentation if needed
46+
- [ ] No new warnings from `cargo clippy`
47+
- [ ] All tests pass (`cargo test --workspace`)
48+
- [ ] Added CHANGELOG entry (for features/fixes)
49+
50+
## Screenshots/Output
51+
52+
<!-- If applicable, add screenshots or CLI output -->
53+
54+
```
55+
# Example output
56+
```
57+
58+
## Additional Notes
59+
60+
<!-- Any additional information for reviewers -->

CODE_OF_CONDUCT.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment:
18+
19+
* Using welcoming and inclusive language
20+
* Being respectful of differing viewpoints and experiences
21+
* Gracefully accepting constructive criticism
22+
* Focusing on what is best for the community
23+
* Showing empathy towards other community members
24+
25+
Examples of unacceptable behavior:
26+
27+
* The use of sexualized language or imagery and unwelcome advances
28+
* Trolling, insulting/derogatory comments, and personal or political attacks
29+
* Public or private harassment
30+
* Publishing others' private information without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate
32+
33+
## Enforcement Responsibilities
34+
35+
Community leaders are responsible for clarifying and enforcing our standards and
36+
will take appropriate and fair corrective action in response to any behavior
37+
deemed inappropriate, threatening, offensive, or harmful.
38+
39+
## Scope
40+
41+
This Code of Conduct applies within all community spaces, and also applies when
42+
an individual is officially representing the community in public spaces.
43+
44+
## Enforcement
45+
46+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
47+
reported to the community leaders responsible for enforcement at
48+
49+
50+
All complaints will be reviewed and investigated promptly and fairly.
51+
52+
## Attribution
53+
54+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
55+
version 2.1, available at
56+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
57+
58+
[homepage]: https://www.contributor-covenant.org

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024-2025 bumahkib7
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)