{"push_id":1347600291,"size":42,"distinct_size":1,"ref":"refs/heads/jb/fix-frontend-bugs","head":"ca495f071e1279918e3f9fc09005e120e86fadad","before":"0d36a0c4db0d7bb83ff81a9e592cc7f64af6993b","commits":[{"sha":"0da39f3f8e96c02495c974b2241d1ac21e3bc47b","author":{"name":"Dave Parfitt","email":"b6b4570dd3c7195a1a58059e6556d4541b1856ea@chef.io"},"message":"remove static and run symlinks in /hab/svc/* dir upon startup\nSigned-off-by: Dave Parfitt <dparfitt@chef.io>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/0da39f3f8e96c02495c974b2241d1ac21e3bc47b"},{"sha":"1f6db46699d824ee655669fdd282b84ead582b03","author":{"name":"Jamie Winsor","email":"491103dc04b58bc9a2f69e22e06b020be16ede04@vialstudios.com"},"message":"Update to latest ZeroMQ crate\n\n* Swap off of my personal fork to the canonical repository. We have been\n  granted commit access and will collaborate there from now on\n* Remove explicit ZeroMQ socket closes - these are now automatically\n  handled by the Socket's drop trait\n* Update Builder component plans to find libzmq at build time\n\nSigned-off-by: Jamie Winsor <jamie@vialstudios.com>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/1f6db46699d824ee655669fdd282b84ead582b03"},{"sha":"01b97b1457d89c8b155eea865b2574f595a9d492","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1252 from habitat-sh/update-zmq\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/01b97b1457d89c8b155eea865b2574f595a9d492"},{"sha":"4ebe8602727c2ede612c8b3dce438b8604a5eeeb","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1327 from habitat-sh/dp_hab_281\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/4ebe8602727c2ede612c8b3dce438b8604a5eeeb"},{"sha":"2bba8030f0cb91dc2456ea513da02fdc62fcfbdf","author":{"name":"Jamie Winsor","email":"491103dc04b58bc9a2f69e22e06b020be16ede04@vialstudios.com"},"message":"Fix build step in builder-worker plan\n\nSigned-off-by: Jamie Winsor <jamie@vialstudios.com>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/2bba8030f0cb91dc2456ea513da02fdc62fcfbdf"},{"sha":"f470c41146bd3c796adb0a610d3994497557dde0","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1328 from habitat-sh/fix-builder-plan\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/f470c41146bd3c796adb0a610d3994497557dde0"},{"sha":"cdcb72335a653d5850dc6bc14ebfdbf6565c6ca2","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[studio] Properly propagate the exit code when `build` fails.\n\nCan I write more words to explain this fix than the fix itself? It seems\nI already did.\n\nThe `hab-studio build` subcommand (which is also invoked via `hab studio\nbuild` and `hab pkg build`) has a shell function called [`record()`][]\nto log the entire build activity in a log file via the [`script(1)`][]\nprogram. It turns out that the exit code of the child process is not\nreturned by default as I initially assumed and therefore the `script`\ncall always return an exit code of `0`.\n\nThis fix adds a `--return` flag (short form of which is `-e`) to return\nthe exit code of the child proces--in our case this is the `build`\nprogram itself. Adding this exit code return properly bubbles back the\nexit code to its parent process (the bash program inside the\n`chroot(1)`) and we get a proper exit code when `hab-studio`\nterminates...as we expected in the first place.\n\nNote that I went with the short flag form of `-e` in an attempt to make\nthis portable across to the BusyBox version if it happens to be\nactivated. This is one situation where I deviated from my defaulting to\nalways use the long, explicit version in calling programs and\nscripts--we can't all remember every `docker` and `netstat` flag, right?\n\nCloses #1285\n\n[`record()`]:\nhttps://github.com/habitat-sh/habitat/blob/f470c41146bd3c796adb0a610d3994497557dde0/components/studio/bin/hab-studio.sh#L604-L622\n[`script(1)`]:\nhttp://man7.org/linux/man-pages/man1/script.1.html\n\n/cc @reset I think this is going to help you out this week...\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/cdcb72335a653d5850dc6bc14ebfdbf6565c6ca2"},{"sha":"a60f8292f5ddb6270541b25090ea23e4390e59cc","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1331 from habitat-sh/fnichol/studio-build-return-exit-code\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/a60f8292f5ddb6270541b25090ea23e4390e59cc"},{"sha":"a4e4306cbbceb38313af440de14f35f259dcb601","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[ci] Properly detect version of rustfmt for install logic.\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/a4e4306cbbceb38313af440de14f35f259dcb601"},{"sha":"2ab9bd137eb2d65ca4fb30fe8ab81f0aba9e2754","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1332 from habitat-sh/fnichol/ci-rustfmt-version-detection\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/2ab9bd137eb2d65ca4fb30fe8ab81f0aba9e2754"},{"sha":"65e60a487d826d99e1295f7b1b8ebed3575b3b5a","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[ci] Drop requirement for nightly cargo installation.\n\nNow that the Travis platform is running the Rust 1.12.0 release, we no\nlonger need to rely on installing nightly cargo for the workspace\nfeature.\n\nAnother ~1 min or so saved per run ;)\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/65e60a487d826d99e1295f7b1b8ebed3575b3b5a"},{"sha":"70d765f7d0c9b3a6a49f035407800365b8718789","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1333 from habitat-sh/fnichol/ci-drop-nightly-cargo\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/70d765f7d0c9b3a6a49f035407800365b8718789"},{"sha":"eb81a905e02f513cdabc71db001ee28c37336f10","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[ci] Remove unused and redundant cache directories.\n\nThis change removes the `$HOME/rust` directory which appears to be\nlong-unused (introduced in #513), and also removes the `$HOME/.cargo`\nand `target` entries which appear to be\n[handled](https://docs.travis-ci.com/user/caching/#Rust-Cargo-cache) by\nthe `cargo: true` lines in the .travis.yml.\n\nThis should reduce the time spent downloading (extra?) caches tarballs\noff s3 and marginally speed up the build times.\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/eb81a905e02f513cdabc71db001ee28c37336f10"},{"sha":"e7a83da85da26e5b990d60bcb33480e1a327d1a4","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1334 from habitat-sh/fnichol/ci-trim-redundant-caches\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/e7a83da85da26e5b990d60bcb33480e1a327d1a4"},{"sha":"2d7915ab7d1ec0bdb4c4b957788ce524e202f524","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[ci] Support `$STEAM_ROLLER` to force a build unconditionally.\n\nThis adds \"un-shortcircuiting\" logic to `support/ci/fast_pass.sh` to\nforce a full build no matter the state of the pull request. This is used\nin conjunction with setting [variables in repository\nsettings](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings)\nwhen cache-busting to ensure a full, clean build.\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/2d7915ab7d1ec0bdb4c4b957788ce524e202f524"},{"sha":"4c8c7c4c8a73fbbdc556329577081ff490ea0611","author":{"name":"The Friendly Habitat Sentinels","email":"ce7a29a76320234c9ada8c0b94b3d512914b7dfa@chef.io"},"message":"Merge pull request #1335 from habitat-sh/fnichol/ci-steam-roller\n\nApproved by: @Nobody from Nowhere\nMerged by: The Sentinels","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/4c8c7c4c8a73fbbdc556329577081ff490ea0611"},{"sha":"8d919141884086f9923bda11d814b7ab5f95b9f5","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[core] Add core `become_command()` to abstract Unix/Windows exec diffs.\n\nThis change extracts the formerly named `exec_command()` function from\nhab's `exec` module into a common interface `become_command()` in core's\nnewly created `os::process` module. The intent of this function\nphilisophically is to turn the current process into some other process\nthat takes over for the duration of the new process. In other words, the\nexisting process ceases to do any work.\n\nThere are 2 implementations for this function, which depend on the\nunderlying target platform:\n\nUnix (i.e. Linux, Mac, BSD, etc)\n--------------------------------\n\nThis implementation uses [`execvp(3)`][] which is now provided by the\n[`exec()`][] function on Rust's stdlib [`CommandExt`][] trait. This\ninsures that there isn't a deeply nested process chain and that signals\nsuch as `Ctrl+C` correctly kill all related processes. If a developer\nneeds to create a child process and supervise it or act on the child's\nresults then this is **not** the appropriate API to invoke, hence the\nname `become_command()`.\n\n[`execvp(3)`]: https://linux.die.net/man/3/execvp\n[`exec()`]:\nhttps://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.exec\n[`CommandExt`]:\nhttps://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html\n\nWindows\n-------\n\nThis implementation uses Rust's stdlib [`Command`] to execute the\ncommand as a child process and then exits with the child's exit code.\nDue to the lack of `exec*()` behavior. Note that there is an older\n`_execv()` in a POSIX compatibility layer in MSVCRT, but the native\napproach is to use a child process here, and so that's what we do.\nAlso note that while the `hab` process is not replaced by the new\nprocess, we explicitly terminate the `hab` process after the child\nprocess completes. If a developer needs to create a child process and\nsupervise it or act on the child's results then this is **not** the\nappropriate API to invoke, hence the name `become_command()`.\n\n[`Command`]:\nhttps://doc.rust-lang.org/std/process/struct.Command.html#method.exec\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/8d919141884086f9923bda11d814b7ab5f95b9f5"},{"sha":"59ba9243138d720defe32b827da87fcfd47e26ab","author":{"name":"Fletcher Nichol","email":"e5b43649bd990e696b89f2058fbf099adeaa2d7c@nichol.ca"},"message":"[hab] Attempt to call `sudo` on `hab studio *` for non-root users.\n\nThis change only currently affects Linux non-root users who attempt to\nrun the following subcommands:\n\n* `hab studio *`\n* `hab pkg build *`\n\nThe behavior introduced here will attempt to re-exec the command with\nprepended with a `sudo -p \"[sudo hab-studio] password for %u:\" -E` in\nfront of the original `hab` subcommand. If the `sudo` command cannot be\nfound on the `PATH` then an error message is displayed to the user and\nthe program terminates with a non-zero exit code. The end result is\nthat, for non-root users on systems using sudoers:\n\n    hab pkg build ...\n\nWill be the same as running:\n\n    sudo hab pkg build ...\n\nExamples\n--------\n\nRunning as a non-root user with appropriate permissions in sudoers:\n\n```\n> hab studio enter\n[sudo hab-studio] password for jdoe:\n   hab-studio: Creating Studio at /hab/studios/home--jdoe (default)\n   hab-studio: Importing jdoe secret origin key\n» Importing origin key from standard input\n★ Imported secret origin key jdoe-20161005175939.\n   hab-studio: Entering Studio at /hab/studios/home--jdoe (default)\n   hab-studio: Exported: HAB_ORIGIN=jdoe\n\n[1][default:/src:0]#\n```\n\nRunning as a non-root user when the `sudo` command cannot be found on\n`PATH`:\n\n```\n> sudo mv /usr/bin/sudo /usr/bin/ssudo\n\n> hab studio enter\n∅ Could not find the `sudo' command on the filesystem or in PATH.\n∅ Running Habitat Studio requires root or administrator privileges. Please retry this command as a super user or use a privilege-granting facility such as sudo.\n\n✗✗✗\n✗✗✗ Root or administrator permissions required to complete operation\n✗✗✗\n```\n\nSigned-off-by: Fletcher Nichol <fnichol@nichol.ca>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/59ba9243138d720defe32b827da87fcfd47e26ab"},{"sha":"37c392d6ed59482327758e02b338eb4e3a8dfcdf","author":{"name":"Stephan Renatus","email":"216f4acd218ab944e1b347dd51ed134e84be184d@chef.io"},"message":"if reconfigure hook exists, don't send SIGTERM\n\nFixes #987.\n\nSigned-off-by: Stephan Renatus <srenatus@chef.io>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/37c392d6ed59482327758e02b338eb4e3a8dfcdf"},{"sha":"d31744487febccdaa804e33817987ccff0dfd64f","author":{"name":"Dave Parfitt","email":"b6b4570dd3c7195a1a58059e6556d4541b1856ea@chef.io"},"message":"add reconfigure hook testing\nSigned-off-by: Dave Parfitt <dparfitt@chef.io>","distinct":false,"url":"https://api.github.com/repos/habitat-sh/habitat/commits/d31744487febccdaa804e33817987ccff0dfd64f"}]}
{"actor":{"display_login":"raskchanky"}}