Coder Social home page Coder Social logo

Comments (17)

yurishkuro avatar yurishkuro commented on July 19, 2024 4

Yes, or the number of the PR if there is no tracking issue, since it's the same unique sequence.

from oteps.

carlosalberto avatar carlosalberto commented on July 19, 2024 1

I was not talking about a PR for this issue

Aha! Gotcha, sorry :)

PRs can be made to amend it before it becomes accepted in a final PR

Yeah but that takes extra iterations. I'd be definitely up to something as simple as possible (as the number-after Issue approach)

from oteps.

yurishkuro avatar yurishkuro commented on July 19, 2024 1

Most of the discussion here seems to be missing the main point - we have a whole lot of useless process:

  • get N approvals for a PR
  • bug admins to "assign a number", push another change to rename (100% useless chore)
  • wait for admins to merge merge PR as "pending"
  • open another one to "switch to approved" and again wait for approvals (500% useless chore)

All that can be simply fixed by using dates or the tracking issue ID (which I like even better):

  • Open issue describing the problem, get initial agreement (no extra work, the wording of the problem can be transferred to the RFC)
  • Use issue number as the RFC number - thanks to GitLab's globally unique issue #s :-)
  • A single PR, no additional admin changes
  • A single round of approvals

from oteps.

lizthegrey avatar lizthegrey commented on July 19, 2024

We either need this, or we need some mechanism of reserving sequence numbers (maybe the tracking Issue reserves the number? IMO that would be way simpler and let us maintain easy correlation between tracking issue and RFC)

from oteps.

yurishkuro avatar yurishkuro commented on July 19, 2024

Numbers are meaningless anyway, dates at least convey certain info as well as serve unique (ish) IDs. But yes, starting with a ticket describing the problem, and then a PR with an RFC numbered after the issue sounds like a stable process.

from oteps.

yurishkuro avatar yurishkuro commented on July 19, 2024

And to clarify, the intent of this proposal is to remove the "proposed" state of the RFCs, because it results in silencing the discussion by switching the focus onto another "approval" ticket.

from oteps.

Oberon00 avatar Oberon00 commented on July 19, 2024

Using PR numbers is what rust-lang/rfcs does, and it seems sensible. But I don't think reserving a number is what drives people to merge an RFC ASAP. Merging an RFC means that the community agrees that this is worth discussing. Also, you can make a PR to modify a merged-as-proposed RFC.

from oteps.

carlosalberto avatar carlosalberto commented on July 19, 2024

starting with a ticket describing the problem, and then a PR with an RFC numbered after the issue sounds like a stable process.

I think this is very good way to address things - we both simplify RFC process, and we also keep on using numbers.

Also, you can make a PR to modify a merged-as-proposed RFC.

Usually PRs are used for the Specification, not the repo itself, no? Also I think this change is relatively straightforward, not sure we need a PR for that anyway ;)

from oteps.

Oberon00 avatar Oberon00 commented on July 19, 2024

Usually PRs are used for the Specification, not the repo itself, no? Also I think this change is relatively straightforward, not sure we need a PR for that anyway ;)

I think there is a misunderstanding here. ❓ I was not talking about a PR for this issue but I was making the argument that one advantage of the two-step RFC process is that while the RFC is in the proposed state, PRs can be made to amend it before it becomes accepted in a final PR.

from oteps.

Oberon00 avatar Oberon00 commented on July 19, 2024

You wouldn't even need an issue, just create the PR with 0000 and then push another commit to it that assigns the number of the PR.

from oteps.

carlosalberto avatar carlosalberto commented on July 19, 2024

just create the PR with 0000 and then push another commit to it that assigns the number of the PR

I remember hearing the case of the desire of merging a PR once it has enough approvals, and then having to wait for the maintainer/somebody else to go update the number first (instead of simply pressing the Merge button, as we usually do with the rest of the code).

What would be the cons of number-after Issue approach?

from oteps.

Oberon00 avatar Oberon00 commented on July 19, 2024

I would push a commit that assigns the number of the PR immediately (the same number as the PR, i.e. assigned by the GitHub PR system). No need for any additional persons to be involved.

What would be the cons of number-after Issue approach?

Just that you need an additional issue. 🤷‍♂ I have no objections against that either, there was talk about having tracking issues that gather/link all discussion for an OTEP anyway.

from oteps.

lizthegrey avatar lizthegrey commented on July 19, 2024

Do we have agreement on either using the PR number or the tracking bug here?

from oteps.

lizthegrey avatar lizthegrey commented on July 19, 2024

We're talking the same thing then. Use the issue id number of the tracking issue, and done.

from oteps.

tigrannajaryan avatar tigrannajaryan commented on July 19, 2024

Are we going forward with this? I think everybody was on board in the last Spec SIG meeting.

from oteps.

yurishkuro avatar yurishkuro commented on July 19, 2024

Looks like we have an agreement, someone needs to update the README with the new process.

from oteps.

tedsuo avatar tedsuo commented on July 19, 2024

👋 PR is here (#55), I incorporated this into the process simplification we discussed at the last Spec meeting.

from oteps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.