Giter Site home page Giter Site logo

Copy labels from globals about gitlab-copy HOT 6 OPEN

gotsunami avatar gotsunami commented on August 17, 2024
Copy labels from globals

from gitlab-copy.

Comments (6)

matm avatar matm commented on August 17, 2024 3

Hey there! Is copying labels from one group to another still a wanted feature? Just want to know if I work on this (to be included to upcoming 0.7 release). Thanks!

from gitlab-copy.

matm avatar matm commented on August 17, 2024

@mackeyja92 What do you mean labels at site level? Aren't labels tied to projects? I can't find a link about global label definition.

There's no way to copy all labels from a source project to all other projects at the moment. There may be a need for that feature indeed.

from gitlab-copy.

Hufschmidt avatar Hufschmidt commented on August 17, 2024

I think he means group labels which can be created by going to [some group or sub-group] > issues > label. Group labels can be used in any project in this group but not any sub-group or sub-group project.
Here is where gitlab-copy would come in handy.

from gitlab-copy.

matm avatar matm commented on August 17, 2024

Yes, indeed. I wasn't aware of those. [some group] > edit > labels allows to define labels for all projects in a group. Thanks @Hufschmidt for pointing this out. How do you think gitlab-copy could handle it? Allow copying labels from one project to a group's labels? Maybe also allow copying of labels between groups.

from gitlab-copy.

Hufschmidt avatar Hufschmidt commented on August 17, 2024

Since labels of a group are currently only available in projects of that group, but not in projects in any of its sub-groups (gitlab discussion) my first use-case would be copying labels from one group to another.

Side-note: As far as I know project-labels can already be promoted to group-labels via gitlabs own gui, having this in gitlab-copy might still be usefull when trying to migrate a lot of labels from project to group though.

I have to admin though I don't know if there is an API endpoint for fetching or adding group-level labels, last time I looked I didn't find any documentation on this...

from gitlab-copy.

zaventh avatar zaventh commented on August 17, 2024

Copying labels from group to group even in a single instance would be very desirable @matm. Currently I have a crude script to do this with curl and jq.

from gitlab-copy.

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.