Age | Commit message (Expand) | Author |
2019-01-21 | import: github: Improve readability....* guix/import/github.scm (latest-released-version): Use any and cond instead
of a recursive loop and an if-else ladder respectively.
| Arun Isaac |
2019-01-21 | import: github: Use prereleases when package has no releases....* guix/import/github.scm (latest-released-version): Use preleases when package
has no releases.
| Arun Isaac |
2019-01-21 | import: github: Check if git URIs are GitHub URIs....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.
| Arun Isaac |
2019-01-16 | import: github: Do not update URI for packages using git-fetch....* 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".
| Arun Isaac |
2018-12-31 | refresh: github: updates for origins using 'git-fetch'....* 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'.
| Eric Bavier |
2018-08-20 | import: github: Filter out tags that don't look like version numbers....* guix/import/github.scm (latest-released-version): Filter out RELEASE
if it doesn't start with digit.
| Ludovic Courtès |
2018-08-20 | import: github: Get /tags when /releases returns the empty list....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.
| Ludovic Courtès |
2018-08-20 | import: github: Request API v3 in the 'Accept' header....* guix/import/json.scm (json-fetch): Add #:headers argument and honor it.
* guix/import/github.scm (latest-released-version): Pass #:headers to
'json-fetch'.
| Ludovic Courtès |
2018-06-10 | import: json: Consolidate duplicate json-fetch functionality....* 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.
| Jelle Licht |
2017-10-28 | import: github: Gracefully handle multiple-URL origins....* guix/import/github.scm (latest-release)[origin-github-uri]: New
procedure. Use it.
| Ludovic Courtès |
2017-01-28 | import: github: Better tolerate unexpected file extensions....* guix/import/github.scm (find-extension): Add ".tbz".
(updated-github-url): When 'find-extension' returns #f, use "" for EXT.
| Ludovic Courtès |
2017-01-19 | import: github: Catch HTTP 403 error during fetch....* 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>
| Mathieu OTHACEHE |
2017-01-13 | http-client: Provide 'User-Agent' header by default....* 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.
| Ludovic Courtès |
2017-01-13 | import: github: Fix regression on the /releases retrieval....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.
| Ludovic Courtès |
2016-12-20 | import: github: Use 'json-fetch'....* guix/import/github.scm (json-fetch*): Remove.
(latest-released-version): Adjust accordingly.
| Ludovic Courtès |
2016-10-10 | import: github: Add .love extension....* guix/import/github.scm (find-extension): Add '.love' extension to the
list of extensions checked.
| Efraim Flashner |
2016-05-31 | import: github: Tiny cosmetic change....* guix/import/github.scm (find-extension): Use a one-argument lambda.
| Ludovic Courtès |
2016-05-31 | import github: Add to extension list....* guix/import/github.scm (find-extension): Add '.tgz' extension.
| Efraim Flashner |
2016-04-15 | upstream: Pass a package object to updaters....* 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.
| Ludovic Courtès |
2016-02-26 | import: Add github-updater....* 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.
| Ben Woodcroft |