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

19 commits

Author SHA1 Message Date
Jakob Ackermann
2fff47d1fe
Add config option for skipping docker pull before upgrading 2025-01-06 12:43:52 +00:00
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
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
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
Jakob Ackermann
e2cbe387e0
Relaunch bin/upgrade after pulling changes via git 2024-02-26 11:53:08 +00:00
Miguel Serrano
6314f36e3f
Merge pull request #206 from Nekoyue/upgrade-warning
Warning when running bin/upgrade with custom docker image
2024-02-15 14:54:40 +01:00
Kagurazaka Tsuki
b058321ed9
slience grep output
add -q argument

Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
2024-02-14 12:10:18 -06: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
Kagurazaka Tsuki
ab051e8f11
warning in bin/upgrade if user changes image in docker-compose.override.yml 2023-11-28 14:11:57 -06:00
Miguel Serrano
e39aa84e7f
Improve messaging on upgrade scripts
Clears some ambiguity about whether "proceed" means doing a backup or actually upgrading SP.
2022-09-22 12:13:39 +02:00
Miguel Serrano
be13a095a1 prompt warning on major version upgrades 2021-12-20 16:08:43 +01:00
Jakob Ackermann
c645415942
[misc] fix code linting errors in bin/ scripts
```
SC2155: Declare and assign separately to avoid masking return values.
```
2020-11-25 10:30:24 +00:00
Jakob Ackermann
4b48169a56
[bin/upgrade] skip user prompt for downloading changes 2020-11-24 16:11:15 +00:00
Jakob Ackermann
45368bbad4
[bin/upgrade] display changelog diff before pulling changes 2020-11-24 12:26:40 +00:00
Shane Kilkelly
9395627ac8 Public release of the Overleaf Toolkit 2020-08-19 13:31:17 +01:00