Commit Graph

84 Commits

Author SHA1 Message Date
Đoàn Trần Công Danh d218f45bf7 update_check: add pypi link, strip kf6- prefix 2024-04-29 13:41:59 +07:00
Đoàn Trần Công Danh da20a0b55d update-check: better pattern for Python 3 2024-04-24 06:56:20 +07:00
icp 5e795a9424 xbps-src: fix update-check pattern for gitlab
Closes: #49475 [via git-merge-pr]
2024-03-23 07:41:20 -04:00
Andrew J. Hesford 489e05e3f3 xbps-src: allow curl to request compressed responses in update-check 2024-03-23 07:35:43 -04:00
classabbyamp b3c54d73af common/xbps-src/shutils: add function for printing verbose messages 2024-02-17 19:48:52 -05:00
Đoàn Trần Công Danh b732d04377 update_check: update pattern for [4-9].x 2024-02-14 14:18:56 +07:00
Đoàn Trần Công Danh fcf4ea51dc update_check: Update GNOME_SITE pattern
- GNOME_SITE provides a list of latest version,
  which is easier to be parsed.
- Most of 1.x and 2.x series are not even/odd version anymore.
2024-02-14 12:03:54 +07:00
icp b544a09b7b common/xbps-src/shutils/update_check.sh: early return for disabled update checks 2023-09-08 18:37:48 -04:00
classabbyamp 95ed99c92d common/xbps-src/shutils/update_check: add ability to disable update-check
useful for cases where update checking does not make sense or is
impossible
2023-09-08 04:33:16 -04:00
icp fc68d5f800 common/xbps-src/shutils/update_check.sh: fix url for gitlab 2023-05-31 09:40:00 +07:00
Gonzalo Tornaría c588bf7c98 update_check.sh: allow _ in github tarball filename 2023-03-25 22:51:25 +01:00
Đoàn Trần Công Danh a13d9ef8da font-sil-ezra: add update pattern 2023-03-18 22:14:27 +07:00
Đoàn Trần Công Danh c2b3fdfd4d update_check: pattern for sil.org 2023-03-18 21:41:35 +07:00
mhmdanas 0fa47e5979 common: use HTTPS where working. 2023-03-07 07:44:23 +07:00
icp 5f0e7218eb common/xbps-src/shutils/update_check.sh: tweak url and rx for git.sr.ht
Accommodate for tarballs in refs named after commit hash.
2022-12-04 21:37:30 -05:00
classabbyamp e409ea0c81 common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
unless they use the update override file
2022-11-27 21:22:48 -05:00
Đoàn Trần Công Danh c845693ffb update-check: update all gnome case to have both ftp. and download. 2022-09-06 18:51:11 +07:00
Đoàn Trần Công Danh 875b1f9806 update-check: special case for XFCE Archive 2022-09-06 18:51:11 +07:00
Duncaen cdbac60a1c
update-check: use gitlab settings for code.videolan.org 2022-08-29 23:26:04 +02:00
icp 2760187144 common/xbps-src/shutils/update_check.sh: tweak url and rx for codeberg
Accommodate for more patterns in distfile urls.
2022-08-24 14:01:31 -04:00
tibequadorian 23e9d95be6
common/xbps-src/shutils/update_check.sh: also work for subpackages
closes #36190
2022-08-07 18:37:07 -04:00
Piotr Wójcik fddef76fcc xbps-src/shutils/update_check.sh: change gitlab check to handle old urls 2022-05-14 15:36:27 +02:00
John 36274904cf xbps-src/shutils/update_check.sh: change gitlab check to handle subgroups
The `/-/` sequence is always between e.g. archive and the repo path,
so this should work reliably for distfiles.
If gitlab is used only as a homepage, this still wroks if homepage
points to the base repo (which it usually does)
2022-05-14 15:33:46 +02:00
Đoàn Trần Công Danh e5626f81c7 update_check: support pkgs.fedoraproject.org 2021-06-23 19:04:03 +07:00
Đoàn Trần Công Danh cf11f9987e update-check: fix update pattern for literal dot
The dot (.) inside [] matches literal dot. I don't know how it's
working, however the update-check for some packages is broken (i.e.
anthy-unicode).

Let's remove the backslash.
2021-05-23 12:11:03 +07:00
Piotr Wójcik 490ef8c8b2 xbps-src: update-check: print out match pattern in verbose mode 2021-04-17 21:34:10 +02:00
Enno Boland 6d243d7619
common/xbps-src: update-check checks new gnome upstream sites 2021-04-09 18:52:35 +02:00
Đoàn Trần Công Danh 59c67f7d6d xbps-src/update_check: update pattern for GitHub 2021-03-19 22:48:10 +07:00
Đoàn Trần Công Danh 36a3b046fb update_check/gnome: also check for 0.* version 2021-02-21 09:28:34 +07:00
Đoàn Trần Công Danh 2ec0338af6 update_check: update GNOME pattern for GNOME 40 2021-01-28 07:18:59 +07:00
Jony ecc31ed587 xbps-src/shutils/update_check.sh: add support for git.sr.ht
The code for `git.sr.ht` was almost identical to that of `hg.sr.ht`. The
main difference, aside from replacing `hg.sr.ht` in `url` with
`git.sr.ht`, was the endpoint of `url`. The `hg.sr.ht` url uses `tags`
whereas `git.sr.ht` uses `refs`.
2020-10-21 22:10:31 +02:00
Isaac Freund 5de1503434 xbps-src/update-check: add codeberg support 2020-08-18 14:46:25 +02:00
Isaac Freund 3d035237ac xbps-src/update-check: unify per-site locals 2020-08-18 14:46:25 +02:00
Zach Dykstra e4b9e4a04a update_check.sh: remove v from the detected version match group 2020-03-09 21:05:58 +01:00
Zach Dykstra b7389f26af Add hg.sr.ht to update_check.sh
hg.sr.ht project pages are laid out quite closely to GitHubs format. We
can basically clone the check for GitHub to a new base URL of hg.sr.ht .
2020-02-05 09:05:08 +01:00
Piotr Wójcik c3cfeb56e8 update-check: find versions with more components 2019-07-03 00:36:00 +02:00
Piotr Wójcik b8039ef838 update-check: download each url once 2019-06-12 18:06:27 +02:00
Piotr Wójcik 95e3a60feb update-check: recognize all gitlab instances 2019-06-01 14:23:37 +02:00
Piotr Wójcik e3e08a087a update-check: skip version directories checking when specialized check exists 2019-05-14 22:48:46 +02:00
Piotr Wójcik 7ae9417947 update-check: allow to disable checking version directories 2019-05-14 22:48:46 +02:00
Piotr Wójcik 906f339d6a update-check: generalize checking version directories 2019-05-14 22:48:46 +02:00
Piotr Wójcik 79273c05d9 update-check: only check newer directories 2019-05-14 22:48:46 +02:00
Piotr Wójcik bb0b85060c update-check: never omit specified site 2019-05-14 22:48:46 +02:00
Piotr Wójcik 795902b028 update-check: add crates.io 2019-05-14 07:48:39 +02:00
yopito 8944a9130e
xbps-src: update_check.sh: check distfile existence for kde
* KDE distfile storage is based on versionned "folder".
An existing folder_version does not mean that the corresponding
distifile exists, so let's check its existence.

* wider scope for KDE urls that will use that rule.
Fine for plenty other packages, except kdb that don't follow
this hierarchy (yet)
2019-04-09 17:45:44 +02:00
Piotr Wójcik 2a0c3434fb xbps-src: update-check: switch sourceforge to https 2019-02-18 14:16:52 -03:00
Piotr Wójcik 9c8ef3d6a9 update-check: handle python3-only modules from pypi 2019-01-07 18:28:36 -02:00
Piotr Wójcik 1bbbd55871 update-check: add gitlab.freedesktop.org 2018-12-08 19:54:15 +01:00
maxice8 56b6e7b240 shutils/update_check.sh: be more strict with rubygem update checks
try to match the whole line from

href="/gems/${pkgname#ruby-}/versions/[VERSION NUMBERS]"

matching until the quote avoids problems like the travis gem that has
special versions like

1.8.10.travis.921.11

before it would match until 1.8.10., now it doesn't match.
2018-11-19 02:29:28 -02:00
maxice8 9ead6eef92 update_check: add support for rubygems.org 2018-11-06 15:51:46 -02:00