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

Add contributing guidelines (community standards) #33

Closed
wants to merge 1 commit into from

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Sep 19, 2024

This:

  • links to LICENSE.md which is not yet present
    - fulfils the gap in the pull request template, that points to a file that doesn't exist (it'll be this one)
  • believes bug_report.md and feature_request.md to exist (even though the links won't "fail" - we'll not have these for now, but keeping the link should be Ok)
  • tries to approach what is already being proposed in Initial implementation #1, e.g. in terms of spaces-vs-tabs

Closes #19.

@paulo-ferraz-oliveira paulo-ferraz-oliveira changed the title Add contributing guidelines Add contributing guidelines (community standards) Sep 19, 2024
@paulo-ferraz-oliveira
Copy link
Collaborator Author

@wojtekmach, this can potentially be merged as-is, and adapted after #1 is merged with the actual commands that can be run. Or we can wait...

@maennchen
Copy link
Member

Here as well some coordination to have the projects aligned (besides the technical details that will be different) could make sense. Oidcc uses the following: https://github.com/erlef/oidcc/blob/main/.github/CONTRIBUTING.md

@wojtekmach wojtekmach force-pushed the main branch 4 times, most recently from 9f7e03f to 9815e12 Compare October 28, 2024 08:42
@paulo-ferraz-oliveira
Copy link
Collaborator Author

This is rebased on top of the default branch while we wait on a better way to do it.

Copy link
Member

@starbelly starbelly left a comment

Choose a reason for hiding this comment

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

We are missing a security pointer.

@paulo-ferraz-oliveira
Copy link
Collaborator Author

A security pointer?

I'm not sure this'll get accepted as-is, given @maennchen's comment about standardization, which I also believe should exist.

I can close it or keep it open longer for comments (?)

@maennchen
Copy link
Member

@paulo-ferraz-oliveira I’d like to define templates for the contributing file soon. But that shouldn’t stop you from merging a file now. We can revisit the standardization later as we’ll have to do with various ither projects anyways.

Copy link
Collaborator

@wojtekmach wojtekmach left a comment

Choose a reason for hiding this comment

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

The repo has changed quite a bit since this PR was opened. I'm assuming it was copy-pasted from another repo because some of the things mentioned here do not apply.

If erlef will have org-wide CONTRIBUTING.md anyway I personally wouldn't pursue it here but if it's important to have something in the meantime then I'm not opposed to that.

`otp_builds` is not perfect software and will be buggy.

Bugs can be reported via
[GitHub issues: bug report](https://github.com/erlef/otp_builds/issues/new?template=bug_report.md).
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't have a bug report template. I don't think we need it either, let's see what kind of issues we will be getting and adjust then.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not that it matters much, but it's "just naming". The link still works and would adapt to a potential future template.

_bleeding edge_).

If this is done, open up a
[GitHub issues: feature request](https://github.com/erlef/otp_builds/issues/new?template=feature_request.md).
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't have a feature request template either.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Same.


## License

`otp_builds` is licensed under [Apache License Version 2.0](LICENSE.md) License, for all code.
Copy link
Collaborator

@wojtekmach wojtekmach Nov 21, 2024

Choose a reason for hiding this comment

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

Suggested change
`otp_builds` is licensed under [Apache License Version 2.0](LICENSE.md) License, for all code.
`otp_builds` is licensed under the [Apache License 2.0](LICENSE.txt).

Comment on lines +17 to +18
`otp_builds` is not perfect software and will be buggy.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`otp_builds` is not perfect software and will be buggy.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not really sure this is desired or undesired, but we're setting a bar. It's not perfect and it may contain issues. Which is an opener for the next line.


- search, in existing [issues](https://github.com/erlef/otp_builds/issues) (open or closed), whether
the feature might already be in the works, or has already been rejected,
- make sure you're using the latest software release (or even the latest code, if you're going for
Copy link
Collaborator

Choose a reason for hiding this comment

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

latest software release?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure how the repository will progress, but it's surely possible to imagine multiple version of the images, and if an image failed locally before opening a pull request / bug report the poster should figure out if the image they're using has not been recreated.

Comment on lines +40 to +41
We try to have as many of `otp_builds`' features tested as possible. Everything that a
user can do, and is repeatable in any way, should be tested, to guarantee backwards compatible.
Copy link
Collaborator

Choose a reason for hiding this comment

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

We have no tests. Which, while I'm obviously biased, is fine, this is the type of the project which is kind of hard to test in automated way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We might not have tests on the script themselves, but on the result we do: test_otp. That, combined with linting, should be enough as a starter.


### What checks do you perform

Check the `.github/workflows` elements for the checks we perform, if you want to do them locally.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Users can't easily run checks locally though, i.e. people need to read through all workflows and actions that we might be using. I mean, sure, we're saying exactly that but still. What would be more helpful is something like scripts/test or scripts/lint that we run on CI and people can run themselves. But that's tricky because on CI we install linters through actions and locally people would have to install linters themselves. Anyway if such scripts are even worth pursuing they are definitely out of the scope of this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I'm convinced it should be simpler. I like to have a task ci, or make ci, that runs the same both locally and in remote CI, but we don't, so...

@paulo-ferraz-oliveira
Copy link
Collaborator Author

I'm closing this, for now. There'll potentially be an upstream (ErlEF) template or guidelines, and it's not like it's getting a lot of issues / feature requests. We'll guide people as we go.

@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the feature/contributing-guide branch November 23, 2024 11:24
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.

Community guidelines: make contributing guidelines explicit
4 participants