#4580 closed defect (fixed)
Warning when pushing to git
Reported by: | Algunenano | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | Website Management, Bots |
Component: | management | Version: | master |
Keywords: | Cc: |
Description
I'm getting a warning when pushing to git.osgeo.org:
$ git push upstream master Password for 'https://Algunenano@git.osgeo.org': Enumerating objects: 54, done. Counting objects: 100% (54/54), done. 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 seems to be related to Trac (https://trac.edgewall.org/wiki/TracInstall):
Deploying Trac Setuptools Warning: If the version of your setuptools is in the range 5.4 through 5.6, the environment variable PKG_RESOURCES_CACHE_ZIP_MANIFESTS must be set in order to avoid significant performance degradation. If running tracd, the environment variable can be set system-wide or for just the user that runs the tracd process. There are several ways to accomplish this in addition to what is discussed here, and depending on the distribution of your OS. To be effective system-wide a shell script with the export statement may be added to /etc/profile.d. To be effective for a user session the export statement may be added to ~/.profile. export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 Alternatively, the variable can be set in the shell before executing tracd: $ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject If running the Apache web server, Ubuntu/Debian users should add the export statement to /etc/apache2/envvars. RedHat/CentOS/Fedora should can add the export statement to /etc/sysconfig/httpd.
Change History (7)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
bah nevermind I just noticed I got the same error when pushing to postgis.net — so I suspect this i caused by my trac container updates
comment:3 by , 5 years ago
All the examples of where to set this env variable did not work on dev.git.osgeo.org which had the same issue.
However upgrading setuptools seems to have done the trick on dev. I'm going to move this to sac since it's a server issue.
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Weird I didn't think our git repo is even using trac for anything. I could be mistaken though — strk have an opinion on this.
Alguenano — did this start happening — might be because of my patch upgrades of yesterday as it seemed to want to upgrade python.