-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Issues with CL Link Validation #7064
Comments
Would putting such a link in a TODO comment be acceptable? Something like: Execution clients MUST floop the pig as defined in <!-- TODO: https://github.com/ethereum/EIPs/pull/7044/files#diff-b9072b226494f022f46b59068e6f9144194aeb301e57ed74dbefe9fba49ef39dR27 -->.
Not a terribly hard change, just need to modify EIP-1 and ^https://(www\.)?github\.com/ethereum/consensus-specs/(blob|tree)/[a-f0-9]{40}/.+$ |
Just explored if the PR commits hashes can be used to get a perma-link, following issues pop up
|
I think so, @SamWilsn, but it might be simplest to simply allow |
Hm, yeah. I think linking to the tip commit of the pull request would be the best option.
https://github.com/ethereum/consensus-specs/tree/1c35eb1c3303fe1e0b101323106d766d8f848cd6 seems to work for me. I believe GitHub adds commits from PRs to the destination repository under a weird ref.
That's a great point. Hell, if you force push to your default branch, you can completely remove the linked commit. That's a whole other problem we should think about... |
Thanks to the input from @SamWilsn that the main repo to which PR has been made has the commit, we have come to consensus on the EIP editors call on May 31 that we can allow ethereum/consensus-specs@53a9324...1c35eb1 which basically generates the PR diff being refereed to UPDATE: github only generates diff for the commit not the full chain, so the EIP author will have to squash all the relevant PR commits into 1 commit which imo should be an ok requirement UPDATE: two |
I think this |
Specifically, it's that the commits and objects from forks are stored in the parent repository, because GitHub logic. |
There has been no activity on this issue for 1 week. It will be closed after 3 months of inactivity. |
This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback. |
Proposed Change
The regex used to match CL spec links in EIP-1 does not accommodate common CL spec linking practices.
Two recent examples of issues:
It's not possible to refer to a PR directly, which seems useful when things are in draft (see @dapplion's EIP here: https://github.com/ethereum/EIPs/pull/7044/files#diff-b9072b226494f022f46b59068e6f9144194aeb301e57ed74dbefe9fba49ef39dR27)
It's not possible to refer to feature directories, which are expected to be the canonical way to specify WIP features in the CL spec (see @djrtwo's EIP here: https://github.com/ethereum/EIPs/pull/6914/files#diff-768009de73cc7d111224f20db3c7f40c7eb3836aeaac51191810754ed62b8446R27)
Proposed solutions:
https://github.com/ethereum/consensus-specs/pull/*
), potentially only for Draft EIPs?https://github.com/ethereum/consensus-specs/specs/_features/*
)The text was updated successfully, but these errors were encountered: