[SAC] [OSGeo] #2383: git.osgeo.org/gitea giving warning when pushing

#2383: git.osgeo.org/gitea giving warning when pushing
---------------------------+-------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
As noted on postgis

https://trac.osgeo.org/postgis/ticket/4580

When pushing to gitea, it is now showing a warning:

{{{
Delta compression using up to 12 threads
Compressing objects: 100% (28/28), done.
Writing objects: 100% (29/29), 11.78 KiB | 1.07 MiB/s, done.
Total 29 (delta 27), reused 1 (delta 1)
remote: Warning: Detected setuptools version 5.5.1. The environment
variable 'PKG_RESOURCES_CACHE_ZIP_MANIFESTS' must be set to avoid
significant performance degradation.
remote: Thanks for letting us know
To https://git.osgeo.org/gitea/postgis/postgis.git
    1844af14a..de298f1b4 master -> master
}}}

It's still unclear to me why gitea's git is affected by python. I tried
setting that setting in apache/etc/envvars as suggested by note and
restarting apache on tracsvn-dev instance on osgeo4 which has the same
issue. That did now help.

However upgrading setup tools did seem to do the trick

{{{
pip install -U setuptools
}}}

I need to confirm that's all that is needed though as I was fussing with
configs.

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

#2383: git.osgeo.org/gitea giving warning when pushing -upgrade pip and setuptools
---------------------------+---------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by robe):

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

Comment:

okay I forgot that in dev I had upgraded that to trac 1.2.5, which
required me to upgrade pip as well. So the new setup tools couldn't be
upgraded without first upgrading pip.

So steps were:

{{{
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install -U setuptools

}}}

which yielded the following:

{{{
Installing collected packages: pip, wheel
   Found existing installation: pip 1.5.6
     Uninstalling pip-1.5.6:
       Successfully uninstalled pip-1.5.6
Successfully installed pip-19.3.1 wheel-0.33.6
}}}

{{{
Installing collected packages: setuptools
   Found existing installation: setuptools 5.5.1
     Uninstalling setuptools-5.5.1:
       Successfully uninstalled setuptools-5.5.1
Successfully installed setuptools-41.6.0
}}}

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

#2383: git.osgeo.org/gitea giving warning when pushing -upgrade pip and setuptools
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* milestone: => Sysadmin Contract 2019-II

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