~ruther/guix-local

ref: 832e64bddac744fde7e2c2d3f8c8e47400d65b76 guix-local/doc d---------
ba7ea5ce — Nikita Karetnikov 12 years ago
doc: Fix typos.

* doc/guix.texi: Fix typos.
1bb9900a — Ludovic Courtès 12 years ago
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'.
d7ddb257 — Ludovic Courtès 12 years ago
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'.
b7884ca3 — Nikita Karetnikov 12 years ago
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'.
7facbf2b — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
4b2bc804 — Nikita Karetnikov 12 years ago
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.
5608847c — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
f566d765 — Ludovic Courtès 12 years ago
doc: Document '--list-generations' among the query options.

* doc/guix.texi (Invoking guix package): Move '--list-generations' below
  "In addition to these actions".
bd9bde1c — Ludovic Courtès 12 years ago
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'.
2cd09108 — Nikita Karetnikov 12 years ago
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'.
59688fc4 — Ludovic Courtès 12 years ago
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.
cfbf9160 — Ludovic Courtès 12 years ago
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.
8ce3104e — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
c8c871d1 — Andreas Enge 12 years ago
doc: Stylistic changes to "Packaging Guidelines"
a827c623 — Nikita Karetnikov 12 years ago
doc: Remove an extra space after @ref.
46cb9da2 — Andreas Enge 12 years ago
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.
29f66ddd — Ludovic Courtès 12 years ago
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.
ee85f3db — Andreas Enge 12 years ago
doc: Add package guidelines for names and numbers.

* doc/guix.texi: Three new subsections.
da7cabd4 — Andreas Enge 12 years ago
doc: Shuffle some text around.

* doc/guix.texi: Drop duplicate copyright notice, start section
    "Packaging Guidelines" with existant text.
575ed8d5 — Andreas Enge 12 years ago
doc: Create own Makefile.am in subdirectory.

* doc/Makefile.am: New file.
* Makefile.am: Reference subdirectory doc.
Next