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

Align with the OSC Documentation Policy #6446

Merged
merged 8 commits into from
Sep 13, 2024
Merged

Align with the OSC Documentation Policy #6446

merged 8 commits into from
Sep 13, 2024

Conversation

zeme-wana
Copy link
Contributor

Add top-level files in alignment with the OSC Documentation Policy.
See #6423

@@ -1 +1,132 @@
See https://github.com/input-output-hk/cardano-engineering-handbook/blob/main/CODE-OF-CONDUCT.md
# Contributor Covenant Code of Conduct
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,18 @@
# Security Policy
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -0,0 +1 @@
TODO
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The OSC governance policy expects a DESCRIPTION file.
However, this is redundant as all information is already included in the README file.
Also, the OSC Documentation Repo itself doesn't have a DESCRIPTION file.
I'm unsure what to do here. Is the DESCRIPTION file really necessary?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe the safest bet would be to just add the redundant information here? I'm not sure what this standardised repository structure will be used for, maybe to provide some automation as well? In that case, not having any info in this file might break things, but again this is just a guess on how things will be used.

I have no idea why they don't follow their own rules, though!

LICENSE Outdated
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS
Apache License
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaces with this license as per the policy. It's the same contents, just different formatting

@@ -0,0 +1,11 @@
# Plutus Codeowners
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that this is a special file in GitHub.
It automatically add reviewers to PRs according to which files are modified.
For example I will be added as reviewer when files in /nix/ or flake.nix are modified.
While IntersectMBO/plutus-core-maintainers will be added as reviewer in all other cases.

Copy link
Contributor

Choose a reason for hiding this comment

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

I just realised something: this will block merging unless it gets reviewed by the specific code owner, right? Since you're the only code owner for the nix code, it might make sense to add someone else as well in case you're unavailable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting questions, I'm not sure.
I also don't know how CODEOWNER rules will play with existing PR & Merge rules.
We can just try it like this and see what happens?

Copy link
Member

Choose a reason for hiding this comment

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

Does the OSC policy require there be a code owner for everything? I doubt adding plutus-core-maintainers to every PR is a good idea.

@@ -0,0 +1,11 @@
Copyright 2024 Intersect MBO
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,201 @@
Apache License
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@zeme-wana zeme-wana self-assigned this Sep 5, 2024
@zeme-wana zeme-wana requested a review from a team September 5, 2024 08:34
@zeme-wana zeme-wana added the No Changelog Required Add this to skip the Changelog Check label Sep 5, 2024
@zeme-wana zeme-wana marked this pull request as ready for review September 5, 2024 08:34
ana-pantilie
ana-pantilie previously approved these changes Sep 5, 2024
Copy link
Contributor

@ana-pantilie ana-pantilie left a comment

Choose a reason for hiding this comment

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

LGTM, should @zliu41 also approve before merging?

@@ -0,0 +1 @@
TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe the safest bet would be to just add the redundant information here? I'm not sure what this standardised repository structure will be used for, maybe to provide some automation as well? In that case, not having any info in this file might break things, but again this is just a guess on how things will be used.

I have no idea why they don't follow their own rules, though!

CHANGELOG.md Outdated
- [plutus-ledger-api](./plutus-ledger-api/CHANGELOG.md)
- [plutus-tx](./plutus-tx/CHANGELOG.md)
- [plutus-tx-plugin](./plutus-tx-plugin/CHANGELOG.md)
- [plutus-core](./plutus-core/CHANGELOG.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this PR, I find it strange that we also release prettyprinter-configurable but it doesn't have a changelog. @IntersectMBO/plutus-core-maintainers any idea why this is?

Copy link
Contributor

Choose a reason for hiding this comment

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

We hope to extract it into a separate library and publish it on Hackage some time, so that we don't need to keep it in the Plutus repo at all.

@ana-pantilie ana-pantilie dismissed their stale review September 5, 2024 09:27

See comment on code owners

@zliu41 zliu41 merged commit 3c8977c into master Sep 13, 2024
6 checks passed
@zliu41 zliu41 deleted the top-level-std-files branch September 13, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Required Add this to skip the Changelog Check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure the plutus-tx-template repo aligns with the OSC documentation policy
4 participants