Skip to content

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 simple git 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 the w 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 the us 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.
Clone this wiki locally