Fossil

View Ticket
Login

View Ticket

2014-01-02
15:47 Closed ticket [3b1533a090]: 'sync' command in the web-interface plus 3 other changes ... (artifact: 6c8adcb695 user: jan.nijtmans)
2011-09-08
20:06 Closed ticket [96af2fca6d]: web "Sync Now" need to provide repository path argument. plus 2 other changes ... (artifact: dae566959d user: dmitry)
2010-04-22
18:27 Ticket [3b1533a090] 'sync' command in the web-interface status still Open with 1 other change ... (artifact: 2dd55d49ef user: anonymous)
15:22 Fixed ticket [a534227710]: Web UI "Admin -> Sync Now" should be removed except maybe for "fossil ui" plus 2 other changes ... (artifact: 359c534b44 user: drh)
15:19 Open ticket [3b1533a090]: 'sync' command in the web-interface plus 1 other change ... (artifact: fa6fa69a50 user: drh)
15:18
Back out check-in [fc23960258211b5bc]. This will close ticket [a534227710d3e5] but re-open ticket [3b1533a090eebd09d]. ... (check-in: f7ec914037 user: drh tags: trunk)
2010-01-27
07:52 Fixed ticket [3b1533a090]: 'sync' command in the web-interface plus 2 other changes ... (artifact: 07e99c21d7 user: ron)
07:52
fix [3b1533a090eebd09da7121ab3fc9e3f6a7fbd6f5] - add "Sync now" to Admin page ... (check-in: fc23960258 user: ron tags: trunk)
2009-09-25
08:56 New ticket [3b1533a090] 'sync' command in the web-interface. ... (artifact: 31566ce680 user: anonymous)

Ticket Hash: 3b1533a090eebd09da7121ab3fc9e3f6a7fbd6f5
Title: 'sync' command in the web-interface
Status: Closed Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2014-01-02 15:47:40
Version Found In: f969b6cdde
Description:
Having two fossil servers (cgi), one clone of another. How to sync them, if there no command line access? 'Sync now' button wanted in the admin section.

ron added on 2010-01-27 07:52:35:
Fixed with checkin [fc23960258211b5bc752a82c429d5fb3f3286b67]


drh added on 2010-04-22 15:19:43:
The change above was incorrect and has been removed. This feature request is now reopened.


anonymous added on 2010-04-22 18:27:49:
Until such time as there is a web ui for this, you can sync them from a remote machine with push/pull commands. Assuming that URL1 and URL2 represent the two remote machines, you would do the following:

fossil clone URL1 syncup.fossil
fossil pull URL2 -R syncup.fossil
# More pulls from other repositories here if more than 2
fossil push URL1 -R syncup.fossil
fossil push URL2 -R syncup.fossil
# More pushes to other repositories here if more than 2
rm syncup.fossil

Not much additional network traffic except for the first clone and if the syncup.fossil repository is kept around between syncs instead of rming it (subsequently pulling from URL1 rather than cloning from URL1) network traffic really won't be all that large. (Of course suitable users and passwords with appropriate clone/pull/push privileges will have to be used.)

User Comments:
jan.nijtmans added on 2014-01-02 15:47:40:

Fixed in [1311841a3c]