Skip to content

Update commit/PR links in template and proposals #749

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

Merged
merged 3 commits into from
Sep 7, 2017
Merged

Update commit/PR links in template and proposals #749

merged 3 commits into from
Sep 7, 2017

Conversation

benrimmington
Copy link
Contributor

See also #747

@@ -3,7 +3,7 @@
* Proposal: [SE-0002](0002-remove-currying.md)
* Author: [Joe Groff](https://github.com/jckarter)
* Status: **Implemented (Swift 3)**
* Commit: [apple/swift@983a674](https://github.com/apple/swift/commit/983a674e0ca35a85532d70a3eb61e71a6d024108)
* Implementation: [apple/swift@983a674](https://github.com/apple/swift/commit/983a674e0ca35a85532d70a3eb61e71a6d024108)
Copy link
Member

Choose a reason for hiding this comment

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

This is an interesting one. I think there is a difference between the "Implementation" that was used to evaluate the proposal and the final "commit" where the change was integrated into master. Even once there is an implementation that is acceptable for reviewing a proposal it may not be in sufficient stage to just merge into master.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added those commit links (to proposals without SR bugs) in case they'd be useful to someone implementing a similar feature.

The original commit for SE-0002 might be swiftlang/swift@30af42f but that's not very useful either.

I can remove the commit links, and/or close this pull request (if you prefer the existing proposal template).

Copy link
Member

Choose a reason for hiding this comment

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

I think the links are useful. I'm more just thinking about terminology and what they convey. After thinking about this some more, I think this is a good change as is.

0000-template.md Outdated
@@ -4,7 +4,7 @@
* Authors: [Author 1](https://github.com/swiftdev), [Author 2](https://github.com/swiftdev)
* Review Manager: TBD
* Status: **Awaiting review**
* Pull Request: [apple/swift#NNNNN](https://github.com/apple/swift/pull/NNNNN)
* Implementation: [apple/swift#NNNNN](https://github.com/apple/swift/pull/NNNNN)
Copy link
Member

@tkremenek tkremenek Sep 5, 2017

Choose a reason for hiding this comment

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

How about Awaiting implementation instead of a PR link? We are fine with pull requests being created before there is an implementation. They just will not be accepted for formal review until there is one. But having a PR is useful to have a discussion on whether or not the proposal is ready, as well as have a focal point to discuss on swift-evolution the implementation needed for a candidate proposal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Like this?

* Implementation: **Awaiting implementation**

But if @krilnon needs to parse PR links in a required format, wouldn't it be better to have this in the template?

Copy link
Member

Choose a reason for hiding this comment

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

I suspect @krilnon can adjust the parser to accept this format as well. I think it is better than having a broken link — it conveys "action required".

@krilnon WDYT?

Copy link
Member

Choose a reason for hiding this comment

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

As it stands, pull requests that haven't been merged in to master aren't parsed at all — because they haven't started a formal review and therefore don't show up on the status page. So the decision here doesn't matter much from the PoV of the parser. People will make slightly more formatting mistakes if we don't show the link format somewhere, but they can always look at past proposals rather than the template.

I do like the call to action implied by Awaiting Implementation. I think Ben's point is that the template file serves as an answer to the question "what structure do I need in my proposal document?", whereas the process.md file (and readme.md) answers the question "how do I go through the steps of proposing a change?".

Copy link
Member

Choose a reason for hiding this comment

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

How about this?

# Feature name

* Proposal: [SE-NNNN](NNNN-filename.md)
* Authors: [Author 1](https://github.com/swiftdev), [Author 2](https://github.com/swiftdev)
* Review Manager: TBD
* Status: **Awaiting implementation**


*During the review process, add the following fields as needed:*

* Implementation: [apple/swift#NNNNN](https://github.com/apple/swift/pull/NNNNN)
* Decision Notes: [Rationale](https://lists.swift.org/pipermail/swift-evolution/), [Additional Commentary](https://lists.swift.org/pipermail/swift-evolution/)
* Bugs: [SR-NNNN](https://bugs.swift.org/browse/SR-NNNN), [SR-MMMM](https://bugs.swift.org/browse/SR-MMMM)
* Previous Revision: [1](https://github.com/apple/swift-evolution/blob/...commit-ID.../proposals/NNNN-filename.md)
* Previous Proposal: [SE-XXXX](XXXX-filename.md)

In the formulation above, Awaiting Implementation becomes a status, (or pseudo-status because it'll never be parsed), and the Implementation label is moved to the "add these list items as needed" section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

* Status: **Awaiting implementation**

I like this idea.

Copy link
Member

Choose a reason for hiding this comment

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

Me too.

@benrimmington
Copy link
Contributor Author

@krilnon I think this is ready to merge, whenever you're ready.

@tkremenek Do you need to update process.md for Swift 5, to say that an implementation is now required (instead of encouraged), and to add Awaiting implementation to the list of states?

@tkremenek
Copy link
Member

@benrimmington I changed process.md in f4d73b1 to say that an implementation is required.

@krilnon
Copy link
Member

krilnon commented Sep 7, 2017

Okay, this looks good. Thanks!

@krilnon krilnon merged commit d3b4fed into swiftlang:master Sep 7, 2017
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.

3 participants