~ruther/guix-local

ref: a49d3e377559fdfd78cd5f90d128dbf4a1654eab guix-local/guix d---------
07f80c27 — Ricardo Wurmus 8 years ago
guix: Revert accidentally committed changes.

This is a follow-up to commit fb1db385476bc4548d3eadea93b5dd6a346839f2.

* guix/scripts/build.scm (lazy-util): Remove procedure.
(options->things-to-build): Remove special case for files with ".json"
extension.
fb1db385 — Ricardo Wurmus 8 years ago
import: Add JSON importer.

* doc/guix.texi (Invoking guix import): Document it.
* guix/scripts/import/json.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/import.scm (importers): Add json importer.
5e892bc3 — Ricardo Wurmus 8 years ago
import: Add generic data to package converter.

* guix/import/utils.scm (build-system-modules, lookup-build-system-by-name,
specs->package-lists, source-spec->object, alist->package): New procedures.
* tests/import-utils.scm: Add tests for alist->package.
68a91a18 — Ricardo Wurmus 8 years ago
import: Add package->code.

* guix/import/print.scm: New file.
* tests/print.scm: New file.
* Makefile.am (SCM_TESTS): Add new test file.
(MODULES): Add print.scm.
ea1cd554 — Mohammed Sadiq 8 years ago
build-system: meson: Fix typo in variable name.

* guix/build-system/meson.scm (lower): fix typo in glib-or-gtk?.
06acf6b5 — Ludovic Courtès 8 years ago
http-client: Reset cache TTL upon 304 "Not Modified" responses.

* guix/http-client.scm (http-fetch/cached)[update-cache]: Add call to
'utime' in the 304 case.
c1d8b3b3 — Ludovic Courtès 8 years ago
upstream: Add new GNOME updater.

Partly fixes <https://bugs.gnu.org/28159>.
Reported by Hartmut Goebel <h.goebel@crazy-compilers.com>.

* guix/import/gnome.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/gnu-maintenance.scm (latest-gnome-release)
(%gnome-updater): Remove.
97abc907 — Ludovic Courtès 8 years ago
upstream: Add 'url-prefix-predicate'.

* guix/gnu-maintenance.scm (url-prefix-predicate): Move to...
* guix/upstream.scm (url-prefix-predicate): ... here.
2374dee7 — Arun Isaac 8 years ago
licenses: Add CC-Sampling+ 1.0.

* guix/licenses.scm (cc-sampling-plus-1.0): New variable.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
79864851 — 宋文武 8 years ago
download: Don't report the progress too fast.

* guix/utils.scm (<progress-reporter>): New record type.
(call-with-progress-reporter): New procedure.
* guix/build/download.scm (dump-port*, rate-limited, progress-reporter/file):
New procedures.
(ftp-fetch, http-fetch): Use 'dump-port*'.
(progress-proc): Remove procedure.
* guix/scripts/substitute.scm (progress-report-port): Rewrite in terms of
<progress-reporter>.
(process-substitution): Adjust accordingly.
f1b65d0d — Ludovic Courtès 8 years ago
cve: Disable position recording while reading the CVE list.

* guix/cve.scm (fetch-vulnerabilities)[read*]: New procedure.
Use it in lieu of 'read'.
3ce1b902 — Ludovic Courtès 8 years ago
http-client: 'http-client/cached' uses 'If-Modified-Since'.

* guix/http-client.scm (http-fetch/cached)[update-cache]: Add
'cache-port' parameter.  Check its mtime and compute 'if-modified-since'
header accordingly.  Guard 'http-get-error?' and honor 304.
Adjust callers of 'update-cache'.
* guix/gnu-maintenance.scm (ftp.gnu.org-files): Set #:ttl to 15m.
82781d87 — Ludovic Courtès 8 years ago
utils: 'current-source-directory' gracefully deals with lack of location info.

* guix/utils.scm (current-source-directory): Adjust for when
'syntax-source' returns #f.
4220514b — 宋文武 8 years ago
substitute: Close the download port after substitution finished.

* guix/scripts/substitute.scm (progress-substitution): Call 'close-port'
after 'restore-file'.
07c101e2 — Peter Mikkelsen 8 years ago
build-system: Add 'meson-build-system'.

* Makefile.am (MODULES): Add 'guix/build-system/meson.scm' and
'guix/build/meson-build-system.scm'.
* guix/build-system/meson.scm: New file.
* guix/build/meson-build-system.scm: New file.
* doc/guix.texi (Build Systems): Add 'meson-build-system'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
0649321d — Ludovic Courtès 8 years ago
guix system: Add 'search' command.

* guix/scripts/system.scm (resolve-subcommand): New procedure.
(process-command): Handle 'search'.
(guix-system): Likewise.
(show-help): Augment.
* guix/scripts/system/search.scm: New file.
* po/guix/POTFILES.in: Add it.
* Makefile.am (MODULES): Add it.
* guix/ui.scm (%text-width): Export.
* doc/guix.texi (Invoking guix system): Document it.
(Service Types and Services): Mention 'guix system search'.
* tests/guix-system.sh: Test it.
c7ae219e — Ludovic Courtès 8 years ago
ui: Generalize relevance computation.

* guix/ui.scm (relevance, package-relevance): New procedures.
(%package-metrics): New variable.
* guix/scripts/package.scm (find-packages-by-description)[score]
[package-score]: Remove.  Use 'package-relevance' instead.
c1056533 — Ludovic Courtès 8 years ago
guix download: Honor mirrors when using '-o'.

Previously "guix download -o x mirror://gnu/…" would fail.

* guix/scripts/download.scm (download-to-file): Pass #:mirrors to
'url-fetch'.
01ef804d — Christopher Baines 8 years ago
import: cpan: Replace '(package-license perl) with 'perl-license.

The perl-license definition is intended to avoid circular dependencies, so
use this as a default when importing packages from CPAN.

* guix/import/cpan.scm (string->license): Replace '(package-license perl) with
  'perl-license.
45bba475 — Ludovic Courtès 8 years ago
store: 'run-with-store' has a #:target parameter.

* guix/store.scm (run-with-store): Add #:target and honor it.
Next