[SAC] [OSGeo] #2229: Switch geotiff SVN repository to read-only mode

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+-------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
The libgeotiff project has decided to migrate to git and is now hosted at
https://github.com/OSGeo/libgeotiff

Consequently, could you switch /​svn/​repos/​metacrs/​geotiff to read-only
mode ?

Thanks, Even

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+---------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

I made the change just for the libgeotiff folder. Can you confirm you can
only read now? Unfortunately I can't test since I only have read-rights
to the repo anyway.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+-----------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------
Changes (by robe):

* status: closed => reopened
* resolution: fixed =>

Comment:

okay guess that didn't work EvenR can still commit to that folder

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+-----------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------

Comment (by robe):

Hopefully my last change did the trick.

I ended up copying the pattern of the grass/ postgis / other sites

Following this:

https://wiki.osgeo.org/wiki/Subversion#Authz_Rules

Basically created a authz.tmpl file in /var/www/svn/repos/metacrs with
these contents:

{{{
[groups]
committers = @@metacrs@@

[/]
* = r
@committers = rw

[/geotiff]
* = r
}}}

Changed the /etc/apache2/includes/subversion/metacrs.conf

I remarked out the LDAP stuff except for user listing

{{{
     <Location /metacrs>
       DAV svn
       SVNPath /var/www/svn/repos/metacrs
       AuthzSVNAccessFile /var/www/svn/repos/metacrs/authz

       #<LimitExcept GET PROPFIND OPTIONS REPORT>
           Include includes/ldap_auth_url.inc
       # Require ldap-group cn=metacrs,ou=svn,dc=osgeo,dc=org
       #</LimitExcept>
       Satisfy Any
       Require valid-user
     </Location>
}}}

When to this page - https://www.osgeo.org/cgi-
bin/auth/ldap_group.py?group=postgis

and did a pointless remove and readd.

That triggers all the authz files to be recreated based on their
authz.tmpl file and I confirmed I now had a authz file in root of metacrs
folder

Then did a

{{{
service apache2 reload
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+-----------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------

Comment (by rouault):

I confirm I can no longer commit. Thanks @robe for taking care of this.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2229: Switch geotiff SVN repository to read-only mode
---------------------------+---------------------
Reporter: rouault | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by robe):

* status: reopened => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.