Use --repos-path to generate on-demand cmdline

Review Request #2429 — Created April 11, 2023 and submitted

aklitzing@gmail.com
grim/hgkeeper
default
grim
So we can avoid special environment case. Also this fixes my installation
as the HGK_REPOS_PATH was not recognized and the default value "repos" without
any absolute path was used.


Summary Author
Use --repos-path to generate on-demand cmdline
Andre Klitzing
Description From Last Updated

probably easier to just use --repos-path=%q

grimgrim
aklitzing@gmail.com
grim
  1. 
      
  2. authorized_keys/command.go (Diff revision 2)
     
     

    probably easier to just use --repos-path=%q

    1. That would generate double-quotes in double-quotes of command.

      command="hgkeeper --repos-path="/opt/hg/r s" once username",restrict ssh-ed25519 AAAAC....
      
    2. Gotcha, thanks for clarifying!

  3. 
      
grim
  1. Ship It!
  2. Nice work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...