I had to put backticks around the angle bracketed stuff or Nest stripped them out. Maybe it would be better to use other characters in the actual help text, so it’s not a forever battle with HTML tags.
OK, so the init
needs to prompt for that, or there should be a way to have a local repo without a key, or the help text needs to be more explicit (and matching) so that the user knows what’s going on.
Or all of the above. Everyone should not have to ask you what this means. It doesn’t even mention the Nest.
Agreed it’s not super obvious. Keys are a relative new addition to Pijul, and thus lack some still in UX. I’ll take a look at this issue some time later and see what of your suggestions can be implemented.
About the mention of the Nest, I think Pijul should be hosting agnostic. If a company wants to someday host their server on pijul.company.tld mentioning the nest will be confusing.
@joyously It is the same behaviour git
shows when you never have used git. (Although, they have better error messages.) When you never have used git, it would prompt you on the first git commit
that you haven’t specified an author name and e-mail address, yet. That’s what pijul tries to tell you.
You only need to make an identity with pijul key generate
once. After that, pijul won’t complain again.
I don’t really understand what’s going on when I run pijul key
. I have SSH public keys which I uploaded to Nest. Are those related at all? I couldn’t find any information in the manual about this command.
The key, you create with pijul key
, serves the same purpose as “Your Name <e-mail>” in git or other VCSs. It is there to identify you in your patches. The difference is, that the key is cryptographically verifiable, while anybody could create git commits with “Your Name <e-mail>”. The second feature (not implemented, yet) of it is, that your name (and e-mail address) are no longer tied to your submitted patches. You could later change the name and e-mail address that other users see, when they look at your patches.
SSH keys are purely for authorizing the transport of patches to/from the Nest. They are not part of the VCS.
This is mostly a documentation issue I think, please open a discussion on the manual repository.
(I’m trying to close as many discussions as possible to try and move to beta).
If the code didn’t change, it’s not a documentation problem. This needs a code fix, so that the user understands how to continue. In my opinion, `the init command should indicate that the user needs to be identified if they aren’t yet. Remove the reference to LOGIN and make it understandable.
(side note: this edit box is doing weird things when I try to use back ticks)
I agree that this needs a fix. When I tried Pijul for the first time, I didn’t understand what <LOGIN>
meant. I resorted to reading the code. Since commands::key::Key::run
stores <LOGIN>
in commands::Identity.login
, and commands::protocol::output_id
stores config.author.name
in commands::Identity.login
, I concluded that <LOGIN>
refers to the screen name the user wishes to use.
This needs better docs.
OKE6SXPP34GKAXKZTWLNHRJRQQN32T3SQCSOWWC3GTV425ZF5Q6QC
I agree that login
should be changed; for now I’ve added a key section to the manual and added to the documentation and feedback for the pijul key
command.
Pijul doesn’t help you get started. Can’t I try a local repo? It says I need a key.
The message is only
pijul key generate
givesThe specific help doesn’t help. It doesn’t say what a
<LOGIN>
is. (and it shows the standard flags that aren’t relevant)