Commit Graph

12 Commits

Author SHA1 Message Date
Yaksh Bariya 5e7968852f
chore(CONTRIBUTING.md): Remove unnecessary message for update and downgrade
Earlier convention:
  upgpkg(<repo>/<package>): update to <ver>
Newer convention:
  upgpkg(<repo>/<package>): <ver>
Similarly same for dwnpkg.

Thanks to @truboxl for the suggestion
2022-10-11 14:01:46 +05:30
Chongyun Lee 400826006e
fix(scripts): fix jq error
Hope that this will fix #12313
2022-10-10 20:55:53 +08:00
Yaksh Bariya 23f5e3e9b7
scripts(bin/*): adapt commit messages to new guidelines 2022-10-10 14:34:45 +05:30
Aditya Alok 85d52a4ab2
chore(auto update): cleanup some codes
%ci:no-build

Above tag is for previous commit but CI checks head commit for
this, so applying here.

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-20 23:56:00 +05:30
Yaksh Bariya fd130685ae
fixup previous commit 2022-04-20 16:43:14 +05:30
Yaksh Bariya be24cc6016
fixup: fix hardcoded packages directory in termux_pkg_upgrade_version 2022-04-20 16:23:47 +05:30
Aditya Alok 2157e972d9
fix(auto-update): compare versions with epoch added
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-05 11:38:21 +05:30
Aditya Alok d67a38d324
refactor(auto-update): clean up some code
- move epoch addition to termux_pkg_upgrade_version set.
- now termux_pkg_upgrade_version can be given retrived version/tag from
  api, directly.

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-05 11:21:14 +05:30
Aditya Alok f8cce7faba
fix(auto-update): removal of epoch when TERMUX_PKG_UPDATE_VERSION_REGEXP is set
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-05 00:39:32 +05:30
Aditya Alok a7d089c195
fix(auto-updates): move extraction of version from regexp to upgrade version step
previously setting TERMUX_PKG_UPDATE_VERSION_REGEXP had no effect on version being wriiten to
build.sh. It was only used for version comparison.

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-01 12:58:16 +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 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