Edgewall Software

Ticket #2382 (new enhancement)

Opened 3 years ago

Last modified 22 months ago

WebAdmin: resync from the web interface

Reported by: Manuzhai Owned by: cboos
Priority: normal Milestone: 0.13
Component: version control Version: 0.9
Severity: normal Keywords: webadmin
Cc: manuzhai@…

Description

It would be nice to be able to resynchronize from the web interface. I've written a WebAdmin component that does this for any repository that supports the 'sync' method.

(Should we have a WebAdmin component for tickets?)

Attachments

admin-resync.diff (3.6 KB) - added by Manuzhai 3 years ago.
Adds a Resynchronization module to WebAdmin.

Change History

Changed 3 years ago by Manuzhai

Adds a Resynchronization module to WebAdmin.

Changed 3 years ago by markus

Looks good IMHO. But what I'm missing is an interval option, see #1271 for cboos' proposal.

Changed 3 years ago by cmlenz

Resync can potentially take quite a long time, so I'm not sure it's a good idea to do this from a request handler.

I'd also put this functionality on a Version Control page, that would in the future probably allow other types of operations (such as selecting the repository type and directory/URL).

Changed 3 years ago by Manuzhai

I like the idea of calling it Version Control.

About the request taking too long: do we have data on how long resync takes on very large repositories? What is the risk that the resync takes longer than the timeout?

I quite like the idea of interval resyncing, this would also make it not take so long. I'm thinking I would just do one field that says how many revisions to resync. Could default to say, 10 revisions. Possibly, we could impose an upper limit on the number of revisions that can be resynchronized from the web, so we're sure it doesn't take too long.

Changed 22 months ago by cboos

  • keywords webadmin added
  • owner changed from jonas to cboos
  • component changed from general to version control
  • milestone set to 0.12

resync, and other version control operations like changing the scope of the repository (or adding/remove repositories, see #2086) should certainly deserve an admin module.

Add/Change #2382 (WebAdmin: resync from the web interface)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.