@buggy_git_version
end
+ # http_fetch_url returns the first http:// or https:// url (if any)
+ # in the api response's clone_urls attribute.
+ def http_fetch_url
+ clone_urls.andand.select { |u| /^http/ =~ u }.first
+ end
+
protected
# refresh fetches the latest repository content into the local
@fresh = true
end
- # http_fetch_url returns the first http:// or https:// url (if any)
- # in the api response's clone_urls attribute.
- def http_fetch_url
- clone_urls.andand.select { |u| /^http/ =~ u }.first
- end
-
# run_git sets up the ARVADOS_API_TOKEN environment variable,
# creates a local git directory for this repository if necessary,
# executes "git --git-dir localgitdir {args to run_git}", and