There are a few things to work out before this can be done though.
Labels can be global, group level or project specific - do we want label pages to exist at the global level, or per project?
If we're showing at a global level, how do we avoid including labels for projects that might not be included (via $permitted_projects) in the export?
Because labels can exist at different levels, there may be distinct labels with the same name, so we'd need to make sure any file-naming convention takes that into account.
Labels can be global, group level or project specific - do we want label pages to exist at the global level, or per project?
It looks like Gitlab's API makes a distinction between group and project level labels - https://docs.gitlab.com/ee/api/labels.html - so the simplest way to implement is almost certainly to do it at the project level.
That's where people are going to be looking most of the time - whilst there may be an occasional need to show all new features (or whatever) across all projects, that's going to be quite rare compared to "show me all current bugs on foo"
It occurs to me that we probably don't need a separate page so much as a section on the project page detailing the available labels - I can't imagine a completely separate page would see much traffic.
Activity
20-Apr-22 07:25
There are a few things to work out before this can be done though.
Labels can be global, group level or project specific - do we want label pages to exist at the global level, or per project?
If we're showing at a global level, how do we avoid including labels for projects that might not be included (via
$permitted_projects
) in the export?Because labels can exist at different levels, there may be distinct labels with the same name, so we'd need to make sure any file-naming convention takes that into account.
20-Apr-22 07:27
It looks like Gitlab's API makes a distinction between group and project level labels - https://docs.gitlab.com/ee/api/labels.html - so the simplest way to implement is almost certainly to do it at the project level.
That's where people are going to be looking most of the time - whilst there may be an occasional need to show all new features (or whatever) across all projects, that's going to be quite rare compared to "show me all current bugs on
foo
"23-Apr-22 10:12
marked this issue as related to #39
25-Aug-22 18:49
mentioned in issue #44
26-Aug-22 08:05
mentioned in commit f246c5c10c713a8defedb9d9135ba0518647d7a7
Message
Add label details to top of page (websites/Gitlab-Issue-Listing-Script#26)
26-Aug-22 08:07
Commit f246c5c1 referenced the wrong issue - it was meant for [#44](/issue/websites/Gitlab-Issue-Listing-Script/44.html)
That's what I get for having this issue open as a reference...
However, [#44](/issue/websites/Gitlab-Issue-Listing-Script/44.html) is almost done, and the logical extension of that is that it'll need this page to aid with navigation to the timeline that it implements.
26-Aug-22 15:08
It occurs to me that we probably don't need a separate page so much as a section on the project page detailing the available labels - I can't imagine a completely separate page would see much traffic.
26-Aug-22 15:39
mentioned in commit fe05da88c13ef58eb58b850dfcc25496712491f0
Message
Add project labels to the project page (websites/Gitlab-Issue-Listing-Script#26)
This adds a section to the main project index listing the labels for that project
26-Aug-22 15:39
This is done