From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: [RFC] xbps-src: allow JSON in update_check
Date: Mon, 24 Aug 2020 17:26:20 +0200 [thread overview]
Message-ID: <20200824152620.8eunx3Ak7RHGMvt260jHTelKhY68M57R3VocboFuq9c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24456@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
There's a closed pull request on the void-packages repository
[RFC] xbps-src: allow JSON in update_check
https://github.com/void-linux/void-packages/pull/24456
Description:
The `update_check` function restricts content types from sites that provide version lists. Adding `application/json` as an accepted type allows querying sites like
https://api.github.com/repos/<org\>/<repo\>/tags
which provide more complete listings of tags than the default locations that return HTML. This can be important for projects that provide a large number of prerelease tarballs, because they can flood the default tag or release pages and prevent proper version detection.
The `python3-bokeh` `update` definition takes advantage of this new capability to properly track versions.
prev parent reply other threads:[~2020-08-24 15:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-24 15:21 [PR PATCH] " ahesford
2020-08-24 15:23 ` leahneukirchen
2020-08-24 15:26 ` ahesford
2020-08-24 15:26 ` ahesford [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200824152620.8eunx3Ak7RHGMvt260jHTelKhY68M57R3VocboFuq9c@z \
--to=ahesford@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).