Skip to content

cloudfoundry/CLAW

Repository files navigation

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.

Testing CLAW

  • Run ./scripts/run-test.sh in order to locally test CLAW

Branching strategy

All changes should be first pushed to the develop branch, and then the master branch. There is a seperate dev pipeline that works the same but pushes to a different route (cli-dev.run.pivotal.io instead of cli.run.pivotal.io and packages-dev.cloudfoundry.org instead of packages.cloudfoundry.org) Pushing to the master branch will currently automatically trigger a push to production CLAW.

About

The CF CLI download redirection web application

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages