Open-source git integration #21

Open
opened 2024-07-20 23:25:51 +02:00 by Benjamin_Loison · 3 comments

Could search overleaf/issues.

Related to #12 and #20.

Could search [overleaf/issues](https://github.com/overleaf/overleaf/issues). Related to #12 and #20.
Author
Owner

Despite having in config/overleaf.rc:

SERVER_PRO=false

let us replace GIT_BRIDGE_ENABLED=false to GIT_BRIDGE_ENABLED=true.

bin/start
Output:
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 3/3
 ✔ Container redis       Started                                                                                                      0.3s 
 ✔ Container mongo       Healthy                                                                                                     10.9s 
 ✔ Container sharelatex  Started

Related to #7.

ls data/
mongo  redis  sharelatex

image

Despite having in `config/overleaf.rc`: ``` SERVER_PRO=false ``` let us replace `GIT_BRIDGE_ENABLED=false` to `GIT_BRIDGE_ENABLED=true`. ```bash bin/start ``` <details> <summary>Output:</summary> ``` WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 3/3 ✔ Container redis Started 0.3s ✔ Container mongo Healthy 10.9s ✔ Container sharelatex Started ``` </details> Related to #7. ```bash ls data/ ``` ``` mongo redis sharelatex ``` ![image](/attachments/699c2902-6157-4a6d-b908-1f9133ec15de)
Benjamin_Loison pinned this 2024-07-22 23:30:05 +02:00
Author
Owner

Assuming changes happening once at a time on the Git and online, this feature could quite easily be implemented by notably leveraging the full history feature.

The official feature has a history differing per person, right? This does not seem wanted.

Assuming changes happening once at a time on the Git and online, this feature could quite easily be implemented by notably leveraging the full history feature. The official feature has a history differing per person, right? This does not seem wanted.
Author
Owner

See 31/07/24 internship notes and Slack message to someone maybe having a CLI workaround:

-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAaqHXD0v2SNf8n9v8WzLdyDfKBSCyhSqirSYzXT7btFIw
diczViWS+CL/vYH+5BC3msWOX3LW1wRvplI1BpxYmFlGB0JnNuBWiGDVNSFkK0Pq
0oABnAvQnTJTr0nZSYevtJh8duae7qHyqGWJwQkhj5FsUxqhel49VXEBzqM5gejH
Pb+3pCy8XpiLgDKK8i/msmcpIDGDJ9iW0gtNVS6L0APNTsSID81dc2ppcngDsKss
ibzn6XZTr7rfS8FYXNi1Z/ceWF/AkydrqYSE/+92oOORPA==
=6/Dq
-----END PGP MESSAGE-----

He answered me:

Salut ! J’ai utilisé ça : https://github.com/JulesColas97/overleaf-sync-plm
J’ai juste testé un peu et il y a eu un bug, et puis j’ai arrêté de l’utiliser. Ce qui m’est arrivé c’est si j’interrompre la synchronisation (e.g. ctrl C) le projet plante, et je ne peux plus restituer la synchro.
Je te conseille de tester cet outil sur un projet de test avant de l’utiliser sur ton projet principal pour ne pas casser ton projet éventuellement.

Related to Benjamin_Loison/overleaf-sync/issues.

See 31/07/24 internship notes and Slack message to someone maybe having a CLI workaround: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAaqHXD0v2SNf8n9v8WzLdyDfKBSCyhSqirSYzXT7btFIw diczViWS+CL/vYH+5BC3msWOX3LW1wRvplI1BpxYmFlGB0JnNuBWiGDVNSFkK0Pq 0oABnAvQnTJTr0nZSYevtJh8duae7qHyqGWJwQkhj5FsUxqhel49VXEBzqM5gejH Pb+3pCy8XpiLgDKK8i/msmcpIDGDJ9iW0gtNVS6L0APNTsSID81dc2ppcngDsKss ibzn6XZTr7rfS8FYXNi1Z/ceWF/AkydrqYSE/+92oOORPA== =6/Dq -----END PGP MESSAGE----- ``` He answered me: > Salut ! J’ai utilisé ça : https://github.com/JulesColas97/overleaf-sync-plm > J’ai juste testé un peu et il y a eu un bug, et puis j’ai arrêté de l’utiliser. Ce qui m’est arrivé c’est si j’interrompre la synchronisation (e.g. ctrl C) le projet plante, et je ne peux plus restituer la synchro. > Je te conseille de tester cet outil sur un projet de test avant de l’utiliser sur ton projet principal pour ne pas casser ton projet éventuellement. Related to [Benjamin_Loison/overleaf-sync/issues](https://codeberg.org/Benjamin_Loison/overleaf-sync/issues).
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/overleaf#21
No description provided.