#4562 closed task (fixed)
Add git browse capabilities to PostGIS Trac
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | Website Management, Bots |
Component: | website | Version: | |
Keywords: | Cc: |
Description
The repository "git" has been added.
You should now run trac-admin "/var/www/trac/env/postgis" repository resync "git" to synchronize Trac with the repository. You should also set up a post-commit hook on the repository to call trac-admin "/var/www/trac/env/postgis" changeset added "git" $REV for each committed changeset. See the documentation for more information.
NOTE: the trac-admin call failed for me with: Error: Unable to get database connection within 0 seconds. (OperationalError: fe_sendauth: no password supplied)
I'd have to learn Trac again after the migration to lxc…
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Upstream ticket for removal of trailing blanks: https://trac.edgewall.org/ticket/13215
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Task completed. See https://trac.osgeo.org/postgis/browser/git And the repo for GIT hooks is https://git.osgeo.org/gitea/postgis/postgis-git-hooks
Trac synchronization now worked, it failed becaase I needed to use the .pgpass from www-data.
Also, I had a blank space too much in the PATH (this would be worth filing upstream as a feature request, to strip blanks). Next we need to do the post-commit hook. If I'm not mistaken we have a repository for SVN hooks at the moment, we want to have a repo for git hooks as well (we do have such repo for geos hooks, a private repo)