[pkg-perl-tools] 01/04: dpt-salsa: configurerepo(): remove un/share with debian team code
gregor herrmann
gregoa at debian.org
Wed Jan 31 20:37:48 UTC 2018
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository pkg-perl-tools.
commit 56309b8798ed46e5995f8006bb8daef2cbfffeea
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Jan 31 19:23:36 2018 +0100
dpt-salsa: configurerepo(): remove un/share with debian team code
Gbp-Dch: Ignore
---
scripts/salsa | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/scripts/salsa b/scripts/salsa
index d318cd8..89f5924 100755
--- a/scripts/salsa
+++ b/scripts/salsa
@@ -271,24 +271,6 @@ sub configurerepo {
}
);
-
- # take/give access to debian group
- # check if Administrator is a project user as a proxy to find
- # if the project is shared with the Debian group
- my $project_users = $api->project_users($repo_path);
- foreach ( @{$project_users} ) {
- if ( $_->{id} == $config{administrator_id} ) {
- $api->unshare_project_with_group( $repo_path, $config{debian_id},
- );
- last;
- }
- }
- $api->share_project_with_group(
- $repo_path,
- { group_id => $config{debian_id},
- group_access => $levels_name{developer},
- }
- );
}
## changerepo
@@ -421,7 +403,7 @@ Required.
=head3 I<configurerepo> I<repositoryid|repositoryname>
-Sets up the default webhooks, services, and permissions for a repository.
+Sets up the default webhooks and services for a repository.
Parameters:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git
More information about the Pkg-perl-cvs-commits
mailing list