Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Contributing.txt with more details #7990

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mdsahilnoob
Copy link

What do these changes do?

Are there changes in behavior for the user?

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, this mostly feels more verbose without actually adding anything. @webknjaz Any thoughts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, agreed. We don't want an entire Git tutorial or things that are documented elsewhere to be copy-and-pasted there since this is an additional maintenance burden to keep copies in sync.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there's a copy of this document in our Sphinx docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I typically keep something short like https://ansible-pylibssh.rtfd.io/en/latest/contributing/guidelines/, but in some cases, it makes sense to give more examples: https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md.

Still, I don't like trying to maintain the same thing somebody else does.


8. Optionally make backport Pull Request(s) for landing a bug fix into released aiohttp versions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should probably be changed though to better reflect current practices.

Maybe something like:
Once merged, backports may be created automatically by a bot. If the bot fails to do this, please follow the instructions from the bot to complete the backport PRs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, i will check that, thanks for the information!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That only works if somebody reviewing the PR puts the labels on. The contributors might still want to optionally offer manually-crafted backport PRs. (or semi-manually — we have a config for the CPython's cherry-picker tool!)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm just thinking it's usually safer to wait for the bot. A maintainer should add the label when they believe a backport is needed. Surely cherry picking won't work well if done before merging anyway, as they'd be picking commits from the branch, which won't end up on master (there will just be a squash commit instead).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the bot experiences instability because of #4581, that I haven't really had time to tackle properly. I think it needs to be prioritized but there's a lot on my plate right now. A workaround is to re-apply the label (but for that, one must notice the failure first).

1. Clone the GitHub_ repo using the ``--recurse-submodules`` argument
Clone the Repository:
- 1.Open the provided GitHub link and click the "Fork" button on the upper-right of the web page to create your fork.
- 2.Clone your forked repository using the --recurse-submodules argument to ensure submodules are also cloned.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the syntax highlighting.

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e995376) 97.44% compared to head (8573667) 97.44%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7990   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files         107      107           
  Lines       32370    32370           
  Branches     3751     3751           
=======================================
  Hits        31544    31544           
  Misses        624      624           
  Partials      202      202           
Flag Coverage Δ
CI-GHA 97.36% <ø> (ø)
OS-Linux 97.03% <ø> (ø)
OS-Windows 95.52% <ø> (ø)
OS-macOS 96.85% <ø> (-0.01%) ⬇️
Py-3.10.11 95.44% <ø> (ø)
Py-3.10.13 96.84% <ø> (ø)
Py-3.11.7 96.55% <ø> (ø)
Py-3.12.1 96.65% <ø> (ø)
Py-3.8.10 95.41% <ø> (ø)
Py-3.8.18 96.77% <ø> (ø)
Py-3.9.13 95.41% <ø> (ø)
Py-3.9.18 96.81% <ø> (+<0.01%) ⬆️
Py-pypy7.3.13 96.36% <ø> (-0.01%) ⬇️
VM-macos 96.85% <ø> (-0.01%) ⬇️
VM-ubuntu 97.03% <ø> (ø)
VM-windows 95.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants