| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* guix/import/github.scm (latest-released-version): Sort releases before
picking the first one as the latest.
|
|
|
|
|
| |
* guix/import/github.scm (latest-released-version)[release->version]: Separate
out release->version as a new function.
|
|
|
|
|
| |
* guix/import/github.scm (latest-released-version): Use any and cond instead
of a recursive loop and an if-else ladder respectively.
|
|
|
|
|
| |
* guix/import/github.scm (latest-released-version): Use preleases when package
has no releases.
|
|
|
|
|
|
|
|
|
|
| |
This fixes a regression introduced in 9a5091d0c181453d0f31ce97f96a4e577a25e796
whereby packages with git origin URIs not hosted on GitHub would be wrongly
detected as being covered under the github updater.
Reported by Efraim Flashner <efraim@flashner.co.il>.
* guix/import/github.scm (updated-github-url): Check if git URIs are GitHub
URIs.
|
|
|
|
|
|
| |
* guix/import/github.scm (updated-github-url): Return the unchanged source URI
for packages using git-fetch.
[updated-url]: Do not handle URIs which end with ".git".
|
|
|
|
|
|
|
|
|
| |
* guix/import/github.scm (updated-github-url): Respond with the repository url
for the 'git-fetch' fetch method.
(github-package?): Simplify boolean expression.
(github-repository, github-user-slash-repository): Strip trailing ".git" from
project if present.
(latest-release)<origin-github-uri>: Recognize a 'git-reference'.
|
|
|
|
|
| |
* guix/import/github.scm (latest-released-version): Filter out RELEASE
if it doesn't start with digit.
|
|
|
|
|
|
|
|
|
| |
This allows "guix refresh" to work for many packages where it would
previously fail with "no updater for PACKAGE".
* guix/import/github.scm (fetch-releases-or-tags): New procedure.
(latest-released-version): Use it instead of calling 'json-fetch'.
Adjust 'hash-ref' call.
|
|
|
|
|
|
| |
* guix/import/json.scm (json-fetch): Add #:headers argument and honor it.
* guix/import/github.scm (latest-released-version): Pass #:headers to
'json-fetch'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* guix/import/json.scm (json-fetch): Return a list or hash table.
(json-fetch-alist): New procedure.
* guix/import/github.scm (json-fetch*): Remove.
(latest-released-version): Use json-fetch.
* guix/import/cpan.scm (module->dist-name): Use json-fetch-alist.
(cpan-fetch): Likewise.
* guix/import/crate.scm (crate-fetch): Likewise.
* guix/import/gem.scm (rubygems-fetch): Likewise.
* guix/import/pypi.scm (pypi-fetch): Likewise.
* guix/import/stackage.scm (stackage-lts-info-fetch): Likewise.
|
|
|
|
|
| |
* guix/import/github.scm (latest-release)[origin-github-uri]: New
procedure. Use it.
|
|
|
|
|
| |
* guix/import/github.scm (find-extension): Add ".tbz".
(updated-github-url): When 'find-extension' returns #f, use "" for EXT.
|
|
|
|
|
|
|
|
| |
* guix/import/github.scm (json-fetch*): Catch 403 HTTP error that may be
raised if a github token has not been set.
Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
|
| |
* guix/http-client.scm (http-fetch): Add #:headers parameter and honor
it. Rename 'auth-header' to 'headers'.
* guix/import/github.scm (json-fetch*): Add comment about required
User-Agent.
|
|
|
|
|
|
|
|
|
| |
Fixes a regression introduced in
62bd24db39a86f80242f923eb4cc2f18f3b02c67, which introduced a call to
'hash-table->alist'.
* guix/import/github.scm (json-fetch*): New procedure.
(latest-released-version): Use it.
|
|
|
|
|
| |
* guix/import/github.scm (json-fetch*): Remove.
(latest-released-version): Adjust accordingly.
|
|
|
|
|
| |
* guix/import/github.scm (find-extension): Add '.love' extension to the
list of extensions checked.
|
|
|
|
| |
* guix/import/github.scm (find-extension): Use a one-argument lambda.
|
|
|
|
| |
* guix/import/github.scm (find-extension): Add '.tgz' extension.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* guix/upstream.scm (package-update-path): Pass PACKAGE to
'latest-release'.
* guix/gnu-maintenance.scm (latest-release*)
(latest-gnome-release, latest-xorg-release): Adjust accordingly.
* guix/import/cran.scm (latest-cran-release):
(latest-bioconductor-release): Likewise.
* guix/import/elpa.scm (latest-release): Likewise.
* guix/import/gem.scm (latest-release): Likewise.
* guix/import/github.scm (latest-release): Likewise.
* guix/import/hackage.scm (latest-release): Likewise.
* guix/import/pypi.scm (latest-release): Likewise.
|
|
* guix/import/github.scm: New file.
* guix/scripts/refresh.scm (%updaters): Add %GITHUB-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
* Makefile.am (MODULES): Add gnu/import/github.scm.
|