| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From 881446873325df909f0b9779a8b347dee276f2c9 Mon Sep 17 00:00:00 2001
From: Abhiseck Paira <abhiseckpaira@disroot.org>
Date: Fri, 1 Jul 2022 20:00:57 +0530
Subject: [PATCH] fix(ui): recognize -h when it's 1st arg in a multi arg
command line
When shroud is called with multiple arguments with -h (or --version) as
the first argument, it fails to recognize -h (or --version) and prints
"unrecognized option '-h'" in the shell. For example following command
would not print help information:
$ shroud -h list
instead shroud complains that -h is an unrecognized option.
Change the pattern in `match' macro call in the function `shroud-main'
so that when -h (or --version) is first argument, it is recognized and
appropriate action is invoked. Rest of the arguments are discarded.
* shroud/ui.scm (shroud-main): Modify pattern in `match' macro call to
match "-h", "--help" (or "--version") when it's the first argument in a
multiple argument command line. Discard the rest of the arguments.
|
|
|
|
|
|
|
|
|
|
|
| |
From 08e10de21fab5438fbaa82138eb78c1de074e4eb Mon Sep 17 00:00:00 2001
From: Abhiseck Paira <abhiseckpaira@disroot.org>
Date: Thu, 9 Jun 2022 17:04:14 +0530
Subject: [PATCH] docs(shroud/ui.scm): fix typo in `leave' function docstring
In the docstring of the function `leave', replace "exist" with "exit".
* shroud/ui.scm: Doc fix.
|
|
|
|
|
|
|
|
| |
It will fallback to the legacy paths, maintaining backward compatibility.
* shroud/ui.scm (%default-config): Read environment variable to
determine database file.
(load-config): Read environment variable to determine config file.
|
|
|
|
|
|
| |
Copy wrapper phase from the package definition in Guix proper.
* package.scm (%source-dir): New variable.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Makefile.am (moddir, godir): Use $GUILE_EFFECTIVE_VERSION to
generate installation directories.
|
| |
|
|
|
|
|
|
|
|
| |
When installing to a prefix that is different than where Guile itself
was installed, users need to do some extra work to setup their load
paths.
Thanks to ArneBab for the original patch this text was adapted from.
|
| |
|
|
|
|
| |
What a huge oversight. Thanks the ArneBab for reporting.
|
| |
|
|
|
|
|
|
| |
* configure.ac (GPG): New variable.
* shroud/config.scm.in (%gpg): New variable.
* shroud/ui.scm (%default-config): Use '%gpg' as default GPG binary.
|
|
|
|
|
|
|
| |
* shroud/ui.scm (shroud-main): Do not save database when #f is returned
from a subcommand.
* shroud/ui/list.scm (shroud-list): Return #f.
* shroud/ui/show.scm (shroud-show): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (XCLIP): New variable.
* package.scm: Add xclip dependency.
* shroud/config.scm: Untrack. Now automatically generated.
* shroud/config.scm.in: New file.
* shroud/utils.scm (call-with-clipboard): New procedure.
* shroud/ui/show.scm (%options): Add --clipboard option.
(show-help): Add help text for --clipboard.
(display-secret): New procedure.
(shroud-show): Handle --clipboard option.
|
|
|
|
|
| |
* shroud/ui/show.scm (shroud-show): Display an error if requested secret
doesn't exist. Remove capitalization on "no secret ID given" message.
|
|
|
|
|
|
|
|
| |
* shroud/utils.scm (mkdir-p): New procedure.
* shroud/ui.scm (%default-config): Change default value of
'database-file'.
(shroud-main): Ensure database directory has been created before
saving.
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Add pre-inst-env.in and package.scm.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* shroud/ui/show.scm (show-help): Remove --password help text.
(%options): Remove --password option.
(process-args): New procedure.
(shroud-show): Rewrite.
|
|
|
|
| |
* shroud/utils.scm (alist-pick): New procedure.
|
|
|
|
| |
* shroud/ui.scm (leave-if-false): New procedure.
|
|
|
|
|
|
| |
* shroud/ui.scm (%commands): Add "list".
* shroud/ui/list.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* shroud/utils.scm (alist-compact): New procedure.
|
|
|
|
|
|
|
|
| |
* shroud/ui/hide.scm (show-help): Update option documentation.
(%options): Remove username, password, id, and replace options. Add
edit option.
(process-args): New procedure.
(shroud-hide): Allow adding/editing any key/value pair.
|
|
|
|
|
|
|
| |
* shroud/secret.scm (secret-username, secret-password): Delete.
(secret-contents): New accessor.
(secret-ref): New procedure.
(alist->secret, secret->alist): Use new format.
|
| |
|
| |
|
|
|
|
|
| |
* shroud/ui/remove.scm (shroud-remove): Use more consistent error
message style.
|
|
|
|
|
|
| |
* shroud/ui/hide.scm (%options): Fix version option name.
* shroud/ui/show.scm (%options): Likewise.
* shroud/ui/remove.scm (%options): Likewise.
|
| |
|
|
|