Skip to content

Add label clone command #5441

Description

@samcoe

@heaths Thanks for the explanation. Seems like going with a single label clone command would be sufficient to start. I agree that it should support some sort of --overwrite flag that will do the upsert operation, but I would be hesitant to have that be the default behavior and would rather see the user have to opt in to a potentially destructive operation.

Originally posted by @samcoe in #446 (comment)

Activity

  1. heaths commented on Apr 11, 2022

    @heaths
    Contributor

    Per discussion on #446, --force would also be acceptable. IMO, more consistent with other CLIs, but either - with a good description - works.

  2. heaths commented on Apr 13, 2022

    @heaths
    Contributor

    I've started working on this.

  3. added a commit that references this issue on Apr 13, 2022
    6d5f98b
  4. Griffin641498 commented on Apr 22, 2022

    @Griffin641498
  5. adriens commented on Apr 29, 2022

    @adriens

    I was recently asked if it was possible to copy only a subset of labels from a repo to an another 🤔 What do you think about this idea ? Should we make a Feature request ❔

  6. heaths commented on Apr 29, 2022

    @heaths
    Contributor

    I think for this I'd rather port what I mentioned in my comment: import and export commands. You can export to a TSV or CSV, edit in Excel or whatever, then import into another repo - or the same repo just to update labels more easily. Thoughts?

  7. adriens commented on Apr 29, 2022

    @adriens

    @heaths 👍

  8. Imtiyaz40 commented on Apr 29, 2022

    @Imtiyaz40

    @heaths Thanks for the explanation. Seems like going with a single label clone command would be sufficient to start. I agree that it should support some sort of --overwrite flag that will do the upsert operation, but I would be hesitant to have that be the default behavior and would rather see the user have to opt in to a potentially destructive operation.

    Originally posted by @samcoe in #446 (comment)

  9. adriens commented on Apr 29, 2022

    @adriens

    😸 @Imtiyaz40 :

    @heaths Thanks for the explanation. Seems like going with a single label clone command would be sufficient to start.

    That would be perfecttly 🆗 ❣️

    I agree that it should support some sort of --overwrite flag that will do the upsert operation, but I would be hesitant to have that be the default behavior and would rather see the user have to opt in to a potentially destructive operation.

    Defintitely agree 👍

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions