-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 EIP template: Add acceptable placeholders #5576
Conversation
All tests passed; auto-merging...(pass) eip-template.md
(pass) index.html
|
eip-template.md
Outdated
|
||
The title should be 44 characters or less. It should not repeat the EIP number in title, irrespective of the category. | ||
<!-- Note that an EIP number will be assigned by an editor. When opening a pull request to submit your EIP, please use an abbreviated title in the filename, `eip-draft_title_abbrev.md`. --> |
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.
If we want to enforce the number assignment, I'd suggest the first comment to not contain any change suggestion other than change filename. I've run into many times when I propose eip-some-feature.md
then feedback were given under this file, but when I change file name from eip-some-feature.md
to eip-1234.md
, the suggested changes no longer apply.
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 feedback - I personally would be a fan of an "@eth-bot assign" command here to avoid that very issue.
It's also why I try to avoid providing feedback until the EIP number is changed.
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.
Not sure how to get around this though - send ideas here.
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.
No good idea yet.
Co-authored-by: xinbenlv <zzn-github@zzn.im>
I'm worried we'll get a ton of EIPs that have the comments left in with this 🤣 I do appreciate moving the optional bits after the colon in the preamble though. |
We do anyways. I'd say a good 1/8 of incoming drafts have at least one of the sections left unchanged or the bit before the abstract not removed - typically the rationale, backwards compatibility, or security considerations section. |
That's fair. Perhaps a lint for HTML style comments in |
Go ahead -- be warned that some people use them to indicate TODOs. |
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.
EIP-1 links to the rendered version of the template. We should update that to the plain version (https://github.com/ethereum/EIPs/blob/master/eip-template.md?plain=1
) if we use comments.
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
Not stale. |
Can we separate this into two PRs: one to put the instructions in comments, and then a second to remove the optional sections? I am in favour of the first, and against the second. |
@SamWilsn mind re-reviewing? |
Oh sorry, I have notifications off for this repo. Feel free to ping me directly if you need me! |
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.
Sorry to throw this back with more suggestions 😅
I am not comfortable with the "if this is your first time..." style of comments. I think it makes the template somewhat hostile, plus we don't want to encourage less complete EIPs just because the contributor is new.
I split out the "this section is optional" blurbs to make them more obvious.
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
@SamWilsn this is ready for review again. |
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
Still would like this. |
860c5c0
to
0ce9034
Compare
The commit 0ce9034 (as a parent of d14c735) contains errors. |
* Update EIP template: Remove non-required fields and add acceptable placeholders * Update eip-template.md * Update eip-template.md Co-authored-by: xinbenlv <zzn-github@zzn.im> * Update eip-template.md * Add Test Cases and Reference Implementation sections back * Add Motivation section back * Apply suggestions from code review Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com> * Small tweaks Co-authored-by: xinbenlv <zzn-github@zzn.im> Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com> Co-authored-by: Sam Wilson <sam@binarycake.ca>
test |
eip
preamble field from the template. Editors can simply add it themselves.