Skip to content

Conversation

@jku
Copy link
Member

@jku jku commented Feb 27, 2024

I'm trying to improve the experience for first time contributors: I think it must be bad since our success rate is probably below 10% for the first version of the first PR...

  • Mention tests and DCO in PR template
  • tweak contributing doc

Other suggestions welcome.

jku added 2 commits February 27, 2024 16:38
* Remove outdated info on linters
* Move DCO info to the top: no-one will find it in the bottom

Signed-off-by: Jussi Kukkonen <[email protected]>
Trying to make it clearer that
* testing locally is an option
* DCO is required

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku jku force-pushed the improve-dev-docs branch from 5c238c4 to 143a69b Compare February 27, 2024 14:51
@coveralls
Copy link

coveralls commented Feb 27, 2024

Pull Request Test Coverage Report for Build 8097156018

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.725%

Totals Coverage Status
Change from base Build 8066093275: 0.0%
Covered Lines: 1463
Relevant Lines: 1488

💛 - Coveralls

Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

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

Thanks for the initiative, Jussi!

<https://black.readthedocs.io/>`__ and `isort <https://pycqa.github.io/isort>`__.
Auto-formatting can be done on the command line:
The linter in CI/CD will check that new TUF code is formatted with
`ruff<https://docs.astral.sh/ruff/>`__. Auto-formatting can be done on the
Copy link
Member

Choose a reason for hiding this comment

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

I think the whitespace is needed to render correctly. Also, the double-underscore suffix seems to be syntax for "anonymous hyperlink targets", which I don't think makes sense here.

Suggested change
`ruff<https://docs.astral.sh/ruff/>`__. Auto-formatting can be done on the
`ruff <https://docs.astral.sh/ruff/>`_. Auto-formatting can be done on the

Fixes #<ISSUE NUMBER>


<!-- Please check relevant options (you can remove the ones that do not apply) -->
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should just remove the items below. They are usually ignored, and even if not, I never found them particularly helpful, neither as reviewer nor as contributor.

Maybe we can include a reminder in the bullet list above, something like:

ensure changes are tested and code docs are updated

@jku jku merged commit 0929123 into theupdateframework:develop Feb 29, 2024
@jku jku deleted the improve-dev-docs branch December 30, 2024 09:15
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.

3 participants