Commit Graph

16 Commits

Author SHA1 Message Date
Doug Hellmann f64ab84259 rename aerostat to downpour
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-06 12:26:27 -05:00
Doug Hellmann e8f616d9cf add options to control whether progress bar appears
Make it possible to turn off the progress bar without completely
silencing the app.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 17:55:46 -05:00
Doug Hellmann 69a15ce38e use logging for multiple levels of verbosity
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 17:34:10 -05:00
Doug Hellmann e9f52ca2d7 remove copyright headers
These copyright headers were accidentally pasted in when the apache
header was added, and do not apply to the software.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 17:31:39 -05:00
Doug Hellmann 9363607553 pep8 cleanups
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 17:24:47 -05:00
Doug Hellmann 6b086aeeb7 split main app into export and query subcommands
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 17:15:40 -05:00
Doug Hellmann 7ddac309d5 add save_state flag for expensive resources
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 16:48:34 -05:00
Doug Hellmann 0656fd6d54 read list of resources to export from data file
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 16:40:54 -05:00
Doug Hellmann fc3335e595 add input and output args; write playbook to file
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 16:21:53 -05:00
Doug Hellmann 3386881275 download all servers and private images
Make it easier to demo by having it download everything instead of
things that exist only in my account.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 11:57:25 -05:00
Doug Hellmann dab8a56e3a move downloader into its own class
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 11:45:32 -05:00
Doug Hellmann 5f49d35322 experiment with downloading images
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 10:59:24 -05:00
Doug Hellmann 28c35d8dd3 move production rules into Resolver class
Rather than passing the cloud and memo references around, move the logic
into a class that can hold the state.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 09:55:30 -05:00
Doug Hellmann 8ca1036e78 include all servers
Use generators to produce the data so the ordering doesn't have to be
managed explicitly.

Add memoization to avoid emitting the same resources repeatedly.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 09:49:59 -05:00
Doug Hellmann e8240aa46d cleanup
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 09:49:38 -05:00
Doug Hellmann b28abf1b9b start a command line app
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-31 09:38:42 -05:00