Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#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 strk, 5 years ago

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)

comment:2 by strk, 5 years ago

Upstream ticket for removal of trailing blanks: https://trac.edgewall.org/ticket/13215

comment:3 by strk, 5 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by robe, 4 years ago

Milestone: Management 2.0Website Management, Bots

Milestone renamed

Note: See TracTickets for help on using tickets.