-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--stores
option incorrectly parsed
#2708
Comments
--stores
flag frequently causing issues--stores
option incorrectly parsed
Whilst attempting to install I found a lot of commands in the documentation that were meant to work but seemed to parse --stores as the wrong type of variable, causing a lot of issues with setting up the stores. |
I think, you are using wrong syntax.
So, with this syntax imho it works as documented.
|
@fetwar I'm afraid but the exact location of the |
Ahh yep, I see my syntax error, thanks for your help everyone. Is the location of the Have you considered moving the documentation to Github wiki before now? |
Yes
I like having the documentation in markdown, but if it's useful we could try the GH wiki as well. |
I think editing the GH wiki is as simple as cloning our markdown documentation to the corresponding wiki repo: |
@dominikschulz I am definitely an advocate for markdown based documentation, I even keep all of my personal notes in markdown. From my understanding Github wiki is also completely markdown based, it just creates a static site rendered from the markdown as well. I will create a test repo and let you know. |
Test repo created and exactly as @AnomalRoil said, it is as simple as moving the markdown based documentation to the .wiki.git subdomain repo. Feel free to use my test wiki fetwar/wiki-test for any testing. As a nice touch wikilinks also work (the double square bracket ones |
I guess we might want to track this in a new issue... But as an experiment I just tried pushing our In general it seems Folder are not supported by GH Wikis: https://github.com/orgs/community/discussions/23914 I guess we might do a selection of a "few" doc pages to sync with the wiki, tho. Seems it would be easy to automate with a GHA and some bash. |
I've created a new discussion for this topic #2719 |
Summary
The
--stores
flag almost seems like it isn't supported anymore, with much of the documented steps that use it causing issues.Steps To Reproduce
If you have a store called say
work
:Detected as an incorrect flag:
Detected as arguments for
recipients add
:Causes panic error below
gopass --store work <tab>
:Expected behavior
That
--store
is passed the command requested, acting within the store's context instead of globally.Results expected are the same as without
--store
option.Environment
OS:
Ubuntu 23.04 (Lunar)
OS version:
Linux 6.2.0-34-generic #34-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 4 13:06:55 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
gopass Version:
gopass 1.15.9 go1.21.3 linux amd64
Installation method:
apt
Additional context
This also occurred for other commands as well, but I didn't document them. I will attempt to find them again and comment.
From memory they were almost all commands in the gopass cheat sheet, potentially there is an underlying issue with the
--store
commands.The text was updated successfully, but these errors were encountered: