-
Notifications
You must be signed in to change notification settings - Fork 0
Program Updating Methods
hammy3502 edited this page Jun 1, 2022
·
2 revisions
tarstall supports a variety of methods to allow programs to update. These methods are:
- Git updating. This only works for programs installed through tarstall's ability to install through git URLs (
tarstall -i https://example.com/my_git_repo.git
). When a program is installed this way, tarstall will allow the program to update, and will update through a simplegit pull
command. - URL updating. This can work on any program that is NOT installed through tarstall's ability to install through git URLs. After a program is installed,
tarstall -m PROGRAM_NAME
, followed by thew
option can be used to set it so a program can be updated by downloading an archive from the provided URL, and treating that downloaded archive as an updated version of the program. - Script updating. This can work on any and all programs. After a program is installed,
tarstall -m PROGRAM_NAME
followed by theus
option, tarstall can run a script to act as the program updater. If a script is added to a program that already updates using one of the methods above, the script will instead run AFTER the other update process. In cases like these, the script can act as a way to build new versions of binaries after source code is downloaded through one of the other update methods above.