Opened 19 years ago
Closed 18 years ago
#1892 closed enhancement (fixed)
No feedback during "Indexing repository" phase of environment initialization
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.10.4 |
Component: | admin/console | Version: | 0.9.3 |
Severity: | normal | Keywords: | resync |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If possible, it would be nice to have some sort of feedback during the environment initialization phase. For instance, you could have a background thread that occasionally prints the revision that is currently being indexed, then goes back to sleep for a certain amount of time (rather than simply printing every revision as it is encountered, and thus slowing down the indexing operation). Or it could print status after every 100 commits.
Attachments (0)
Change History (11)
comment:1 by , 19 years ago
Component: | general → trac-admin |
---|---|
Owner: | changed from | to
Priority: | normal → lowest |
comment:2 by , 19 years ago
Priority: | lowest → low |
---|---|
Version: | 0.8.4 → 0.9.3 |
comment:3 by , 18 years ago
Keywords: | resync added |
---|---|
Milestone: | → 0.10.4 |
Owner: | changed from | to
Status: | new → assigned |
This is even more useful now that the resync is committing after each revision sync (more robust, but also much slower).
A few "." printed after every commit or every 10 commits would be adequate, I think.
comment:4 by , 18 years ago
Milestone: | 0.10.4 → 0.12 |
---|---|
Priority: | low → normal |
Well, I couldn't find a clean way to get this information out without modifying the versioncontrol API, so this will have to wait 0.12.
comment:5 by , 18 years ago
Milestone: | 0.12 → 0.10.4 |
---|
Now that sync()
is called explicitly by trac-admin, this can be done easily.
comment:6 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This change is not backwards compatible with existing VC plugins and needs reverted, at least on the 0.10-stable branch. See for example the Trac+Darcs plugin: http://progetti.arstecnica.it/trac%2Bdarcs/browser/tracdarcs/repository.py#L217
follow-ups: 9 10 comment:8 by , 18 years ago
Well, you can bring the topic on the trac-dev mailing list if you want, but sync() is only officially documented since 0.10.4, so there's no breakage here (see #5014).
If we really want to support the old API, then the change must be completed in order to check for the arity of the sync() method.
comment:9 by , 18 years ago
Follow-up to comment:8
If we really want to support the old API, then the change must be completed in order to check for the arity of the sync() method.
OK, turns out to be not a big deal, even useful considering that sync()
was not documented and that we're now explicitly calling it. I'll do the same for the sync_changeset
recently introduced as well.
comment:10 by , 18 years ago
Replying to cboos:
Well, you can bring the topic on the trac-dev mailing list if you want, but sync() is only officially documented since 0.10.4, so there's no breakage here (see #5014).
Well, despite being undocumented the method was still required. Trac assumed that repository connectors would all use the CachedRepository
object which provided this method, which was not really a safe assumption.
If we really want to support the old API, then the change must be completed in order to check for the arity of the sync() method.
Ok. I'd also prefer to rename it to "rev_callback" to make its purpose more clear.
comment:11 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
This still happens in the 0.9.3. While it isn't a killer it's hard to tell if it is hung or doing something.