Menu

Trac Commit Log


Commit Date  
[r7969] by cboos

MultiRepos: add more TracAdmin `repository` management subcommands

- `add`/`remove`/`rename` a repository
- create an `alias` to an existing repository
- `list` existing repositories and aliases

Patch written by Remy Blank on #7822.

2009-03-22 14:55:08 Tree
[r7968] by cboos

MultiRepos: fix changeset view option panel, integrate `reponame` in the paths

2009-03-22 14:49:12 Tree
[r7967] by cboos

MultiRepos: move `diff_options_fields(diff)` out of macros.html into diff_options.html snippet.

2009-03-22 14:48:54 Tree
[r7966] by cboos

MultiRepos: fix a few changeset related links

2009-03-22 14:47:40 Tree
[r7965] by cboos

MultiRepos: add sync command (i.e. resync without initial clean-up).

This is very useful for resuming a resync that has been interrupted, without restarting it all over.

2009-03-22 14:43:27 Tree
[r7964] by cboos

MultiRepos: make it possible to retrieve a Repository by its directory, using `RepositoryManager(env).get_repository(dir)`.

This will simplify the writing of hooks, which can simply specify the repository directory (with the scope if needed), usually readily available inside the hook.

As an example, I've modified the trac-post-commit-hook.cmd to use the `repository notify` command and to take advantage of the above feature.

2009-03-22 14:32:48 Tree
[r7963] by cboos

MultiRepos: during notification, warn if specified reponame could not be related to any real repository.

2009-03-22 14:31:18 Tree
[r7962] by cboos

MultiRepos: fix the youngest_rev property of the !CachedRepository

2009-03-22 14:29:35 Tree
[r7961] by cboos

MultiRepos: added initial support for multiple cached repositories.

- introduction of a new ''repository'' command in TracAdmin
- `resync` subcommand is now `repository resync`
- new subcommand `notify` for new changeset notification
- the `RepositoryManager` now makes a distinction between "real" repositories and mere aliases to real repositories. Only real repositories get notified of new changesets and get resynced.
- a `Repository` can now report its actual base, if it's a scoped repository. This enable to identify different scoped repositories sharing the same base. Note that a scoped repository is a real repository and if its type requires it (e.g. svn), it will get cached on its own.

Note also that '''a schema upgrade is needed''' (database_version = 22).
The `node_change` and `revision` tables gain a new `repos` column of type text.

Patch written by Remy Blank on #7723.
Review, nit-picking and summary by me.

2009-03-22 14:27:44 Tree
[r7960] by cboos

MultiRepos: merged from 0.12dev [7949:7958/trunk]

2009-03-22 14:20:03 Tree
Older >
MongoDB Logo MongoDB