Commit Graph

10 Commits

Author SHA1 Message Date
Aditya Alok 3baa1a3a36
refactor(auto update): replace `pkg_dir` with `TERMUX_PKG_BUILDER_DIR`
- this variable will store path of directory containing packages
  `build.sh` file.
- this is a more standard approach than specifying `pkg_dir` each time

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-20 23:56:00 +05:30
Henrik Grimler 56dbb9cf80
CI: specify distribution in repo.json as well
x11-repo uses distribution x11, and root-repo distribution root.
Store this information in the json file as well, and parse it to set
both REPOSITORY_NAME and REPOSITORY_DISTRIBUTION.

Also remove unnecessary `< repo.json` from jq command, jq accepts the
file as an argument.

This fixes upload issues to x11-repo and root-repo.
2022-04-20 16:37:36 +02:00
Yaksh Bariya fd130685ae
fixup previous commit 2022-04-20 16:43:14 +05:30
Yaksh Bariya 3422559ad2
monorepo: adapt scripts/bin to new changes 2022-04-18 13:57:19 +05:30
Aditya Alok ae0caf3bd5
feat(auto-update): do not log for disabled auto-update
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-05 20:20:11 +05:30
Aditya Alok 442174ca9a
refactor(auto-update): move checking unique packages to standalone script
Hmmm..., why do we even need to check whether package is unique or not if we have
TERMUX_PKG_AUTO_UPDATE=true?

It should be checked before enabling auto-update.

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-03 00:48:29 +05:30
Lucinda May Phipps bf4f0708b9
auto-updates: fix unique package detection 2022-03-31 09:45:47 +01:00
Aditya Alok 694a941883 fix(auto update): fix few messages, comments and code
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok bd99580451 refactor(update-packages): new auto-update system
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Leonid Pliushch 74e4f276c6
scripts: move script for updating packages to bin directory 2021-10-04 13:22:07 +03:00