From d8b460ec9f48e57aa1d7403a804535aebbe3f70d Mon Sep 17 00:00:00 2001 From: Sherwin-14 Date: Sun, 23 Jun 2024 19:33:17 +0530 Subject: [PATCH] Intial draft for maintainer documentation --- docs/maintainers-guide.md | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 docs/maintainers-guide.md diff --git a/docs/maintainers-guide.md b/docs/maintainers-guide.md new file mode 100644 index 00000000..edf94bac --- /dev/null +++ b/docs/maintainers-guide.md @@ -0,0 +1,59 @@ +# Maintainers Guide + +This page offers guidance to project maintainers regarding our setup procedures, release processes, package creation, and other related tasks. + +# Maintainer Onboarding and Best Practices + +## Becoming a Maintainer or Triager + +If you are interested in becoming a maintainer, you can join our community. We expect you to be actively involved. + +Also, if you're interested in helping managing issues with labels and interacting with incoming requests, you can have a "triager" role! + +## Maintainer Responsibilities and Expectations + +1. As a maintainer, there is no strict time obligation, as we understand that everyone's ability to commit can fluctuate. However, we do expect maintainers to communicate openly and transparently with the team and the community. + +2. As a maintainer, you are expected to uphold a positive and inclusive team culture. This includes following the guidelines outlined in the [Openscapes team culture page](https://openscapes.github.io/series/core-lessons/team-culture.html) and the [recorded psychological safety talk](https://www.youtube.com/watch?v=rzi-qkl8u5M) . By doing so, you can help ensure that all team members and contributors feel safe, respected, and valued. + + +## Maintainer Processes Beyond Regular Contributing + +1. As a maintainer, label issues clearly and consistently to help contributors identify issue types and priority. Use 'good first issue' for contributor-friendly issues. + +2. As a maintainer, create welcoming environment when communicating with contributors (issue / PR / discussion posters). + +3. As a maintainer reviewing and merging contributions is critical. Here are some best practices: + + 3a. Review contributions thoroughly. + + 3b. Provide constructive feedback. + + 3c. Communicate clearly and respectfully. + + 3d. Merge contributions promptly. + +4. As a maintainer, you will be releasing different versions. More on this in [here](#making-a-release). + +# Branches + +main: This is the main branch, which is consistently tested and prepared for release as a new version. Avoid pushing changes directly to this branch. Instead, create a new branch and submit a pull request for any modifications. + +gh-pages: This branch hosts HTML docs, updated by GitHub Actions. Don't commit directly. Make changes in a separate branch, then submit a pull request. GitHub Actions will automatically update docs on gh-pages when merged. + +# Continuous Integration + +The GitHub Actions CI services handle the project's building, testing, and management across Linux, macOS, and Windows platforms. The CI file manages the continuous integration processes, and list out their respective dependencies. Here we briefly summarize the functions of the files in CI. + +```environment-dev.yml ``` - The environment configuration file specifies dependencies for Python development. + +```environment-mindeps.yaml``` - The test-environment file lists required and test dependencies for a testing environment. + +# Continuous Documentation + +The Read the Docs service is used to preview documentation changes made in pull requests. This service uses a configuration file, ```.readthedocs.yaml```. + +# Making a Release + +To automate releases, we employ a script called ```publish.sh``` in the scripts folder. This script utilizes Poetry for managing and publishing the package to PyPI. +