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

Update CONTRIBUTING for project's new home #1787

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

michaelsembwever
Copy link
Member

and update new contribution agreements and CLAs signed.

Commit message must be updated before merging.

Copy link
Contributor

@martin-sucha martin-sucha left a comment

Choose a reason for hiding this comment

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

Thank you for the pull request! I've added some comments inline.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated
* The pull request has a title that clearly summarizes the purpose of the patch
* The motivation behind the patch is clearly defined in the pull request summary
* Your name and email have been added to the `AUTHORS` file (for copyright purposes)
* You agree that your contribution is donated to the Apache Software Foundation (appropriate copyright is on all new files)
* The patch will merge cleanly
* The test coverage does not fall below the critical threshold (currently 64%)
Copy link
Contributor

Choose a reason for hiding this comment

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

Current coverage seems to be 50.4% of statements 😞
We should probably update the number here and open an issue to display the coverage in pull requests as a comment (perhaps even enforce the coverage rule in a CI check).

CONTRIBUTING.md Outdated
* The patch will merge cleanly
* The test coverage does not fall below the critical threshold (currently 64%)
* The merge commit passes the regression test suite on Travis
* `go fmt` has been applied to the submitted code
* Notable changes (i.e. new features or changed behavior, bugfixes) are appropriately documented in CHANGELOG.md, functional changes also in godoc
* A correctly formatted commit message, see https://cassandra.apache.org/_/development/how_to_commit.html#tips
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to me that it would be helpful to expand the guidance on writing commit messages to a separate section.

Specifically, to say that the description of the commit should explain why the change is necessary

Should we encourage contributors to use signed git commits?

Copy link
Member Author

Choose a reason for hiding this comment

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

Should we encourage contributors to use signed git commits?

This isn't project precedence, though it can always be recommended (and should be).
Ultimately, it's not my call.

NOTICE Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated
patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####
```

The 'patch by …; reviewed by' line is important. If enforces our review-than-commit procedure, allowing commits from non-git-branch patches, and is parsed to build the project contribulyse statistics found [here](https://nightlies.apache.org/cassandra/devbranch/misc/contribulyze/html/).
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: IfIt

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed. And a small rewording for clarify.

 patch by Mick Semb Wever; reviewed by Martin Sucha for CASSANDRA-19723
Copy link
Contributor

@martin-sucha martin-sucha left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks!

@michaelsembwever michaelsembwever merged commit e83bb39 into apache:trunk Aug 5, 2024
16 checks passed
@michaelsembwever michaelsembwever deleted the mck/CASSANDRA-19723-0 branch August 5, 2024 18:22
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.

2 participants