Commit Graph

34 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Adrien Delorme 7efe3cac3d todos
8 years ago
Adrien Delorme fd7cb47adc use proxy reader for download progress & stop storing total/current in downloaders
8 years ago
Adrien Delorme ddd96c513b first draft at self refreshing loading bar centralized/controlled by Ui
8 years ago
Ali Rizvi-Santiago cf9bbe3ecf Incorporated the hack demonstrated by @SwampDragons in order to deal with packer.rpc.Ui not exporting any information about what it's doing to anybody.
8 years ago
Ali Rizvi-Santiago 5726927cba Moved the progress bar out of packer.Ui and unlinked it out of all the packer.Ui implementations. Split up the terminal-related functions into a separate terminal.go and calculate the progress bar width by traversing through packer.Ui to avoid the issue with github.com/ugorji/go/codec serializing private members (or unsafe pointers) of structs. Shuffled some arguments around in getConsoleScreenBufferInfo in common/terminal_windows.go so that the interface forces the user to correctly declare a _CONSOLE_SCREEN_BUFFER_INFO type.
8 years ago
Ali Rizvi-Santiago 0f10032b3d Moved the progress bar from common to the packer.UI interface and refactored it so that the terminal width is calculated based on each interface which returns a custom progressbar specific to its ui.
8 years ago
Ali Rizvi-Santiago fd2fef8738 Added support for the progress bar to automatically determine its width using the minimum length from a packer.UI and the terminal dimensions via kernel32.GetConsoleScreenBufferInfo or an ioctl (TIOCGWINSZ) to "/dev/tty".
8 years ago
M. Marsh 56dd8cdb63
Merge pull request #3891 from nouney/f-generated-files
8 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Vasiliy Tolstov 00ebe9e1d3 various fixes
9 years ago
开恒 96a637684b fix #3897
10 years ago
nouney 59dac451a5 provisioner/file: add "generated" key to allow files created on-the-fly.
10 years ago
Joel Scoble 94d158b0b7 remove debug fmt.Print from test
10 years ago
Joel Scoble 999b8b2ed0 file provisioner: download should create all dirs in the destination path
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Vasiliy Tolstov 036c9ddf7c fix file download provisioner
11 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Alexander Golovko 500d83b673 add download support to file provisioner
11 years ago
Mitchell Hashimoto 2b4df93f2f provisioner/*: interpolation
11 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Mitchell Hashimoto adbb490189 provisioner/file: support uploading directories [GH-251]
13 years ago
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel
13 years ago
Mitchell Hashimoto 095631107a communicator/ssh: UploadDir works properly
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto fb6d2754da packer: Add Machine func to Ui
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto bf67c6c36e provisioner/file: use the template processing stuff
13 years ago
Rafael Garcia ec556044cd provisioner/file: state of the art config decoding
13 years ago
Mark Peek 0403932315 Log an upload error closer to when it occurs
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Mitchell Hashimoto 1a2e4f9d0b fmt
13 years ago
Mitchell Hashimoto 32aabb6ea2 provisioner/file: style nitpicks
13 years ago
Eric Lathrop 3957d3dadc Implement file upload provisioner per #118.
13 years ago