Git integration using git-remote-helper#15
Conversation
…king on cloning, bugged
…g .gitignore when pushing file to overleaf.
…rojectInfo, required for deleting files
|
Thanks Valentin — this is a much better direction than the real-time daemon idea I closed in #6. Two things before I review properly:
Some smaller things I'll flag in a real review pass once we're on the same base:
Don't take any of that as blockers, just thinking ahead. Happy to discuss the design in this thread, on a draft issue, or via email — whichever works for you. Either way, please keep going. This is a real contribution and exactly the kind of integration olcli should support. |
|
Hello,
I don't know what method of communications are common are usually used. It is my first time contributing to a project. |
Changed architecture to use a class rather than functions, clearer code
…s with pull, push, merging, more features to come
Added browser pop up for login with auto cookie retrieval + auto detect outdated cookies. Added new static method in client for client creation using the new baseUrl, cookie architecture. getClient is still in use in cli and has been moved back to cli.ts.
removal of verifySession, as it is not working as intended
|
Hi again, I added all the features I thought of as of now. They include :
A feature that I would like to add is simultaneaous upload to a git repo, e.g. github, gitlab, etc. If you think of any other features don't hesitate. Concerning the e2e tests. I don't think they are that usefull, most problems occurs with synchronisation problem when editing both locally and on the browser. I can't think of any practical way to automize that. Best regards, |
…les it all much better.
|
I merged the last version of The e2e tests don't seem to work on my side, but the only changes done to I think it is ready for merging, tell me if there is something else you need to flag it as ready ! |
|
Thanks for the great idea and the effort here, @bicheTortue! The past releases focused on bug fixes, stability improvements, and adding core features (comments, MCP server, configurable timeout, password login). Now that the CLI is approaching feature completeness, I would consider git remote helper integration as a feature in one of the next releases, definitely before v1.0.0. I have opened #36 to track this going forward. The concept is sound - a fresh implementation can build on the current Closing this PR in favor of #36. Thank you for pioneering the idea! |
- Add git-remote-overleaf binary (import/export protocol, mark-based tracking) - Extract MCP docs to docs/MCP.md, git remote docs to docs/GIT-REMOTE.md - Update landing page with dynamic badges, git remote & MCP sections - Update SKILL.md with decision table and new features - Bump version to 0.7.0 Closes #36 Originally proposed in #15 by @bicheTortue
Hello,
This pull contains the first drafts of work to delete files when running
olcli psuh.The git integration mitigates most synchronization issues. Its still in Beta but should be good to go in most situations.
The commits made for version 0.1.8 were messing up the getProjectInfo, it works only with the websockets request, which seem to have been removed in 0.1.8....
It supports cloning using the url ( currently only https://overleaf.com is supported ), pulling and pushing.
When cloning use
git clone overleaf::<url>.I plan to add other features in the future like pushing to a git repo in parallel.
Feel free to contact me by email at valentin@barbaza.org if you have any questions.
The getClient function was moved to the client.ts.
Built with the help of Gemini (free).