-
Notifications
You must be signed in to change notification settings - Fork 39
docs: add comprehensive contributing guide #847
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
docs: add comprehensive contributing guide #847
Conversation
7fdc5b0 to
1bee758
Compare
|
@dhellmann @tiran It would be good if you both can review this. |
rd4398
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks okay! I will leave it to Doug / Christian for approval
1f51f62 to
fb32752
Compare
EmilienM
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good word, a bit lengthy but we can adjust later if it's causing too much troubles to the tools.
|
@dhellmann @tiran we should merge this PR. Else let me know what I should change. But an updated AGENTS.MD and CONTRIBUTING.md would helps AI agents to write better code. |
fb32752 to
3af0baf
Compare
|
The recent push has import guidelines |
a01650d to
2ee31d0
Compare
Create CONTRIBUTING.md with detailed coding standards, design patterns, testing guidelines, and commit conventions. Transform AGENTS.md from a basic commit message guide into a comprehensive AI agent reference following agentsmd.io and Anthropic Claude Code best practices. Both files establish complementary documentation: CONTRIBUTING.md for human contributors, AGENTS.md for AI coding assistants, creating a single source of truth for project standards. Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
2ee31d0 to
7ed659a
Compare
|
@dhellmann I have addressed your comments and improved some texts. PTAL |
dhellmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll approve this as it is. I have a couple of suggestions for further refinement.
| pipx install hatch # recommended | ||
| ``` | ||
|
|
||
| ### Initial Setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this section and the next could be left out. It's a workflow, but it's not the one I use, so it's weird to express it as though it's required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dhellmann I am fine with removing it. I will send another PR to remove it.
| wait_time = min(2**attempt + random.uniform(0, 1), max_backoff) | ||
| ``` | ||
|
|
||
| ### Logging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are more detailed suggestions in https://fromager.readthedocs.io/en/latest/develop.html#logging
I wonder if we should move more of that page into this doc? And link to this doc from there? Or vice versa?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, we can do that.
Create CONTRIBUTING.md with detailed coding standards, design patterns,
testing guidelines, and commit conventions. Transform AGENTS.md from a
basic commit message guide into a comprehensive AI agent reference
following agentsmd.io and Anthropic Claude Code best practices.
Both files establish complementary documentation: CONTRIBUTING.md for
human contributors, AGENTS.md for AI coding assistants, creating a
single source of truth for project standards.
Fixes : #854