The CF CLI download redirection web application
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci
.gitignore
Gemfile
Gemfile.lock
LICENSE
NOTICE
Procfile
Rakefile
claw.rb
claw_test.rb
config.ru
manifest-oss.yml
manifest-pivotal.yml
readme.md
unicorn.rb

readme.md

CLAW

The CF CLI download redirection web application.

the-claw

Why does this application exist?

  • Provide a consistent link to our downloads regardless of underlying storage (be it S3, Github, etc.)
  • Provide a consistent link that points the latest version of the CF CLI on a per architecture basis.
    • Amazon S3 supports a 'latest' version link, but did this via 301 Moved Permanently. Meaning the browser would cache the old version of the link, if we recently released, for the length of the browser cache.
    • Github does not seem to be able to provide a link to the latest binary/installer on a per architecture basis.
  • Provides analytics for each download link.