1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00
Commit graph

18 commits

Author SHA1 Message Date
Miguel Serrano
5937a49abd
bin/upgrade: issue warning on custom image (#314)
* `bin/upgrade`: issue warning on custom image (#314)

* prevent version to be added twice to GIT_BRIDGE_IMAGE


---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2024-11-19 12:52:53 +01:00
Jakob Ackermann
e611552228
Pull new images from bin/upgrade ahead of stopping containers 2024-10-29 15:33:28 +00:00
Jakob Ackermann
8074eaafd5
Avoid printing warning messages twice -- bin/up does not print itself 2024-08-30 17:40:02 +01:00
Jakob Ackermann
5bc0e603a7
Fix unquoting of variables
- Fix trimming of matching quote (no star after \1 reference)
- Only trim a single quote (turn any-match into optional match)
2024-08-20 15:13:04 +01:00
mserranom
1798d70d06 Formatting changes 2024-07-16 16:36:45 +02:00
mserranom
73661ed2b1 Add support for Mongo 6 2024-07-16 15:50:42 +02:00
Jakob Ackermann
91851d8887
bin/up: pull TeX Live images before starting up 2024-05-28 09:00:39 +01:00
Jakob Ackermann
b70eb528e4
Revert "Revert "Update retraction of Server Pro 5.0.1" (#244)"
This reverts commit 2027c3ce4b.
2024-04-24 11:41:12 +01:00
Miguel Serrano
2027c3ce4b
Revert "Update retraction of Server Pro 5.0.1" (#244) 2024-04-22 13:28:34 +02:00
Jakob Ackermann
6839f9a7e7
Update retraction of Server Pro 5.0.1 2024-04-22 11:38:03 +01:00
Jakob Ackermann
d9c62b53c0
Update messaging for retraction of 5.0.1
Co-authored-by: Miguel Serrano <mserranom@gmail.com>
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
2024-04-18 09:40:34 +01:00
Jakob Ackermann
dba8a19841
Retract Server Pro version 5.0.1 2024-04-18 08:54:26 +01:00
Miguel Serrano
e2b99f150f
Scripts to update config/overleaf.rc and config-seed rebrand (#217)
* Add scripts to rebrand variables.env and overleaf.rc

* Update bin/upgrade to prompt for config file rebrand

* Update bin/up to check for correct variable prefix

Ensures SHARELATEX_ is in place for version <= 4.x, and
OVERLEAF_ for version >= 5.x

* Rebrand variables for bin/docker-compose

Updates docker-compose.base.yml and sibling containers
base file with the changes in the script

* Update bin/doctor to support OVERLEAF_ prefix

* Update documentation with the OVERLEAF_ prefix

* Rebrand variables.env and overleaf.rc in config-seed

* Prepare config/version and CHANGELOG for release (WIP)

* Fix script documentation

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Fix doctor logs

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Remove unnecessary fallbacks to SHARELATEX_ vars

* SEt OVERLEAF_DATA_PATH to data/overleaf

* Remove duplicated environment entries

* Moved prefix brand checs from bin/up to bin/docker-compose

* Move set +o pipefail into subshell commands

* Use separate legacy compose files for required SHARELATEX_ vars

* Handle overleaf.rc rebranding before version upgrade

* Group output from rebranding process

* Move prompt for rebranding into helper function

* Refuse to start with mismatching ShareLaTeX vs Overleaf branded configs

* Print expected prefix when checking variables.env

* Print number of mismatching variables in overleaf.rc

* Check on variable rebranding from bin/doctor

* Cleanup bin/doctor lookup for ShareLaTeX branded overleaf.rc

* Update filesystem paths in bin/logs and docs

* Flag old TEXMFVAR entry in config/variables.env

REF: 1829e7ee2a

* Update config-seed version to 5.0.1 and changelog

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2024-04-02 16:43:08 +02:00
Miguel Serrano
d34edf386a
Scripts to rebrand variables.env (#214)
* Scripts to rebrand environment variables

* Add missing EOF

* Removed leftover

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Fixed comment

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* add timestamp to backup file

* renamed script

* extracted replace logic to shared function

* preventing variables.env to backup when not needed

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2024-02-14 10:08:04 +01:00
Jakob Ackermann
2ec1e682a1
Use web-api for git-bridge in Server Pro 4.2.0 onwards 2023-09-18 12:39:41 +01:00
Jakob Ackermann
2a853782d3
Add support for numbered release candidates like 4.1.0-RC1/4.1.0-RC2 2023-08-18 08:24:47 +01:00
Jakob Ackermann
b1e64786af
Allow "-with-texlive-full" suffix in version 2023-07-27 17:38:13 +01:00
Eric Mc Sween
7924adfd79 Start Mongo in a replica set by default
Starting with Overleaf version 4, Mongo needs to be in a replica set. By
default, the replica set is made of a single instance.
2023-04-28 08:26:17 -04:00