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

[OpenSSF] Use Developer Certificate of Origin (DCO) #2026

Open
2 tasks done
Zeitsperre opened this issue Dec 16, 2024 · 0 comments
Open
2 tasks done

[OpenSSF] Use Developer Certificate of Origin (DCO) #2026

Zeitsperre opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request information For development/intsructional purposes standards / conventions Suggestions on ways forward

Comments

@Zeitsperre
Copy link
Collaborator

Addressing a Problem?

When it comes to contributions, we currently use the Apache v2.0 software license, which all contributors are expected to have read and agreed to when they push code to the repository. The wording of the license is such that we probably don't need to manage Contributor Licensing Agreements (CLA, which is convenient for us).

There is however an issue that we don't currently ensure that the following information is available on every commit:

  • The full name and email of the contributor
  • Verification that the contribution is legally permitted

There is broad industry-wide adoption of the Developer Certificate of Origin (DCO), which is an assurance that the contributions/commits are being made with both the information of the contributor and with their informed agreement to the principles of the contributor guidelines and license.

This also helps contributors track ownership of their commits without relying on GitHub's history, if ever we decide to migrate the codebase in the future.

Potential Solution

Adoption is incredibly simple. The contributing documentation needs to add a mention that going forward, users agree to the Developer Certificate of Origin (DCO):
https://developercertificate.org/

Enabling DCO for all commits is very simple to enable

  • shell
    $ git config --global format.signoff true
  • PyCharm:
    image

If we want to enable a check for this:

Additional context

https://medium.com/@michaelyuan_88928/a-complete-guide-to-dco-for-open-source-developers-fa063c17d9e7

https://wiki.linuxfoundation.org/dco

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Zeitsperre Zeitsperre added enhancement New feature or request standards / conventions Suggestions on ways forward information For development/intsructional purposes labels Dec 16, 2024
@Zeitsperre Zeitsperre self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request information For development/intsructional purposes standards / conventions Suggestions on ways forward
Projects
None yet
Development

No branches or pull requests

1 participant