Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    24e262f0
    guix-package: Add `--roll-back'. · 24e262f0
    Ludovic Courtès authored
    Based on a patch by Nikita Karetnikov <nikita@karetnikov.org>.
    
    * guix-package.in (profile-regexp): New procedure.
      (latest-profile-number): Remove `%profile-rx', and use
      `profile-regexp' instead.
      (profile-number, roll-back): New procedure.
      (show-help): Add `--roll-back'.
      (%options): Likewise.
      (guix-package)[process-actions]: First check whether `roll-back?' is
      among OPTS, and call `roll-back' if it is, followed by a recursive
      call to `process-actions'.  Emit the "nothing to be done" message only
      when INSTALL or REMOVE is non-empty.
    * tests/guix-package.sh (readlink_base): New function.
      Add tests for `--roll-back'.
    * doc/guix.texi (Invoking guix-package): Document `--roll-back'.
    24e262f0
    History
    guix-package: Add `--roll-back'.
    Ludovic Courtès authored
    Based on a patch by Nikita Karetnikov <nikita@karetnikov.org>.
    
    * guix-package.in (profile-regexp): New procedure.
      (latest-profile-number): Remove `%profile-rx', and use
      `profile-regexp' instead.
      (profile-number, roll-back): New procedure.
      (show-help): Add `--roll-back'.
      (%options): Likewise.
      (guix-package)[process-actions]: First check whether `roll-back?' is
      among OPTS, and call `roll-back' if it is, followed by a recursive
      call to `process-actions'.  Emit the "nothing to be done" message only
      when INSTALL or REMOVE is non-empty.
    * tests/guix-package.sh (readlink_base): New function.
      Add tests for `--roll-back'.
    * doc/guix.texi (Invoking guix-package): Document `--roll-back'.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.