Apply a patch script
Corridor has an option to apply a patch to the existing codebase, without doing a complete new installation. This can be done by running the command:
The follow components support this command: corridor-api, corridor-app, corridor-worker.
corridor-api patch <<filename.py>>
To check the options available for other components:
corridor-app
corridor-app patch --help
corridor-worker
corridor-worker patch --help
Note
Ensure patches are provided by and run with the supervision of the Corridor team. A wrong patch applied could cause the platform to stop working.
Examples
Example of a patch being run:
$ corridor-api patch patch-v1.14.3-hello-world.py
Hello World!
Contents of the file patch-v1.14.3-hello-world.py:
print('Hello World!')