extensions/gitlab/remote_storage.rb
# Client to connect to public or private notebook repo
Client to connect to public or private notebook repo
Client to connect to public or private notebook repo
def gallery_client(options)
      return nil unless enabled?
      client = gitlab_client
      if public?(options)
        RetryableGitlab.new(client, ENV['GITLAB_PUBLIC_REPO'])
      else
        RetryableGitlab.new(client, ENV['GITLAB_PRIVATE_REPO'])
      end
    end
def gallery_client ( options ) return nil unless enabled? client = gitlab_client if public? ( options ) RetryableGitlab . new ( client , ENV [ 'GITLAB_PUBLIC_REPO' ] ) else RetryableGitlab . new ( client , ENV [ 'GITLAB_PRIVATE_REPO' ] ) end end
Client to connect to public or private notebook repo
Client to connect to public or private notebook repo
options