In jira-projects/LAN#45 I've set up periodic a sync of my Github repos down into Gitlab.
The idea is that issues will get updated when I reference them from a Github commit (as well as allowing GILS to show the diff).
Those synced projects go into a group called github-mirror
However, aside from the commits, there isn't really anything pertinent in those repos, so having them on the main project list just adds clutter.
What I'd like to implement is a groupname filter so that I can prevent anything in github-mirror
from appearing on the homepage.
#40 | Add permitted_groups option |
Activity
20-Apr-22 07:30
assigned to @btasker
20-Apr-22 07:39
mentioned in commit 5cfd8a9408dc3606473efa4f5c49615e8acf6841
Message
Introduce ability to filter the project list by groupname for websites/Gitlab-Issue-Listing-Script#27
This introduces a new configuration option
$excluded_groups_from_homepage
which accepts an array of group names. Any projects falling within that group will not be included in the project listing20-Apr-22 07:40
This seems to be working, using the new config option:
My mirrored projects are no longer included in the list.
They're still accessible by accessing their URLs directly, and they still crosslink into issues where appropriate.
20-Apr-22 07:42
mentioned in issue jira-projects/LAN#45
25-Apr-22 11:09
mentioned in issue #40
25-Apr-22 11:09
marked this issue as related to #40
25-Apr-22 11:11
Re-opening.
[#40](/issue/websites/Gitlab-Issue-Listing-Script/40.html) has implemented some other group related functionality and currently there's a mismatch in the way that things are configured.
This issue uses the human readable group name, but that's not available when doing other kinds of filtering, so [#40](/issue/websites/Gitlab-Issue-Listing-Script/40.html) has to use the URL based name.
As this hasn't been released yet, I'm reopening to rework the filter so that it uses the path rather than title
25-Apr-22 11:13
mentioned in commit e5526b7db230ce5a922abb019b08d08460857d09
Message
Switch
$excluded_groups_from_homepage
to using group paths rather than names so that it's consistent with$permitted_groups
.See websites/Gitlab-Issue-Listing-Script#27
25-Apr-22 11:13
This is done, just needed switching to test against
path
rather thanname
.