Age | Commit message (Expand) | Author |
2013-10-29 | doc: Augment the "Porting" section....Reported by Andreas Enge <andreas@enge.fr>.
* doc/guix.texi (Porting): Document needed changes to (gnu packages
bootstrap) and (gnu packages linux).
| Ludovic Courtès |
2013-10-17 | doc: Improve the copyright notice. | Nikita Karetnikov |
2013-10-13 | doc: Document "guix pull --url"....* doc/guix.texi (Invoking guix pull): Add --url.
| Ludovic Courtès |
2013-10-03 | Add (guix monads)....* guix/monads.scm: New file.
* tests/monads.scm: New file.
* Makefile.am (MODULES): Add guix/monads.scm.
(SCM_TESTS): Add tests/monads.scm.
* doc/guix.texi (The Store Monad): New node.
(The Store): Reference it.
| Ludovic Courtès |
2013-09-27 | doc: Fix typos....* doc/guix.texi: Fix typos.
| Nikita Karetnikov |
2013-09-27 | doc: Link from "guix gc" to '--delete-generations'....* doc/guix.texi (Invoking guix package): Mention that deleting
generations prevents roll-back.
(Invoking guix gc): Link to '--delete-generations'.
| Ludovic Courtès |
2013-09-27 | guix package: '--delete-generations' deletes generations older than specified....* guix/scripts/package.scm (matching-generations): Add
'duration-relation' keyword parameter.
(guix-package)[process-action](delete-generations): Pass
#:duration-relation >.
* tests/guix-package.sh: Add test.
* doc/guix.texi (Invoking guix package): Clarify the meaning of
durations for '--list-durations' and '--delete-durations'.
| Ludovic Courtès |
2013-09-26 | guix package: Add '--delete-generations'....* guix/scripts/package.scm (switch-to-previous-generation): New function.
(roll-back): Use the new function instead of 'switch-link'.
(show-help): Add '--delete-generations'.
(%options): Likewise.
(guix-package)[process-actions]: Add 'current-generation-number',
'display-and-delete', and 'delete-generation'. Add support for
'--delete-generations', and reindent the code.
* tests/guix-package.sh: Test '--delete-generations'.
* doc/guix.texi (Invoking guix-package): Document '--delete-generations'.
| Nikita Karetnikov |
2013-09-25 | guix package: Do not list the zeroth generation....* guix/scripts/package.scm (guix-package)[process-query]: Change
'list-generation' to not list the zeroth generation.
* tests/guix-package.sh: Test it.
* doc/guix.texi (Invoking guix package): Document it, and use the
right term when talking about generations.
| Nikita Karetnikov |
2013-09-23 | doc: Document '--list-generations' among the query options....* doc/guix.texi (Invoking guix package): Move '--list-generations' below
"In addition to these actions".
| Ludovic Courtès |
2013-09-23 | guix package: Show most recently installed packages last....Suggested by Andreas Enge <andreas@enge.fr>.
* guix/scripts/package.scm (guix-package)[list-generations,
list-installed]: Reverse the result of 'manifest-packages'.
* doc/guix.texi (Invoking guix package): Document the order of packages
for '--list-generations' and '--list-installed'.
| Ludovic Courtès |
2013-09-19 | guix package: Add '--list-generations'....* guix/scripts/package.scm: Import (srfi srfi-19).
(generation-time, matching-generations): New functions.
(show-help): Add '--list-generations'.
(%options): Likewise.
(guix-package)[process-query]: Add support for '--list-generations'.
* guix/ui.scm: Import (srfi srfi-19) and (ice-9 regex).
(string->generations, string->duration): New functions.
* tests/guix-package.sh: Test '--list-generations'.
* tests/ui.scm: Import (srfi srfi-19).
Test 'string->generations' and 'string->duration'.
* doc/guix.texi (Invoking guix-package): Document '--list-generations'.
| Nikita Karetnikov |
2013-09-18 | derivations: 'derivation' and related procedures return a single value....* guix/derivations.scm (derivation->output-path,
derivation->output-paths): New procedures.
(derivation-path->output-path): Use 'derivation->output-path'.
(derivation-path->output-paths): Use 'derivation->output-paths'.
(derivation): Accept 'derivation?' objects as inputs. Return a single
value.
(build-derivations): New procedure.
(compiled-modules): Use 'derivation->output-paths'.
(build-expression->derivation)[source-path]: Add case for when the
input matches 'derivation?'.
[prologue]: Accept 'derivation?' objects in INPUTS.
[mod-dir, go-dir]: Use 'derivation->output-path'.
* guix/download.scm (url-fetch): Adjust to the single-value return.
* guix/packages.scm (package-output): Use 'derivation->output-path'.
* guix/scripts/build.scm (guix-build): When the argument is
'derivation-path?', pass it through 'read-derivation'.
Use 'derivation-file-name' to print out the .drv file names, and to
register them. Use 'derivation->output-path' instead of
'derivation-path->output-path'.
* guix/scripts/package.scm (roll-back): Adjust to the single-value
return.
(guix-package): Use 'derivation->output-path'.
* guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?'
objects instead of .drv file names.
* gnu/system/grub.scm (grub-configuration-file): Use
'derivation->output-path' instead of 'derivation-path->output-path'.
* gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise.
* tests/builders.scm, tests/derivations.scm, tests/packages.scm,
tests/store.scm, tests/union.scm: Adjust to the new calling
convention.
* doc/guix.texi (Defining Packages, The Store, Derivations): Adjust
accordingly.
| Ludovic Courtès |
2013-09-11 | store: The 'references' parameter of 'add-text-to-store' is now optional....* guix/store.scm (add-text-to-store): Make 'references' optional.
* tests/store.scm ("dead-paths", "references"): Use 'add-text-to-store'
with no optional argument.
* doc/guix.texi (The Store): Adjust accordingly.
| Ludovic Courtès |
2013-08-31 | doc: Stylistic changes to "Packaging Guidelines" | Andreas Enge |
2013-08-30 | doc: Remove an extra space after @ref. | Nikita Karetnikov |
2013-08-29 | doc: Add duplicate copyright notice again....* doc/guix.texi: Add second copyright notice again inside @ifinfo, needed
since the first one does not appear in the info output.
Partially undoes commit da7cabd.
| Andreas Enge |
2013-08-29 | doc: Fix the image size in PDF/PS/DVI output....* doc/guix.texi (Bootstrapping): Specify an image width for the TeX
output. Before that, the image would be much wider than the US Letter
page width.
| Ludovic Courtès |
2013-08-29 | build: Build docs from the top-level Makefile....This undoes commit 575ed8d ("doc: Create own Makefile.am in subdirectory."),
and fixes a bug whereby "make pdf" or "make ps" wouldn't do anything.
* doc/Makefile.am: Remove.
* doc.am: New file. Use `-local' rules to build the image.
* Makefile.am: Include it.
* configure.ac: Use `-Woverride' to avoid undesired overridding of
Automake rules.
| Ludovic Courtès |
2013-08-28 | doc: Add package guidelines for names and numbers....* doc/guix.texi: Three new subsections.
| Andreas Enge |
2013-08-28 | doc: Shuffle some text around....* doc/guix.texi: Drop duplicate copyright notice, start section
"Packaging Guidelines" with existant text.
| Andreas Enge |
2013-08-28 | doc: Create own Makefile.am in subdirectory....* doc/Makefile.am: New file.
* Makefile.am: Reference subdirectory doc.
| Andreas Enge |
2013-08-28 | derivations: Rename #:dependency-graphs to #:references-graphs....* guix/derivations.scm (derivation, build-expression->derivation):
Rename #:dependency-graphs to #:references-graphs, for consistency in
the terminology.
* tests/derivations.scm: Adjust accordingly.
| Ludovic Courtès |
2013-08-26 | derivations: Add #:dependency-graphs to `build-expression->derivation'....* guix/derivations.scm (build-expression->derivation): Add
#:dependency-graphs keyword argument. Pass it to `derivation'.
* tests/derivations.scm ("build-expression->derivation with
#:dependency-graphs"): New test.
* doc/guix.texi (Derivations): Update `build-expression->derivation'
description.
| Ludovic Courtès |
2013-08-26 | derivations: Add #:dependency-graphs `derivation' parameter....* guix/derivations.scm (derivation): Add `dependency-graphs' keyword
parameter; honor it.
* tests/derivations.scm (bootstrap-binary): New procedure.
(%bash): Use it.
(%mkdir): New variable.
(directory-contents): Add `slurp' optional parameter.
("derivation with #:dependency-graphs"): New test.
* doc/guix.texi (Derivations): Update accordingly.
| Ludovic Courtès |
2013-08-26 | derivations: Move 3 positional parameters into keyword parameters....* guix/derivations.scm (derivation): Turn `system', `env-vars', and
`inputs' into keyword parameters.
(build-expression->derivation): Adjust accordingly.
* gnu/packages/bootstrap.scm (%bootstrap-guile): Likewise.
* tests/derivations.scm, tests/store.scm: Likewise.
* doc/guix.texi (Derivations): Likewise.
| Ludovic Courtès |
2013-08-24 | doc: Mention what's in the chroot, and add a caveat about /dev/shm....* doc/guix.texi (Setting Up the Daemon): Document the default content of
the chroot, and the /dev/shm caveat.
| Ludovic Courtès |
2013-07-17 | doc: Add "Adding New Packages"....* doc/guix.texi (Adding New Packages): New section.
(Packaging Guidelines): Make a subsection thereof.
(From the Source Tarball to the Package): New subsection.
(Contributing): Link to "Adding New Packages".
(Package Modules): Link to modules in Guile's manual.
| Ludovic Courtès |
2013-07-17 | doc: Mark 2.0.5 as being the minimum Guile version....* doc/guix.texi (Requirements): Require Guile 2.0.5+.
* README: Ditto.
| Ludovic Courtès |
2013-07-16 | doc: Refer to guix-devel@gnu.org....* doc/guix.texi (Contributing): Refer to guix-devel@gnu.org.
| Ludovic Courtès |
2013-07-09 | doc: Add "Installing Debugging Files"....* doc/guix.texi (Installing Debugging Files): New node.
(Packages with Multiple Outputs): Add cross-reference.
| Ludovic Courtès |
2013-07-08 | doc: Add "Packages with Multiple Outputs" section....* doc/guix.texi (Packages with Multiple Outputs): New node.
(Invoking guix package): Refer to it.
| Ludovic Courtès |
2013-07-07 | doc: Move the packaging guidelines to the manual....* HACKING (Packaging Guidelines): Remove.
* doc/guix.texi (Packaging Guidelines): New node.
| Ludovic Courtès |
2013-07-07 | doc: Add a "Porting" section....* HACKING (Porting the Guix distro on a new platform): Remove.
* doc/guix.texi (Porting): New node. Describe cross-compilation as the
only approach.
| Ludovic Courtès |
2013-07-07 | doc: Add a "Boostrapping" section....* doc/guix.texi (Package Modules): New node, with material formerly
under "GNU Distribution".
(Bootstrapping): New node.
* Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and
doc/images/bootstrap-graph.eps.
(infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable.
(.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New
targets.
* doc/images/bootstrap-graph.dot: New file.
| Ludovic Courtès |
2013-06-13 | guix gc: Add `--requisites'....* guix/scripts/gc.scm (show-help, %options): Add `--requisites'.
(guix-gc): Handle it.
* doc/guix.texi (Invoking guix gc): Document `--requisites'.
* NEWS: Update.
| Ludovic Courtès |
2013-06-04 | doc: Write about patch submission and packaging guidelines....* HACKING: Update the command names from `guix-build' to `guix build' & co.
(Submitting Patches, Packaging Guidelines): New sections.
* doc/guix.texi (Contributing): New section.
| Ludovic Courtès |
2013-05-29 | build, package: Add `--fallback' option....* guix/scripts/build.scm (%options, show-help): Add `--fallback'.
(guix-build): Call `set-build-options' with #:fallback?.
* guix/scripts/package.scm (%options, show-help): Add `--fallback'.
(guix-package): Call `set-build-options' with #:fallback?.
* doc/guix.texi (Invoking guix package, Invoking guix build): Document
`--fallback'.
| Ludovic Courtès |
2013-05-26 | doc: Improve wording and fix typos in "Introduction" and "Requirements"....* doc/guix.texi (Introduction, Requirements): Rephrase and fix typos.
| Nikita Karetnikov |
2013-05-24 | build: Add `--target' option....* guix/scripts/build.scm (derivations-from-package-expressions): Add
`package-derivation' parameter.
(show-help, %options): Add `--target'.
(guix-build): Use `package-cross-derivation' when `--target' is
passed.
* tests/guix-build.sh: Add dry-run test with `--target'.
* doc/guix.texi (Invoking guix build): Document `--target'.
| Ludovic Courtès |
2013-05-24 | packages: Implement `package-cross-derivation'....* guix/packages.scm (package-transitive-target-inputs,
package-transitive-native-inputs): New procedures.
(package-derivation): Parametrize `%current-target-system'.
(package-cross-derivation): Implement.
* guix/utils.scm (%current-target-system): New variable.
* tests/packages.scm ("package-cross-derivation"): New test.
* doc/guix.texi (Defining Packages): Document
`package-cross-derivation'.
| Ludovic Courtès |
2013-05-20 | Add `--max-silent-time' to `guix build' and `guix package'....* guix/scripts/build.scm (%default-options): Add default
`max-silent-time' value.
(show-help, %options): Add `--max-silent-time'.
(guix-build): Pass `max-silent-time' to `set-build-options'.
* guix/scripts/package.scm (%default-options): Add default
`max-silent-time' value.
(show-help, %options): Add `--max-silent-time'.
(guix-package): Pass `max-silent-time' to `set-build-options'.
* guix/ui.scm (string->number*): New procedure.
* tests/derivations.scm ("build-expression->derivation and
max-silent-time"): New test.
* doc/guix.texi (Invoking guix package, Invoking guix build): Document
`--max-silent-time'.
| Ludovic Courtès |
2013-05-16 | package: Make sure the profile directory is owned by the user....* guix/scripts/package.scm (guix-package)[ensure-default-profile]: Check
the owner of %PROFILE-DIRECTORY. Report an error when the owner is
not the current user. Add `rtfm' procedure.
* doc/guix.texi (Invoking guix package): Mention the ownership test.
| Ludovic Courtès |
2013-05-11 | doc: Document "guix download"....* doc/guix.texi (Defining Packages): Linke to "Invoking guix download".
(Utilities): Add an overview paragraph.
(Invoking guix download): New node.
| Ludovic Courtès |
2013-05-11 | refresh: Add `--key-server' and `--gpg'....* guix/scripts/refresh.scm (%options): Add `--key-server' and `--gpg'.
(show-help): Update accordingly.
(update-package): New procedure, formerly in `guix-refresh'.
(guix-refresh): Use it. Parameterize `%openpgp-key-server' and
`%gpg-command'.
| Ludovic Courtès |
2013-05-08 | doc: Document `guix refresh'....* doc/guix.texi (Defining Packages): Add cross-reference to "Invoking
guix refresh".
(Invoking guix refresh): New node.
| Ludovic Courtès |
2013-04-28 | guix package: Add `--search-paths' & co....* guix/scripts/package.scm (search-path-environment-variables,
display-search-paths): New procedures.
(show-help, %options): Add `--search-paths'.
(guix-package)[process-actions]: Call `display-search-paths' once the
profile is ready.
[process-query]: Honor `search-paths'.
| Ludovic Courtès |
2013-04-21 | Add 'guix hash'....* guix/scripts/hash.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Add it.
* doc/guix.texi (Invoking guix hash): New node.
(Defining Packages): Add a cross-reference to the 'Invoking guix
hash' node.
| Nikita Karetnikov |
2013-04-18 | daemon: Add `--no-substitutes'....Suggested by Mark H. Weaver.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_SUBSTITUTES): New macro.
(options): Add `--no-substitutes'.
(parse_opt): Add `GUIX_OPT_NO_SUBSTITUTES' case.
(main): Leave `settings.substituters' empty when
`settings.useSubstitutes' is false.
| Ludovic Courtès |
2013-04-18 | doc: Mention the home page....* doc/guix.texi (Installation): Add a sentence pointing to the home
page. Suggested by Arne Babenhauserheide.
| Ludovic Courtès |