def gitlab_project_id(gitlab_url = options[:endpoint], token = options[:api_token], project = options[:path_with_namespace])
      @project_id ||= with_gitlab(gitlab_url, token) do |g|
        g.projects.auto_paginate.detect { |p| p.path_with_namespace == project }.try(:id)
      end
    end
def gitlab_project_id(gitlab_url = options[:endpoint], token = options[:api_token], project = options[:path_with_namespace])
      @project_id ||= with_gitlab(gitlab_url, token) do |g|
        g.projects.auto_paginate.detect { |p| p.path_with_namespace == project }.try(:id)
      end
    end
Tries to find a project with the given name in the given Gitlab installation
 and returns its ID (if any)