Skip to content

Commit f2923f7

Browse files
committed
[docs]: Update SECURITY.md and CONTRIBUTING.md with contribution guidelines and security reporting instructions
1 parent 91ba86f commit f2923f7

File tree

3 files changed

+93
-154
lines changed

3 files changed

+93
-154
lines changed

CODE_OF_CONDUCT.md

Lines changed: 18 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,38 @@
1-
# Code of Conduct
1+
# Contributor Covenant Code of Conduct
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, gender identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
66

7-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
7+
We are committed to providing a friendly, safe, and welcoming environment for all.
88

99
## Our Standards
1010

11-
Examples of behavior that contributes to a positive environment for our community include:
11+
Examples of behavior that contributes to creating a positive environment include:
1212

13-
- Demonstrating empathy and kindness toward other people
14-
- Being respectful of differing opinions, viewpoints, and experiences
15-
- Giving and gracefully accepting constructive feedback
16-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
- Focusing on what is best not just for us as individuals, but for the overall community
13+
- Using welcoming and inclusive language
14+
- Being respectful of differing viewpoints and experiences
15+
- Gracefully accepting constructive criticism
16+
- Showing empathy towards other community members
17+
- Demonstrating tolerance and politeness
1818

1919
Examples of unacceptable behavior include:
2020

21-
- The use of sexualized language or imagery, and sexual attention or advances of any kind
22-
- Trolling, insulting or derogatory comments, and personal or political attacks
23-
- Public or private harassment
24-
- Publishing others’ private information, such as a physical or email address, without their explicit permission
25-
- Other conduct which could reasonably be considered inappropriate in a professional setting
21+
- Harsh language, insults, or personal attacks
22+
- Discriminatory jokes or comments
23+
- Threatening, violent, or intimidating behavior
24+
- Scamming, misleading, or intentionally deceiving contributors or users
25+
- Disrespectful or unprofessional interactions
26+
- Doxxing (publishing private information) or inappropriate sharing of personal information
2627

2728
## Enforcement Responsibilities
2829

29-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
30-
31-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32-
33-
## Scope
34-
35-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
30+
Project maintainers are responsible for clarifying the standards of acceptable behavior and will take appropriate and fair corrective action in response to any instances of unacceptable behavior.
3631

3732
## Enforcement
3833

39-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [hello@codad5.me] or [aniezeoformic@gmail.com]. All complaints will be reviewed and investigated promptly and fairly.
40-
41-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42-
43-
## Enforcement Guidelines
44-
45-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46-
47-
### 1. Correction
48-
49-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50-
51-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52-
53-
### 2. Warning
54-
55-
**Community Impact**: A violation through a single incident or series of actions.
56-
57-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58-
59-
### 3. Temporary Ban
60-
61-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62-
63-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64-
65-
### 4. Permanent Ban
66-
67-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68-
69-
**Consequence**: A permanent ban from any sort of public interaction within the community.
34+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported via GitHub issues. The maintainers will review and investigate all complaints and will respond appropriately to maintain a healthy community.
7035

7136
## Attribution
7237

73-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
74-
75-
Community Impact Guidelines were inspired by [Mozilla’s code of conduct enforcement ladder](https://github.com/mozilla/diversity).
76-
77-
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
78-
79-
[homepage]: https://www.contributor-covenant.org
38+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.

CONTRIBUTING.md

Lines changed: 62 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,66 @@
1+
# Contributing to QuickCv
12

2-
# Contribution Guidelines
3-
4-
Thank you for considering contributing to **QuickCV**! Your help is greatly appreciated. This document provides guidelines for contributing to the project.
5-
6-
## Table of Contents
7-
8-
1. [Getting Started](#getting-started)
9-
2. [How to Contribute](#how-to-contribute)
10-
3. [Coding Guidelines](#coding-guidelines)
11-
4. [Commit Messages](#commit-messages)
12-
5. [Pull Request Process](#pull-request-process)
13-
6. [Code of Conduct](#code-of-conduct)
14-
15-
## Getting Started
16-
17-
1. **Fork the repository**: Fork the [QuickCV repository](https://github.com/codad5/quickcv) to your GitHub account.
18-
2. **Clone your fork**: Clone the forked repository to your local machine.
19-
```sh
20-
git clone https://github.com/<your-username>/quickcv.git
21-
cd quickcv
22-
```
23-
3. **Install dependencies**: Install the necessary dependencies using npm or yarn.
24-
```sh
25-
npm install
26-
# or
27-
yarn install
28-
```
29-
4. **Start the development server**: Run the development server to ensure everything is set up correctly.
30-
```sh
31-
npm run dev
32-
# or
33-
yarn dev
34-
```
3+
Thank you for considering contributing to QuickCv! We appreciate your help in making this project better. Below are the guidelines for contributing to this project.
354

365
## How to Contribute
376

38-
1. **Report Bugs**: If you find a bug, please create an issue with detailed information about the bug and how to reproduce it.
39-
2. **Suggest Features**: If you have an idea for a new feature, please create an issue or open a discussion to discuss your idea.
40-
3. **Code Contributions**: If you want to contribute code, please follow the steps below.
41-
42-
## Coding Guidelines
43-
44-
1. **Code Style**: Follow the coding style of the existing codebase. Use ESLint and Prettier to ensure consistent code formatting.
45-
2. **Components**: Break down your code into reusable components. Organize and store them properly.
46-
3. **Typescript**: Use TypeScript for type safety and to improve code quality.
47-
4. **CSS**: If not using CSS frameworks like Tailwind, keep class names concise and use CSS variables for easy maintenance.
48-
49-
## Commit Messages
50-
51-
Write brief yet descriptive commit messages. Use the format:
52-
53-
```
54-
[<change-type>: <message>]
55-
```
56-
57-
Examples of `<change-type>` include but are not limited to:
58-
59-
- `bug-fix`: Fixes a bug
60-
- `feat`: Adds a new feature
61-
- `revision`: Refactors existing code
62-
- `improvement`: Improves existing functionality
63-
64-
## Pull Request Process
65-
66-
1. **Create a Branch**: Create a new branch for your work.
67-
```sh
68-
git checkout -b feature/my-feature
69-
```
70-
2. **Commit Changes**: Commit your changes with clear and descriptive commit messages.
71-
3. **Push to GitHub**: Push your changes to your forked repository.
72-
```sh
73-
git push origin feature/my-feature
74-
```
75-
4. **Create a Pull Request**: Open a pull request to the `main` branch of the original repository. Provide a clear description of your changes and link to any relevant issues.
76-
77-
## Code of Conduct
78-
79-
Please read and follow our [Code of Conduct](CODE_OF_CONDUCT.md). We expect all contributors to adhere to it.
80-
81-
---
82-
83-
Thank you for your contributions! Together, we can make **QuickCV** an even better project.
84-
85-
Best regards,
86-
Chibueze Aniezeofor ([@codad5](https://github.com/codad5))
87-
7+
1. **Fork the repository**
8+
- Fork the QuickCv repository to your GitHub account.
9+
10+
2. **Clone your forked repository**
11+
- Clone the repository to your local machine:
12+
```bash
13+
git clone https://github.com/codad5/quickcv.git
14+
```
15+
16+
3. **Create a new branch for your changes**
17+
- Name your branch descriptively (e.g., `fix-validation-error`, `add-new-feature`):
18+
```bash
19+
git checkout -b your-branch-name
20+
```
21+
22+
4. **Make your changes**
23+
- Ensure that your changes are well-structured and follow the coding standards of the project.
24+
25+
5. **Commit your changes**
26+
- Write clear, meaningful commit messages in the following format:
27+
```bash
28+
[change-type]: your message
29+
```
30+
Example:
31+
```bash
32+
[feat]: added certificate field in the resume generator
33+
```
34+
- **Change types**:
35+
- `feat` : For new features
36+
- `fix` : For bug fixes
37+
- `docs` : For documentation updates
38+
- `style` : For formatting changes
39+
- `refactor` : Code changes that neither fix a bug nor add a feature
40+
- `test` : Adding or updating tests
41+
- `chore` : Maintenance tasks, such as updating dependencies
42+
43+
6. **Push to your forked repository**
44+
- Push your changes:
45+
```bash
46+
git push origin your-branch-name
47+
```
48+
49+
7. **Submit a pull request**
50+
- Open a pull request from your forked repository to the main repository.
51+
52+
8. **Wait for a review**
53+
- We will review your pull request and may request changes. Please be patient as we get to your submission.
54+
55+
## Reporting Issues
56+
57+
- If you find any bugs or have feature requests, please open an issue on GitHub.
58+
- Make sure the issue hasn't already been reported by searching through existing issues.
59+
60+
## Coding Standards
61+
62+
- Follow the existing style of the codebase.
63+
- Use meaningful variable and function names.
64+
- Keep the code clean and organized.
65+
66+
Thank you for contributing!

SECURITY.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22

33
## Supported Versions
44

5-
Use this section to tell people about which versions of your project are
6-
currently being supported with security updates.
5+
We take security seriously and will address any issues as soon as possible. If you encounter any vulnerabilities in the project, please report them to us.
76

8-
| Version | Supported |
9-
| ------- | ------------------ |
10-
| 5.1.x | :white_check_mark: |
11-
| 5.0.x | :x: |
12-
| 4.0.x | :white_check_mark: |
13-
| < 4.0 | :x: |
7+
| Version | Supported |
8+
| -------------- | ------------------ |
9+
| Latest Release | :white_check_mark: |
10+
| Older Versions | :x: |
1411

1512
## Reporting a Vulnerability
1613

17-
Use this section to tell people how to report a vulnerability.
14+
To report a security vulnerability, please follow these steps:
1815

19-
Tell them where to go, how often they can expect to get an update on a
20-
reported vulnerability, what to expect if the vulnerability is accepted or
21-
declined, etc.
16+
1. Open a new issue on the [GitHub Issues](https://github.com/codad5/quickcv/issues) page.
17+
2. Clearly describe the vulnerability and how it can be reproduced.
18+
3. We will acknowledge the issue and work on a resolution as soon as possible.
19+
20+
Please do **not** submit security vulnerabilities as public pull requests or public comments until the issue has been addressed.
21+
22+
Thank you for helping keep QuickCv secure!

0 commit comments

Comments
 (0)