Open-source git integration #21

Open
opened 2024-07-20 23:25:51 +02:00 by Benjamin_Loison · 6 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.

<details> <summary>See 31/07/24 internship notes and Slack message to someone maybe having a CLI workaround:</summary> ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAaqHXD0v2SNf8n9v8WzLdyDfKBSCyhSqirSYzXT7btFIw diczViWS+CL/vYH+5BC3msWOX3LW1wRvplI1BpxYmFlGB0JnNuBWiGDVNSFkK0Pq 0oABnAvQnTJTr0nZSYevtJh8duae7qHyqGWJwQkhj5FsUxqhel49VXEBzqM5gejH Pb+3pCy8XpiLgDKK8i/msmcpIDGDJ9iW0gtNVS6L0APNTsSID81dc2ppcngDsKss ibzn6XZTr7rfS8FYXNi1Z/ceWF/AkydrqYSE/+92oOORPA== =6/Dq -----END PGP MESSAGE----- ``` </details> 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).
Author
Owner
![Screenshot 2024-11-25 at 23-17-48 MLBrief PRNU extraction - Online LaTeX Editor Overleaf](/attachments/1c3c17b9-a002-4c04-ae2c-1e9e26f83a48) > [Try it for free](https://www.overleaf.com/user/subscription/choose-your-plan) Source: https://www.overleaf.com/project/XXXXXXXXXXXXXXXXXXXXXXXX
Author
Owner

moritzgloeckl/overleaf-sync/compare/master...JulesColas97:overleaf-sync-plm:master looks legitimate, despite being minimized in my opinion see notably Benjamin_Loison/overleaf-sync/issues/1, and moritzgloeckl/overleaf-sync has 323 stars and last commit was 2 years ago. So should first try in a virtual machine environment. I don't have yet a fork of overleaf-sync-plm.

[moritzgloeckl/overleaf-sync/compare/master...JulesColas97:overleaf-sync-plm:master](https://github.com/moritzgloeckl/overleaf-sync/compare/master...JulesColas97:overleaf-sync-plm:master) looks legitimate, despite being minimized in my opinion see notably [Benjamin_Loison/overleaf-sync/issues/1](https://codeberg.org/Benjamin_Loison/overleaf-sync/issues/1), and [moritzgloeckl/overleaf-sync](https://github.com/moritzgloeckl/overleaf-sync) has 323 stars and last commit was 2 years ago. So should first try in a virtual machine environment. I don't have yet a fork of `overleaf-sync-plm`.
Author
Owner

Experimented successfully overleaf-sync-plm.

Experimented successfully `overleaf-sync-plm`.
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/overleaf#21
No description provided.