Can ticket UI settings be synchronized between repos?
(1) By Amin Mesbah (aminom) on 2023-07-01 23:01:41 [link] [source]
- Is there a way to synchronize the TH1 scripts that define the ticket UI?
- If not, should there be?
- If not, is there documentation that describes unambiguously what you do and do not get locally when you do
fossil sync
vsfossil sync --verily
vsfossil clone
? - If not, should there be?
Context:
I was surprised when neither fossil sync
nor fossil sync --verily
pulled down changes I had made on the remote to the ticket UI TH1 scripts. When I do a sync operation on a DVCS, I expect to have everything I need locally to be productive while offline. In this case, that expectation was not met because I was missing the needed configuration to create tickets that conform to the remote's ticket format.
After the above surprise, I tried making a fresh clone, and that new clone did indeed have the updated ticket UI. I searched through the forums and documentation to see if there is any way to sync the ticket UI settings without cloning. I found nothing. I realized it would be very helpful for me to have a document that lists exactly what can and cannot be synced, and how.
Or perhaps this documentation already exists, and I merely failed to find it.
(2.2) By John Rouillard (rouilj) on 2023-07-02 01:38:04 edited from 2.1 in reply to 1 [source]
Does fossil config pull using the ticket area work for your use case?
In general config
is for transferring/distributing local state unlike regular sync/push/pull which is used for global state like wiki, forum, code etc.
I don't remember off the top of my head if chat data is global or local.
Unversioned files are local state as well, but push/pull is done via fossil uv sync. Note this requires a special setting (https://fossil-scm.org/home/doc/trunk/www/caps/admin-v-setup.md#dcap) on the remote side to overwrite the unversioned files.
(3) By Amin Mesbah (aminom) on 2023-07-04 17:53:11 in reply to 2.2 [link] [source]
Yes fossil configuration pull ticket
was exactly the thing I was missing. Since configuration is not versioned, it makes sense that it doesn't get synced with fossil sync
. I was just unfamiliar with the configuration
command (I think I had it mixed up with the settings
command).
Thanks for the help!