Commit Graph

71 Commits

Author SHA1 Message Date
Aditya Alok
08ac4aa4db feat(auto update): add script to get newest version from repology api
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
843823e3f9 feat(auto update): add script to get tags from gitlab api
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
ba0688e4c5 feat(auto update): add script to get tags from github api
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
ea595dd257 feat(auto update): add script to extract repology data from its api
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
4af1102029 feat(auto update): add script to update repology tracked packages
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
b518a1599b feat(auto update): add script to update gitlab hosted packages
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
6a061af281 feat(auto update): add script to update github hosted packages
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
03cc6b6ce8 feat(auto update): add utility function to check if update is needed
- compare current and latest version retrived from respective api

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
2e093339b2 feat(auto update): add utility function to upgrade package's version
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
e1d6ab87f6 feat(auto update): add utility function to exit on error
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-28 23:11:11 +05:30
Aditya Alok
b089c6182b feat(auto update): add script to decide update method
- hook to be called when auto updating.
- it may be overridden by build.sh

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
Leonid Pliushch
ed9b855275
auto updates: get rid of github-projects.txt
From now, all configuration related to automatic updates should be done
in build.sh scripts.

It requires specifying at least

 TERMUX_PKG_AUTO_UPDATE=true

which indicates that package is eligible for automatic updates, and
optionally

 TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="$version_regexp"

which specifies a regular expression used to extract the version part
from Git tag.
2021-10-04 13:17:04 +03:00
Ian Hu
4a1895e7f5
auto updates: stop running update tests if received null value from api (#7619)
When this happens, it's time to update github-projects.txt.
2021-09-30 13:34:16 +03:00
Ian Hu
f3a4a04d1e
auto updates: add php-apcu and php-zephir-parser (#7616) 2021-09-29 13:26:08 +03:00
Leonid Pliushch
58364af329
auto updates: fix version detection for libdispatch 2021-09-22 18:15:40 +03:00
Leonid Pliushch
fc12c1c122
auto updates: fix github-projects.txt 2021-09-22 18:08:56 +03:00
Leonid Pliushch
97b17a26a4
check-updates.sh: update error message 2021-09-22 18:08:29 +03:00
Leonid Pliushch
619960c7e8
check-updates.sh: avoid silent error exit 2021-09-22 18:07:31 +03:00
Leonid Pliushch
404a4f5cfe
check-updates.sh: return meaningful error when failed to get the latest version 2021-09-22 18:03:27 +03:00
Lucinda May Phipps
2c8664a2f5
add libcurl to automatic updates 2021-09-15 11:40:27 +01:00
Butta
a8be1327f1 automatic updates: add kak-lsp 2021-09-07 22:49:29 +05:30
Leonid Pliushch
d519fd17a5
automatic updates: remove htop-legacy
This package isn't meant to be updated.
2021-08-30 11:15:56 +03:00
Lucy Phipps
bae74ec4ab
remove ccnet as it's been deleted upstream 2021-08-16 14:42:31 +01:00
Leonid Pliushch
3075d6c443
github-projects.txt: improve version regexp for librav1e 2021-08-15 23:27:38 +03:00
Leonid Pliushch
e8c21e2af8
Revert "fix escapes in github-projects.txt"
When changing the regexp, please read ./scripts/updates/check-updates.sh before.

This reverts commit 07717fd50a.
2021-08-15 23:19:57 +03:00
Lucy Phipps
07717fd50a
fix escapes in github-projects.txt 2021-08-15 21:14:11 +01:00
Lucy Phipps
308ea1234d
add librav1e to automatic updates 2021-08-15 21:09:51 +01:00
Lucy Phipps
30f64f259c
remove apksigner-old from automatic updates
e619191b36
2021-08-05 01:48:33 +01:00
Lucy Phipps
051aace0b2
add libheif and libde265 to automatic updates 2021-08-05 00:51:46 +01:00
Lucy Phipps
6cb48b891a
add libjxl to scripts/updates/github-projects.txt 2021-08-03 10:34:22 +01:00
Leonid Pliushch
5b27021474
automatic updates: perform verification build for at least 2 architectures
Avoid cases when automatically submitted update passed build for AArch64 but
failed for ARM.
2021-07-23 14:48:59 +03:00
Leonid Pliushch
9ebddb02c8
automatic updates: regenerate github-projects.txt 2021-07-22 23:51:17 +03:00
Leonid Pliushch
13a34d834f
automatic updates: skip package if can't update checksum 2021-07-22 15:34:40 +03:00
Leonid Pliushch
c122e4ab59
new package: btfs 2021-07-14 17:12:14 +03:00
MrAdityaAlok
bf80abc6f5 helix : move one step up 2021-06-28 14:34:57 +05:30
MrAdityaAlok
06d9086c93 helix : write in alphabetical order 2021-06-28 14:34:57 +05:30
MrAdityaAlok
f8ea65b2f8 helix : add to auto updated github projects 2021-06-28 14:34:57 +05:30
Leonid Pliushch
2636ea0448
autoupdates: disable z3 2021-06-16 16:43:41 +03:00
YAKSH BARIYA
5a3d0ca659
Add package slides to auto update (#7009) 2021-06-15 11:58:47 +05:30
Leonid Pliushch
09c57c19c2
autoupdates: enable caddy 2021-06-14 11:28:40 +03:00
Leonid Pliushch
add73af59d
autoupdates: disable imagemagick 2021-06-14 11:27:31 +03:00
Leonid Pliushch
f6d370d611
check-updates.sh: follow redirects 2021-06-13 22:34:38 +03:00
Lucy Phipps
f9a44bf7d1
remove hydra from github-projects.txt
hydra was removed from the repo in d84b9dce40
2021-02-23 14:26:58 +00:00
Krishna कन्हैया
8cdb0bfc42
Github-projects.txt: openethereum added 2021-01-12 08:41:56 +05:30
kcubeterm
7f5c8ab0ab Add shiori in github-projects.txt 2021-01-09 13:08:32 +00:00
Leonid Pliushch
327f691eea
check-updates.sh: fix commit message 2021-01-06 14:48:36 +02:00
Leonid Pliushch
972e012060
fix scripts/updates/check-updates.sh
Again issues with epoch splitting.
2021-01-03 00:00:56 +02:00
Leonid Pliushch
386a0e4f72
check-updates.sh: when running through Github Actions, specify that commit has been autogenerated 2021-01-02 23:52:17 +02:00
Leonid Pliushch
008cc0e4aa
check-updates.sh: fix epoch/version splitting 2021-01-02 23:29:23 +02:00