Skip to content

MNT: Remove "Work in progress" and "Experimental" labels in favor of Draft PR? #10706

Closed

Description

@pllim

We have Work in progress and Experimental labels created before GitHub had "Draft PR" feature. Draft PR is nicer because it actually disables the merge button. Should we remove these labels in favor of using Draft PR exclusively?

Might also want to add bot logic to check if a PR is draft or not, so cc @astrofrog , @bsipocz , and @Cadair .

Activity

  1. bsipocz commented on Sep 2, 2020

    @bsipocz
    Member

    maybe the WIP, but experimental is more than a draft and was used in the past to explore alternative approaches and implementation. Also, does all of CI run on draft PRs?

  2. pllim commented on Sep 2, 2020

    @pllim
    MemberAuthor

    Re: CI -- As far as I can see, yes.

  3. mhvk commented on Sep 3, 2020

    @mhvk
    Contributor

    Definitely remove "WIP". I'd tend to remove "experimental" also, though agree that it serves a slightly different purpose. But it would be nice to reduce the number of labels...

  4. taldcroft commented on Sep 13, 2020

    @taldcroft
    Member

    I agree that WIP is basically the same as draft, meaning that you have an expectation that this will eventually be mergeable, but just not yet. Experimental is something that is more likely to not get merged.

    The bit about having a switch to disable CI seems important. Related is having a way as a maintainer to turn off of CI for a newcomer's half-formed PR that doesn't need to be burning CI for every commit?

    One advantage of labels is that they are searchable. Is there a way to find all draft PRs?

  5. bsipocz commented on Sep 13, 2020

    @bsipocz
    Member

    use draft:true in the searchbox to get the drafts:

    https://github.com/astropy/astropy/pulls?q=is%3Apr+is%3Aopen+draft%3Atrue

  6. pllim commented on Sep 14, 2020

    @pllim
    MemberAuthor

    The bit about having a switch to disable CI seems important

    CI can be skipped with [ci skip] or [skip ci], or in our case, [skip travis] as well. We don't have labels that control CI (we control some aspect of the bot with them but that is a different story). So, deleting WIP label and using Draft PR will not change any existing CI behavior.

    a way as a maintainer to turn off of CI for a newcomer's half-formed PR that doesn't need to be burning CI for every commit?

    There is currently no way to simply "turn it off for the PR." We can go in and cancel the build or advise author to be diligent in adding [ci skip] directive in each relevant commit message. I am not sure if we want to simply "turn it off" either, as the decision is subjective and might lead to perception of favoritism.

  7. mhvk commented on Sep 14, 2020

    @mhvk
    Contributor

    So far, it seems "Draft PR" covers both our "Work in Progress" and "Experimental" even though the two have slightly different meaning, so on the topic of this issue, it would seem we can remove (retire?) the labels.

    Separately, if it were possible, I think there would be some advantage to "Draft PR" not running CI by default - often, a draft PR (whether experimental or work in progress) is to show others what one is thinking and an occasional CI run (maybe by temporarily making it a real PR) would be good enough.

  8. pllim commented on Sep 14, 2020

    @pllim
    MemberAuthor

    I think CI control is out of scope of this issue. Currently, both "experimental" and WIP labels do not affect the CI behaviors in any way that I know of.

  9. mhvk commented on Sep 14, 2020

    @mhvk
    Contributor

    OK, let's move discussion of CI to #10729

  10. pllim commented on Sep 16, 2020

    @pllim
    MemberAuthor

    Back to the labels, I think there is a consensus to keep "Experimental" and remove "Work in progress"?

    Before that label can be removed though, is it acceptable for me to turn all the PRs currently with that label into Draft PR (if not already) without consent from the authors? It seems like I am able to do that but I don't want no drama. https://github.com/astropy/astropy/labels/Work%20in%20progress

  11. mhvk commented on Sep 16, 2020

    @mhvk
    Contributor

    Yes, acceptable, I think (and quite a few are mine!)

  12. pllim commented on Sep 16, 2020

    @pllim
    MemberAuthor

    Label is gone. Now you can find WIP PRs as https://github.com/astropy/astropy/pulls?q=is%3Apr+is%3Aopen+is%3Adraft

    p.s. I might have forgotten to leave a friendly comment in some of them. Ops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions