• Bob Van Landuyt's avatar
    Allow enabling gitlab-shell "discover"-feature · 7215126b
    Bob Van Landuyt authored
    This adds the possibility to enable features for GitLab shell.
    
    The first feature being recognized is "Discover": It's the command
    that is executed when running `ssh git@gitlab.example.com` and is
    called without a command.
    
    The gitlab key id or username is already parsed from the command line
    arguments.
    
    Currently we only support communicating with GitLab-rails using unix
    sockets. So features will not be enabled if the GitLab-url is using a
    different protocol. The url for this read from the config yaml.
    
    Pending ruby-specs have been added for the gitlab-shell command.
    
    Refactor to have separate command packages
    7215126b
config_test.go 3.23 KB