Commit Graph

21 Commits

Author SHA1 Message Date
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
c23d019058
feat: replace apt-compare-versions script with termux_pkg_is_update_needed
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-03-29 01:01:12 +05:30
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
Henrik Grimler
33354fdc39
mv a couple of scripts from scripts/ to scripts/bin/
These ones are not run by, and are not really related to, the build
system, so should be safe to move them to the bin/ subdirectory.
2022-03-13 17:23:23 +01:00
xeffyr
43b2f17506 scripts: update 'update-checksum' & 'revbump' 2022-01-31 20:21:59 +02:00
Leonid Pliushch
74e4f276c6
scripts: move script for updating packages to bin directory 2021-10-04 13:22:07 +03:00
Leonid Pliushch
ad35391987
scripts/bin: remove unused script update-whatprovides-db 2021-09-20 19:11:12 +03:00
Leonid Pliushch
3871376858
scripts/bin: disable pager for git in revbump and update-checksum 2021-09-20 19:10:32 +03:00
Leonid Pliushch
34f4564b37 update scripts/bin/update-whatprovides-db 2020-11-22 17:25:25 +00:00
Leonid Pliushch
2e79ec5aef Revert "update scripts/bin/update-whatprovides-db"
This reverts commit f493a38d3d93f9c7726d2f83e2fdd14a1abcd6f2.

Script is broken in last update, at least it no longer able to
process debfiles with very large amount of files.
2020-11-22 16:03:06 +00:00
Lucy Phipps
80ff50d6bd update scripts/bin/update-whatprovides-db
also add reminder comment in packages/whatprovides/build.sh
2020-11-22 17:16:38 +02:00
Leonid Pliushch
1a635bc2aa update scripts/bin/update-whatprovides-db 2020-11-22 01:15:26 +00:00
Leonid Pliushch
5b3f90e730 update scripts/bin/update-whatprovides-db
Avoid '.' entries in database.
2020-11-21 23:27:24 +00:00
Leonid Pliushch
45e4c49269 update ./scripts/bin/update-whatprovides-db 2020-11-21 22:24:14 +00:00
Leonid Pliushch
d0c0189281 add script for updating Whatprovides database
See https://github.com/termux/whatprovides...
2020-11-21 20:52:48 +02:00
Leonid Pliushch
ea0ea5f925 scripts/bin/{revbump,update-checksum}: strip traling / from package name 2020-06-21 19:24:53 +03:00
Leonid Pliushch
c086de3165 scripts/bin/update-checksum: fix generation of commit message 2020-06-21 17:37:59 +03:00
Leonid Pliushch
179d353ed4 scripts: add 'update-checksum' - source SHA-256 updating script 2020-06-21 14:47:22 +03:00
Leonid Pliushch
7f64b751fe scripts: add 'revbump' - revision bumping script 2020-06-21 14:47:19 +03:00