~aixtools/cloud-init:hash-bang

Last commit made on 2017-01-25
Get this branch:
git clone -b hash-bang https://git.launchpad.net/~aixtools/cloud-init
Only Michael Felt can upload to this branch. If you are Michael Felt please log in for upload directions.

Branch merges

Branch information

Name:
hash-bang
Repository:
lp:~aixtools/cloud-init

Recent commits

a02c005... by Michael Felt

Merge branch 'hash-bang' of ssh://git.launchpad.net/~aixtools/cloud-init into hash-bang

ee519d8... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For tools that are intended to be executed make sure python2 is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using #!/usr/bin/env - this only makes
the style uniform - and updates the docs with this convention

4c82f72... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For tools that are intended to be executed make sure python2 is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using #!/usr/bin/env - this only makes
the style uniform - and updates the docs with this convention
Note: python2 is being specified. As tools are verified to run
regardless of version - this could be changed to python

06e184a... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For files that are intended to be executed make sure python is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using this convention - this only makes
the style uniform - and updates the docs with this convention

1ef3f48... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For tools that are intended to be executed make sure python2 is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using #!/usr/bin/env - this only makes
the style uniform - and updates the docs with this convention
Note: python2 is being specified for one tool that is not yet python3 ready

dc6e7b4... by Scott Moser

tools/mock-meta: support python2 or python3 and ipv6 in both.

Fix mock-meta to work with python2 or python3.
Additionally, it will now listen to ipv6 connections, where
previously it would only work with ipv4.

4588c65... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For tools that are intended to be executed make sure python2 is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using #!/usr/bin/env - this only makes
the style uniform - and updates the docs with this convention
Note: python2 is being specified. As tools are verified to run
regardless of version - this could be changed to python

c519025... by Michael Felt

behavior: Use #!/usr/bin/env python to call python

For files that are intended to be executed make sure python is called
via the current environment rather than expect the correct python to
always be located at /usr/bin/python.
Note: several tools were already using this convention - this only makes
the style uniform - and updates the docs with this convention

65e01b4... by Scott Moser

tests: remove executable bit on test_net, so it runs, and fix it.

The test_user_data_normalize and test_net files had gotten
the executable bit set, and thus are skipped by nose by default.
We could set run with the --exe flag, but they should not have
gotten this way.

Other changes here:
 * replace TempDirTestCase with CiTestCase, which has some nice
   tmp_dir() and tmp_path() functions. Going forward the intent
   is to have CiTestCase be the base test case for tests.
 * test_net: switch to CiTestCase and fix usage that was
   silently broken, because of exe bit.
 * populate_dir: return the list of files that it writes rather
   than having no return value.
 * CiTestCase:
    * support tmp_path("foo") that returns a full path to 'foo'
      under a tmpdir.
    * add tmp_dir() to get a temp dir and clean up.

8e9e47f... by Scott Moser

tests: No longer monkey patch httpretty for python 3.4.2

No shipping ubuntu has a python 3.4 that is less than 3.4.2.
Remove this workaround to avoid unnecessary complexity.

This reverts 04a60cf949.