/[smecontribs]/rpms/smeserver-git/contribs9/smeserver-git-1.1.0-fix_missing_group_modify_event_check.patch
ViewVC logotype

Contents of /rpms/smeserver-git/contribs9/smeserver-git-1.1.0-fix_missing_group_modify_event_check.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Nov 28 23:48:27 2017 UTC (6 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Tue Nov 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
- fix smeserver-git prevents httpd.conf template expansion  [SME: 10464]
- now if gitweb is enabled but smeserver-gitweb is not installed a warning is issued
instead of an error and template consider it disabled. Same thing if gitweb_theme is enabled
but smeserver-gitweb-theme is missing.

1 diff -urN smeserver-git-1.1.0.org/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list smeserver-git-1.1.0/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list
2 --- smeserver-git-1.1.0.org/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list 2012-12-02 21:14:33.000000000 +1030
3 +++ smeserver-git-1.1.0/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list 2016-02-17 12:10:11.616793496 +1030
4 @@ -29,6 +29,7 @@
5 use strict;
6 use Errno;
7 use esmith::util;
8 +use esmith::event;
9
10 #------------------------------------------------------------
11 # Delete the user or group from access list on git repositories
12 @@ -47,6 +48,9 @@
13 } elsif ($event eq 'group-delete') {
14 # Setup to scan for groups
15 @entries = qw(GroupsWrite GroupsRead);
16 +} elsif ($event eq 'group-modify') {
17 + # Setup to scan for groups
18 + @entries = qw(GroupsWrite GroupsRead);
19 } else {
20 die "Invalid event: \"$event\" for \"$item\" .";
21 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed