[mesos] branch master updated: Updated 'Makefile.am' to make new CLI build step more reliable.

2018-12-04 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 0e709d3 Updated 'Makefile.am' to make new CLI

[mesos] branch master updated: Added '--all' flag to 'mesos task list'.

2018-11-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 8c6e0e5 Added '--all' flag to 'mesos task list

[mesos] branch master updated: Replaced CLI test helper function 'running_tasks' by 'wait_for_task'.

2018-11-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 18e51b8 Replaced CLI test helper function

[mesos] branch master updated: Fixed name of task created when running mesos-cli-tests.

2018-11-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 48cdd10 Fixed name of task created when

[mesos] branch master updated: Updated 'mesos task list' to only display running tasks.

2018-11-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 2b03f94 Updated 'mesos task list' to only

[mesos] branch master updated: Updated 'mesos task list' to display a 'State' field.

2018-11-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new fcb8e2a Updated 'mesos task list' to display

[mesos] branch master updated: Changed 'docs/cli.md' to include comments from the review request.

2018-11-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new d0c7c19 Changed 'docs/cli.md' to include

[mesos] branch master updated: Added docs describing how to use the new CLI.

2018-11-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new c132007 Added docs describing how to use

[mesos] branch master updated: Updated PyInstaller requirement for new CLI to support Python 3.7.

2018-11-19 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 12bf198 Updated PyInstaller requirement

[mesos] 01/03: Updated new CLI test step to use binary created by PyInstaller.

2018-11-19 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 992b506e19829536b9407f04f4647af6642d9bec Author: Armand Grillet AuthorDate: Mon Nov 19 10:41:13 2018 -0500 Updated

[mesos] branch master updated (22fa5ae -> 2a89935)

2018-11-19 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 22fa5ae Added a test `ROOT_UNPRIVILEGED_USER_SandboxOwnership`. new 992b506 Updated new CLI test step to use

[mesos] 03/03: Updated configuration docs describing how to build the new CLI.

2018-11-19 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 2a899351641c8defb7d677bad25fe2b479d1f0b6 Author: Armand Grillet AuthorDate: Mon Nov 19 10:50:47 2018 -0500 Updated

[mesos] 02/03: Added configuration docs describing how to use Python 3.

2018-11-19 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit e7bd571e5c8bb3a3b91f589b9a03d07320070e3e Author: Armand Grillet AuthorDate: Mon Nov 19 10:49:28 2018 -0500 Added

[mesos] branch master updated: Updated new CLI task attach/exec exit strategy.

2018-11-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 25beea1 Updated new CLI task attach/exec exit

[mesos] branch master updated: Updated new CLI to propagate commands exit status properly.

2018-11-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 992e3c4 Updated new CLI to propagate commands

[mesos] branch master updated: Simplified newline handling in 'test_exec()' test for new CLI.

2018-11-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 9441e48 Simplified newline handling

[mesos] branch master updated: Refactored 'running_tasks()' call for new CLI tests.

2018-11-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 6b7b7e6 Refactored 'running_tasks()' call

[mesos] branch master updated: Added 'popen_tty()' to test util functions for the new CLI.

2018-11-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 6d0cbda Added 'popen_tty()' to test util

[mesos] branch master updated: Updated 'CLI_FILES' in 'cli_new/CmakeLists.txt'.

2018-10-31 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new d8062f2 Updated 'CLI_FILES' in 'cli_new

[mesos] branch 1.7.x updated: Fixed bug in 'execute.cpp' with tty-based tasks and no 'containerInfo'.

2018-10-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new 0f3b4cd Fixed bug in 'execute.cpp' with tty

[mesos] branch 1.6.x updated: Fixed bug in 'execute.cpp' with tty-based tasks and no 'containerInfo'.

2018-10-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.6.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.6.x by this push: new f272bcb Fixed bug in 'execute.cpp' with tty

[mesos] branch 1.5.x updated: Fixed bug in 'execute.cpp' with tty-based tasks and no 'containerInfo'.

2018-10-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.5.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.5.x by this push: new d6bc88d Fixed bug in 'execute.cpp' with tty

[mesos] branch master updated: Fixed bug in 'execute.cpp' with tty-based tasks and no 'containerInfo'.

2018-10-26 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 4fa080a Fixed bug in 'execute.cpp' with tty

[mesos] branch master updated: Added non-interactive test for 'task exec'.

2018-10-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 06e5a3a Added non-interactive test for 'task

[mesos] branch master updated: Added new CLI constants 'TEST_DIRECTORY' and 'TEST_DATA_DIRECTORY'.

2018-10-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 4624823 Added new CLI constants

[mesos] branch master updated: Added tenacity to 'pip-requirements' for new CLI.

2018-10-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new aed4a74 Added tenacity to 'pip-requirements

[mesos] branch master updated: Added 'exec_command' to test util functions for the new CLI.

2018-10-22 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 963de3b Added 'exec_command' to test util

[mesos] 01/02: Fixed formatting in subcommand help in the new CLI.

2018-10-20 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 28bff37977f18976e75786fad987faf11b96f91a Author: Kevin Klues AuthorDate: Sat Oct 20 05:27:31 2018 -0400 Fixed

[mesos] 02/02: Added 'task attach' subcommand to new CLI.

2018-10-20 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 2d563794bc82a2cc799cdf2171fc47742fb573d1 Author: Armand Grillet AuthorDate: Fri Oct 19 12:47:59 2018 +0200 Added

[mesos] branch master updated (bc54d38 -> 2d56379)

2018-10-20 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from bc54d38 Eliminated excessive label copying in the task label decorator hook. new 28bff37 Fixed formatting

[mesos] branch master updated: Added 'task exec' subcommand to new CLI.

2018-10-18 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 7f36ebc Added 'task exec' subcommand to new

[mesos] branch master updated: Added TaskIO to new CLI.

2018-10-18 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new cfa60e4 Added TaskIO to new CLI. cfa60e4

[mesos] branch master updated: Updated bootstrap in new CLI to honor relative path in pip requirements.

2018-10-18 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 2cd0157 Updated bootstrap in new CLI to honor

[mesos] branch master updated: Added `retry` argument to `request()` method in Python library.

2018-10-17 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 5ad9bcc Added `retry` argument to `request

[mesos] branch master updated: Added `get_container_id` to util functions for the new CLI.

2018-10-17 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new e9dc095 Added `get_container_id` to util

[mesos] branch master updated: Added Record-IO encoder and decoder to Python library.

2018-10-16 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new e553216 Added Record-IO encoder and decoder

[mesos] branch master updated: Moved import of '../lib' from new CLI bootstrap to pip-requirements.txt.

2018-10-16 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 6f87faf Moved import of '../lib' from new CLI

[mesos] branch master updated: Updated Python library to properly import submodules.

2018-10-16 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new c6d7d55 Updated Python library to properly

[mesos] branch master updated: Changed usage documentation for new CLI.

2018-10-15 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new a063afc Changed usage documentation for new

[mesos] branch master updated (00e2b6c -> 3b8be5a)

2018-10-15 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 00e2b6c Moved MESOS-9279 to 1.4.2 CHANGELOG. new c2ceb8d Removed variable printing in error strings in new

[mesos] 01/02: Removed variable printing in error strings in new CLI.

2018-10-15 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit c2ceb8d83447ad00a62e77d978d63d69b4da6567 Author: Armand Grillet AuthorDate: Mon Oct 15 07:37:36 2018 -0400 Removed

[mesos] 02/02: Added try/catch statements when using Mesos util functions in new CLI.

2018-10-15 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 3b8be5a17ad9ce9e981ddc2c0789c37af1700de0 Author: Armand Grillet AuthorDate: Mon Oct 15 07:36:27 2018 -0400 Added

[mesos] branch master updated: Replaced 'verify_address_format' in new CLI with 'sanitize_address'.

2018-10-09 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new d39b1e9 Replaced 'verify_address_format

[mesos] branch master updated: Moved `get_agent_address` from `util.py` to `mesos.py` in new CLI.

2018-10-08 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new aa98a49 Moved `get_agent_address` from

[mesos] branch master updated: Removed unused `lib/cli/tasks.py` for new CLI.

2018-10-08 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new fee4803 Removed unused `lib/cli/tasks.py

[mesos] branch master updated: Refactored new CLI.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 051a138 Refactored new CLI. 051a138

[mesos] branch 1.5.x updated (4010b2d -> fcd52ec)

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch 1.5.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from 4010b2d Added MESOS-9279 to 1.5.2 CHANGELOG. new 0ebf8e3 Added the ability to launch tasks with a TTY attached

[mesos] 01/02: Added the ability to launch tasks with a TTY attached to mesos-execute.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.5.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 0ebf8e3ad744463f561663a8afdf7886d19edfad Author: Kevin Klues AuthorDate: Tue Oct 2 11:40:52 2018 +0200 Added

[mesos] branch 1.6.x updated (1501dca -> 69c79ef)

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch 1.6.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from 1501dca Added MESOS-9279 to 1.6.2 CHANGELOG. new 943b8f2 Added the ability to launch tasks with a TTY attached

[mesos] 02/02: Removed call to 'setsid()' in command executor if TTY attached.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.6.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 69c79efe98d55e476ddd1ca6cfdc120a88e7a97d Author: Kevin Klues AuthorDate: Tue Oct 2 11:41:12 2018 +0200 Removed call

[mesos] 01/02: Added the ability to launch tasks with a TTY attached to mesos-execute.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.6.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 943b8f29beaa3d82a9fe97983f2f9cae9f33f49c Author: Kevin Klues AuthorDate: Tue Oct 2 11:40:52 2018 +0200 Added

[mesos] 01/02: Added the ability to launch tasks with a TTY attached to mesos-execute.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit f8ae6433485450a447d906ede3395619bd9a8507 Author: Kevin Klues AuthorDate: Tue Oct 2 11:40:52 2018 +0200 Added

[mesos] 02/02: Removed call to 'setsid()' in command executor if TTY attached.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 8e4465a851fb3e5d10cea5f0183c08caef606daf Author: Kevin Klues AuthorDate: Tue Oct 2 11:41:12 2018 +0200 Removed call

[mesos] branch 1.7.x updated (f35825c -> 8e4465a)

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from f35825c Added MESOS-9231 in CHANGELOG and updated upgrades.md. new f8ae643 Added the ability to launch tasks

[mesos] 02/02: Removed call to 'setsid()' in command executor if TTY attached.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 12b6ab6bdabfc37f73439ea55ef0a7f0ee680983 Author: Kevin Klues AuthorDate: Tue Oct 2 11:41:12 2018 +0200 Removed

[mesos] branch master updated (7aaef19 -> 12b6ab6)

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 7aaef19 Added MESOS-9231 in CHANGELOG and updated upgrades.md. new 716bb9f Added the ability to launch tasks

[mesos] 01/02: Added the ability to launch tasks with a TTY attached to mesos-execute.

2018-10-02 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 716bb9f65974e4479d9ad794c145aa8293cea203 Author: Kevin Klues AuthorDate: Tue Oct 2 11:40:52 2018 +0200 Added

[mesos] 02/02: Migrated mesos python package to python3.6.

2018-08-29 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 959fa0bbe6dcde60262bc131f851f5bb2d709d57 Author: Eric Chung AuthorDate: Wed Aug 29 13:46:11 2018 +0200 Migrated

[mesos] 01/02: Updated the python2 'PyLinter' to only lint python2 based code.

2018-08-29 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit b55c5deb88b4a4e5713c9361e492e941972fe8db Author: Kevin Klues AuthorDate: Wed Aug 29 13:39:29 2018 +0200 Updated

[mesos] branch master updated (0a69035 -> 959fa0b)

2018-08-29 Thread klueska
This is an automated email from the ASF dual-hosted git repository. klueska pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 0a69035 Fixed flakiness in the `CreateDestroyDiskRecovery` SLRP test. new b55c5de Updated the python2

mesos git commit: Updated CLI to Python 3.

2018-07-16 Thread klueska
Repository: mesos Updated Branches: refs/heads/master b1eafc035 -> da8cac169 Updated CLI to Python 3. The build tools are also up to date thus the CLI can still be built using Autotools and CMake. No features have been added to the CLI. Along the way, we have also fixed some linting errors

[5/5] mesos git commit: Updated pylint usage in mesos-style.py to be less verbose.

2018-07-13 Thread klueska
Updated pylint usage in mesos-style.py to be less verbose. We started using Pylint 1.9 a few days ago to lint `.py` files, and this version of pylint always prints a score after linting is complete. To make the output less verbose, we now use the option `--score=n` when using pylint in

[4/5] mesos git commit: Updated tox usage in mesos-style.py to run directly from virtualenv.

2018-07-13 Thread klueska
Updated tox usage in mesos-style.py to run directly from virtualenv. We were already doing this in the ptyhon2 mesos-style.py script. This commit adds the same support to the python3 version of the script. Review: https://reviews.apache.org/r/67906/ Project:

[3/5] mesos git commit: Fixed virtualenv management in support directory.

2018-07-13 Thread klueska
Fixed virtualenv management in support directory. The switch from Python 2 to Python 3 creates problems with managing the virtual environment in the support directory if a developer regularly toggles between Python 2 and 3. For example, we want the virtual environment to always use the same

[2/5] mesos git commit: Fixed linting errors that appear with the recently updated pylint.

2018-07-13 Thread klueska
Fixed linting errors that appear with the recently updated pylint. As part of this, we needed to remove some unnecessary delegate to 'super' calls that are legal in python2 but not in python3. That said, they are also unnecessary in python2 so we remove them in both cases. Specifically, we

[1/5] mesos git commit: Fixed `build-virtualenv` to correctly clear virtual environment.

2018-07-13 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 13fb36ec0 -> c2bdf07eb Fixed `build-virtualenv` to correctly clear virtual environment. Running `build-virtualenv` with Python 3 followed by running it again with Python 2 leaves the directory with both versions of Python in the

mesos git commit: Updated build-virtualenv to use Python 3 features.

2018-07-09 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 81a7b5f68 -> d7eb8a9a9 Updated build-virtualenv to use Python 3 features. With Python 3, virtualenv is built-in. We thus remove the error messages if the script is run using Python 3 without virtualenv installed on the machine. We also use

mesos git commit: Refactored base of Python CLI tests.

2018-07-06 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 10908df71 -> 77921200a Refactored base of Python CLI tests. This patch mostly adds additional hardening to make sure we error out with proper error messages in places where we weren't before. However, as part of this, we also fixed a bug

mesos git commit: Updated configure.ac and Makefile.am to use `$PYTHON` not `python`.

2018-07-04 Thread klueska
Repository: mesos Updated Branches: refs/heads/master f9bb153f0 -> bf69856f2 Updated configure.ac and Makefile.am to use `$PYTHON` not `python`. This ensures that we use Python 2 even if the default Python installed in the path under `python` is Python 3. Previously, even when explicitly

mesos git commit: Refactored logic for `PYTHON` and `PYTHON_VERSION` in `configure.ac`.

2018-07-04 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 07dc7d29b -> f9bb153f0 Refactored logic for `PYTHON` and `PYTHON_VERSION` in `configure.ac`. This will facilitate the introduction of `PYTHON_3` and `PYTHON_3_VERSION` to build the CLI in a future commit. Review:

mesos git commit: Improved coverage with configure and `PYTHON` or `PYTHON_VERSION` set.

2018-06-15 Thread klueska
Repository: mesos Updated Branches: refs/heads/master cab94e6dc -> 57091affe Improved coverage with configure and `PYTHON` or `PYTHON_VERSION` set. We set `PYTHON` and `PYTHON_VERSION` when configuring the build. We now cover all possible cases (both variables set, only one, none). This

mesos git commit: Broadened check for Autotools Python environment variables.

2018-06-15 Thread klueska
Repository: mesos Updated Branches: refs/heads/master d6de4b0db -> 3bf6eb7c8 Broadened check for Autotools Python environment variables. The checks now also apply if we run configure with disabled Python bindings but enabled new CLI. Another check regarding the Python version has been kept

[2/2] mesos git commit: Added tox for linting and testing code living uder src/python.

2018-05-09 Thread klueska
Added tox for linting and testing code living uder src/python. At the moment, all linting is done through the same `pylint` installation under support/.virtualenv, which requires ALL dependencies (i.e. pip-requirements.txt, requirements.in scattered in various directories) to be installed in the

[1/2] mesos git commit: Bumped 'tox' version used by python to 3.0.0.

2018-05-09 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 0f0909c89 -> 1e7612681 Bumped 'tox' version used by python to 3.0.0. We require this version so that we can pass the '-qq' option to tox to suppress its output. We want to see the output of the commands it issues, but we don't want to see

mesos git commit: Added options to build the Python CLI and run unit tests.

2018-04-12 Thread klueska
Repository: mesos Updated Branches: refs/heads/master ddab02d76 -> bffa9f3c5 Added options to build the Python CLI and run unit tests. An update of the discarded review /r/52543. Works with Autotools and CMake. Review: https://reviews.apache.org/r/64211/ Project:

mesos git commit: Fixed CLI bootstrap script to work with long workspace paths.

2018-04-12 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 237a121c4 -> ddab02d76 Fixed CLI bootstrap script to work with long workspace paths. If the absolute path to the Python interpreter is long, it may exceed the maximum length allowed for a shebang line (limit set to 128 on many Linux

[1/2] mesos git commit: Improved documentation regarding the new CLI setup. [Forced Update!]

2018-04-12 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 3c1a0bce1 -> 237a121c4 (forced update) Improved documentation regarding the new CLI setup. Explains how to create the necessary virtual environment from anywhere and how to set up autocompletion in such case. Also removes an unnecessary

[2/2] mesos git commit: Removed 'source activate' from new CLI wrapper scripts.

2018-04-12 Thread klueska
Removed 'source activate' from new CLI wrapper scripts. Having these command in these scripts was only necessary if you wanted to run them from outside the virtual environment they were meant to run in. Since we will soon be allowing people to create this virtual environment anywhere on their

mesos git commit: Improved documentation regarding the new CLI setup.

2018-04-12 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 99c73e0c4 -> 3c1a0bce1 Improved documentation regarding the new CLI setup. Explains how to create the necessary virtual environment from anywhere and how to set up autocompletion in such case. Also removes an unnecessary activation of the

mesos git commit: Updated Mesos CLI test base to use shell to start masters and agents.

2018-02-16 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 9a42cf84f -> 550d37232 Updated Mesos CLI test base to use shell to start masters and agents. We use the shell scripts in `build/src` to start masters and agents for the CLI tests. Instead of running them as executables, we now use the

[2/4] mesos git commit: Whitelisted the 'ujson' package for linting in the new python-based CLI.

2018-02-07 Thread klueska
Whitelisted the 'ujson' package for linting in the new python-based CLI. The 'usjon' package contains C-bindings which break the python linter when imported into our CLI python modules. This commit whitelists this package for the linter so that we can import it without linting errors. Review:

mesos git commit: Fixed broken python linter.

2017-11-10 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 5516adba3 -> b608b8a5e Fixed broken python linter. For now we hard code pulling in the pip-requirements from the python CLI's virtualenv in addition to our own pip-requirements for the linter virtualenv. In the future, we need to make this

[2/3] mesos git commit: Linted JavaScript files.

2017-11-10 Thread klueska
Linted JavaScript files. Review: https://reviews.apache.org/r/63703/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/af8404e7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/af8404e7 Diff:

[3/3] mesos git commit: Improved support/mesos-style.py structure.

2017-11-10 Thread klueska
Improved support/mesos-style.py structure. We have updated the following three things: 1. The Python linter now also use the function `run_command_in_virtualenv` to run. 2. The methods of LinterBase have been reordered alphabetically. 3. Some unecessary excluded files have been removed for

mesos git commit: Added JavaScript linter.

2017-11-09 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 0f674 -> 844590611 Added JavaScript linter. The linter runs when changes on a JavaScript file are being committed. We use ESLint with a configuration based on our current JS code base. The linter and its dependencies (i.e. Node.js) are

mesos git commit: Removed pylint from the CLI requirements.

2017-11-09 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 102a36304 -> 0f674 Removed pylint from the CLI requirements. Due to the new virtual environment located in /support, we do not need to have pylint in the CLI virtual environment anymore. Review: https://reviews.apache.org/r/63582/

mesos git commit: Added ZooKeeper leader resolution to CLI.

2017-11-07 Thread klueska
Repository: mesos Updated Branches: refs/heads/master ab3728f3a -> 509a1ab32 Added ZooKeeper leader resolution to CLI. This change allows users to use the CLI with a Mesos running in high availability mode. The `zookeeper` field was already here before this commit, with an `addresses` array

mesos git commit: Added cpplint.py to be skipped by python linter (for now).

2017-10-05 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 89a7e3019 -> 7b1ab0320 Added cpplint.py to be skipped by python linter (for now). This file needs to be modified properly to pass the linter before removing the directive introduced in this commit. Project:

mesos git commit: Added support/ to the list of the linted directories.

2017-10-05 Thread klueska
Repository: mesos Updated Branches: refs/heads/master b1570606a -> 38af943ad Added support/ to the list of the linted directories. By adding the support directory to 'mesos-style.py', we make sure that all our support scripts follow the same coding style that the rest of our Python codebase

mesos git commit: Added helper functions for linters using a virtual environment.

2017-10-05 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 657a930e1 -> b1570606a Added helper functions for linters using a virtual environment. This is used by the Python linter and will be used by the Javascript linter. Review: https://reviews.apache.org/r/62333/ Project:

mesos git commit: Added 'mesos agent list' command to CLI.

2017-09-27 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 7b0852f79 -> 127070329 Added 'mesos agent list' command to CLI. This command displays the agents in a cluster by reaching the slaves endpoint of a master. Review: https://reviews.apache.org/r/62065/ Project:

mesos git commit: Added CLI utility function to get agent address.

2017-09-26 Thread klueska
Repository: mesos Updated Branches: refs/heads/master ebc277c32 -> d1a430886 Added CLI utility function to get agent address. This will be used by future plugins. Review: https://reviews.apache.org/r/62573/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added default configuration file for CLI tests.

2017-09-26 Thread klueska
Repository: mesos Updated Branches: refs/heads/master b35e8169d -> ebc277c32 Added default configuration file for CLI tests. This will be used by future tests, it overwrites the configuration file defined by the user. Review: https://reviews.apache.org/r/61211/ Project:

mesos git commit: Added 'master' key as an acceptable key in the CLI's config.toml.

2017-09-26 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 016a565f3 -> b35e8169d Added 'master' key as an acceptable key in the CLI's config.toml. This key is a field that has to be composed of an `address` or `zookeeper` field, but not both. Review: https://reviews.apache.org/r/60088/

mesos git commit: Added CLI utility function to verify addresses.

2017-09-26 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 1b23456aa -> 016a565f3 Added CLI utility function to verify addresses. This will be used by future plugins. Review: https://reviews.apache.org/r/61212/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added constants for the Mesos CLI.

2017-09-26 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 7bd7e6c0d -> 1b23456aa Added constants for the Mesos CLI. This will be used by future commands and functions of the CLI. Review: https://reviews.apache.org/r/62572/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Updated Python linter to work with multiple directories.

2017-09-22 Thread klueska
Repository: mesos Updated Branches: refs/heads/master b3a30f6d2 -> 84a8ff1a4 Updated Python linter to work with multiple directories. This allows us to have different Pylint configurations depending on the directory we lint. This will be useful in the future to lint our standard Python

mesos git commit: Updated pylint to ignore errors for 'similar' imports across files.

2017-09-22 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 5d4f588eb -> b3a30f6d2 Updated pylint to ignore errors for 'similar' imports across files. Without this change pylint will complain when multiple files have very similar imports. This happens in the Mesos CLI because all of our 'plugins'

mesos git commit: Renamed constants for CLI tests.

2017-09-22 Thread klueska
Repository: mesos Updated Branches: refs/heads/master ae89b19ff -> 5d4f588eb Renamed constants for CLI tests. These constants are now prefixed by 'TEST' instead of 'DEFAULT'. Review: https://reviews.apache.org/r/61210/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added the ability for a plugin command to have an alias in the CLI.

2017-09-22 Thread klueska
Repository: mesos Updated Branches: refs/heads/master 548aaee3a -> ae89b19ff Added the ability for a plugin command to have an alias in the CLI. This will be used by future plugins. Review: https://reviews.apache.org/r/60087/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

  1   2   >