Get Enterprise AppFog on Private Clouds and On Premises Today

Even more CLI tool updates!

I know, I know: we’ve been doing this a lot lately. We just want to keep you updated on our command line tool, which we think is one of the most important things that we offer to developers wanting to use AppFog.

The changes are subtle but powerful:

1. Push and update changes only rather than the whole directory

When you run the af update or af push command on existing apps, the CLI tool now updates only new and changed files rather than the entire project directory. The larger the app, the more time this will save. This is something that many of you asked for directly, and we’re happy to finally offer you this capability.

One of the cool under-the-hood details: our developer Larry Hitchon, who has really been crushing it these days with his af gem updates, was able to configure things in such a way that when a push/update hits the Cloud Foundry back end, the server can tell if it has seen the file already.

A direct side effect of this is that if a file has already been uploaded even by someone else, say jQuery or a Java .jar file, it doesn’t have to load those files from your directory. It can use the file in the Cloud Foundry cache instead. Yet another efficiency gain that could save you time upon deployment and updating.

As always, in order to use this new functionality, you just need to update your af Ruby gem:

sudo gem update af

2. New infrastructures now accessible with gem updates

In the future, you will no longer have to update the af gem in order to get a list of or to use all available infrastructures. If we add a new infrastructure (and we will be adding some very soon), you can deploy, push, or update to that infrastructure without having to update anything on your machine. This is a big improvement because it means that the list of infrastructures is no longer hard-coded into specific versions of the af gem.

Stay tuned for more changes!

Share this post
Facebook Twitter Google
Try AppFog: The new PaaS Hackers love
  • jayant

    GOOD

  • ihti

    Looks like af update doesn’t work like you described. Just hit af update three times in a row and every time af uploaded about 150K but I didn’t change a single file in app. Anyway it’s better 150K then 15MB :)

  • Leon LaSpina

    My upload bandwidth is low, so this new smart update cli functionality is a nice productive boost! I can actually re-deploy to appfog as quickly as I can re-deploy to a localhost server running on my dev computer!

  • John

    What happens if I want to update an existing image or other static file?

Powered by Olark