Draft: TUM Sharelatex
Existing methods
I cannot use the script with the ShareLaTeX/Overleaf instance at https://sharelatex.tum.de due to several reasons.
Pull
- The login page is not under
/login
, but/ldap/login
- The username in the data sent for login has to be sent as
login
, notemail
.
Push
- The upload via POST to https://sharelatex.tum.de needs a different structure as currently in the code.
Clone
- Works now
New
- Works
Compile
-
I could not make this work with TUM's sharelatex instance. I constantly get the error
'no main file specified'
Features from ShareLaTeX-Versioning
I introduced some features from my project https://github.com/pstoeckle/ShareLaTeX-Versioning
- Passing a file with patterns of local files that should not be deleted, e.g.,
Makefile
or.vscode/*
.
General stuff
- I introduced a CLI parameter to name the branch other than
__remote__sharelatex__
- I adjusted/sorted the imports for the tests
- I created docker images based on python3.6,...,python3.9 and installed the requirements (especially
docker
) as specified in the.gitlab-ci.yml
. See here for the Dockerfile. Thus, one can now use the images directly for the CI tests and speed up the tests.