Skip to content

Conversation

@tobiashort
Copy link

@tobiashort tobiashort commented Dec 26, 2025

Added support for application/json content type.
Enabling interaction with APIs like https://api.github.com/repos/<user>/<repo>/releases/latest.

Testing the changes

  • I tested the changes in this PR: briefly

Added support for application/json content type.
Enabling interaction with APIs like https://api.github.com/repos/<user>/<repo>/releases/latest.
@ahesford
Copy link
Member

Until this is actually used somewhere and provides a tangible benefit, we should defer accepting additional types. In addition, the commit message should follow the conventions established in the repository history by listing the modified file and a more relevant description of the intent of the change:

common/xbps-src/shutils/update_check.sh: support JSON responses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants