Menu

Trac Commit Log


Commit Date  
[r8080] by cboos

Fix some long standing issues in the WSGI layer:
- stop handling a request early when the client disconnected (fix #3043)
- don't write to the client if the file descriptor is already closed (fix #1183)

2009-04-08 20:37:42 Tree
[r8079] by rblank

0.12dev: Renamed the `key` column of the `cache` table to `id` for MySQL compatibility, and changed the type of the `generation` column to `int`.

'''For people who have already upgraded their database to version 22, this requires manual intervention on the database.'''

You can either remove the `cache` table and re-create it by hand:
{{{
DROP TABLE cache;
CREATE TABLE cache ( id text PRIMARY KEY, generation int );
}}}
(for SQLite; or the equivalent for your database)

Or you can downgrade the database version, drop the `cache` table, and upgrade again:
{{{
UPDATE system SET value=21 WHERE name='database_version';
DROP TABLE cache;

trac-admin $TRAC_ENV upgrade
}}}

Closes #8197.

2009-04-08 20:11:33 Tree
[r8078] by cboos

!InterWikiMap component was not always registered in change_listeners.

On trunk, this prevented the proper update of the cache. Fixing on 0.11-stable as well, as the component registration issue is certainly the same there.

2009-04-08 19:03:40 Tree
[r8077] by cboos

MultiRepos: small refactoring of the code for template data preparation in the browser.

2009-04-08 15:40:36 Tree
[r8076] by cboos

MultiRepos: enable directory expansion on Repository Index

2009-04-08 12:56:20 Tree
[r8075] by cboos

MultiRepos: more tweaks to the svn hook script, renamed to trac-svn-hook as it can now be called by both the post-commit hook and the post-revprop-change hook.

2009-04-08 10:39:56 Tree
[r8074] by cboos

MultiRepos: the trac-svn-post-commit script now advises to directly put the TRAC_ENV, PATH (+ eventually LD_LIBRARY_PATH) configuration inside (a copy of) the trac-svn-post-commit script.

That way a multi-repository setup is easier to maintain, as there's only one line which has to be added to each repository's hooks/post-commit script, i.e.

{{{
/path/to/trac-svn-post-commit $REPOS $REV
}}}

2009-04-07 18:09:19 Tree
[r8073] by cboos

MultiRepos: merge r7081 from trunk, taking care of moving first the previous upgrade db22.py to db23.py.

'''An environment upgrade is needed.'''

For users that were already using the new cached repositories, the upgrade is needed and automated as well.

2009-04-07 11:16:22 Tree
[r8072] by cboos

TracMercurial for 0.11: python 2.3 compatibility fix. Closes #8195.

2009-04-07 07:33:12 Tree
[r8071] by rblank

0.12dev: Refactored various in-process caches into a `CacheManager` component as described in [wiki:TracDev/Proposals/CacheInvalidation].

'''This changeset increments the `db_version` to 22 and therefore requires an environment upgrade.'''

2009-04-06 21:24:29 Tree
Older >