lp:~barry/cloud-init/py2-3
Created by
Barry Warsaw
and last modified
- Get this branch:
- bzr branch lp:~barry/cloud-init/py2-3
Only
Barry Warsaw
can upload to this branch. If you are
Barry Warsaw
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- cloud-init Commiters: Pending requested
-
Diff: 6414 lines (+1542/-1225)111 files modified.bzrignore (+4/-0)
MANIFEST.in (+8/-0)
cloudinit/config/cc_apt_configure.py (+1/-1)
cloudinit/config/cc_ca_certs.py (+2/-2)
cloudinit/config/cc_chef.py (+4/-2)
cloudinit/config/cc_debug.py (+4/-3)
cloudinit/config/cc_landscape.py (+1/-1)
cloudinit/config/cc_mcollective.py (+8/-7)
cloudinit/config/cc_phone_home.py (+2/-2)
cloudinit/config/cc_puppet.py (+5/-5)
cloudinit/config/cc_resolv_conf.py (+2/-2)
cloudinit/config/cc_rightscale_userdata.py (+1/-1)
cloudinit/config/cc_runcmd.py (+1/-1)
cloudinit/config/cc_salt_minion.py (+1/-1)
cloudinit/config/cc_seed_random.py (+3/-2)
cloudinit/config/cc_ssh.py (+8/-8)
cloudinit/config/cc_ssh_authkey_fingerprints.py (+1/-1)
cloudinit/config/cc_write_files.py (+3/-2)
cloudinit/config/cc_yum_add_repo.py (+4/-3)
cloudinit/distros/__init__.py (+35/-34)
cloudinit/distros/arch.py (+2/-2)
cloudinit/distros/debian.py (+1/-1)
cloudinit/distros/freebsd.py (+7/-5)
cloudinit/distros/gentoo.py (+1/-1)
cloudinit/distros/net_util.py (+1/-1)
cloudinit/distros/parsers/hostname.py (+1/-1)
cloudinit/distros/parsers/hosts.py (+1/-1)
cloudinit/distros/parsers/resolv_conf.py (+1/-1)
cloudinit/distros/parsers/sys_conf.py (+3/-2)
cloudinit/distros/rhel.py (+1/-1)
cloudinit/distros/rhel_util.py (+2/-2)
cloudinit/distros/sles.py (+2/-2)
cloudinit/ec2_utils.py (+4/-5)
cloudinit/handlers/__init__.py (+8/-6)
cloudinit/handlers/boot_hook.py (+1/-1)
cloudinit/handlers/cloud_config.py (+1/-1)
cloudinit/handlers/shell_script.py (+1/-1)
cloudinit/handlers/upstart_job.py (+1/-1)
cloudinit/helpers.py (+5/-7)
cloudinit/log.py (+4/-3)
cloudinit/mergers/__init__.py (+3/-1)
cloudinit/mergers/m_dict.py (+3/-1)
cloudinit/mergers/m_list.py (+4/-2)
cloudinit/mergers/m_str.py (+6/-4)
cloudinit/netinfo.py (+2/-2)
cloudinit/signal_handler.py (+1/-1)
cloudinit/sources/DataSourceAltCloud.py (+4/-4)
cloudinit/sources/DataSourceAzure.py (+2/-2)
cloudinit/sources/DataSourceConfigDrive.py (+2/-2)
cloudinit/sources/DataSourceDigitalOcean.py (+5/-4)
cloudinit/sources/DataSourceEc2.py (+2/-2)
cloudinit/sources/DataSourceMAAS.py (+20/-28)
cloudinit/sources/DataSourceOVF.py (+3/-3)
cloudinit/sources/DataSourceOpenNebula.py (+6/-6)
cloudinit/sources/DataSourceSmartOS.py (+12/-9)
cloudinit/sources/__init__.py (+6/-4)
cloudinit/sources/helpers/openstack.py (+6/-4)
cloudinit/ssh_util.py (+3/-3)
cloudinit/stages.py (+12/-11)
cloudinit/templater.py (+1/-1)
cloudinit/type_utils.py (+26/-6)
cloudinit/url_helper.py (+15/-7)
cloudinit/user_data.py (+6/-4)
cloudinit/util.py (+137/-64)
packages/bddeb (+1/-0)
packages/brpm (+2/-0)
requirements.txt (+4/-2)
setup.py (+10/-4)
templates/resolv.conf.tmpl (+1/-1)
tests/unittests/helpers.py (+60/-45)
tests/unittests/test__init__.py (+115/-125)
tests/unittests/test_builtin_handlers.py (+26/-17)
tests/unittests/test_cs_util.py (+29/-10)
tests/unittests/test_data.py (+84/-69)
tests/unittests/test_datasource/test_altcloud.py (+3/-3)
tests/unittests/test_datasource/test_azure.py (+47/-51)
tests/unittests/test_datasource/test_cloudsigma.py (+1/-0)
tests/unittests/test_datasource/test_configdrive.py (+59/-45)
tests/unittests/test_datasource/test_digitalocean.py (+3/-4)
tests/unittests/test_datasource/test_gce.py (+2/-2)
tests/unittests/test_datasource/test_maas.py (+50/-32)
tests/unittests/test_datasource/test_nocloud.py (+29/-34)
tests/unittests/test_datasource/test_opennebula.py (+13/-10)
tests/unittests/test_datasource/test_openstack.py (+3/-4)
tests/unittests/test_datasource/test_smartos.py (+15/-9)
tests/unittests/test_distros/test_generic.py (+4/-2)
tests/unittests/test_distros/test_hostname.py (+2/-2)
tests/unittests/test_distros/test_hosts.py (+2/-2)
tests/unittests/test_distros/test_netconfig.py (+123/-160)
tests/unittests/test_distros/test_resolv.py (+2/-3)
tests/unittests/test_distros/test_sysconfig.py (+2/-3)
tests/unittests/test_distros/test_user_data_normalize.py (+4/-3)
tests/unittests/test_filters/test_launch_index.py (+3/-5)
tests/unittests/test_handler/test_handler_apt_configure.py (+16/-13)
tests/unittests/test_handler/test_handler_ca_certs.py (+162/-128)
tests/unittests/test_handler/test_handler_chef.py (+6/-2)
tests/unittests/test_handler/test_handler_debug.py (+4/-1)
tests/unittests/test_handler/test_handler_growpart.py (+67/-57)
tests/unittests/test_handler/test_handler_locale.py (+7/-4)
tests/unittests/test_handler/test_handler_seed_random.py (+7/-8)
tests/unittests/test_handler/test_handler_set_hostname.py (+7/-4)
tests/unittests/test_handler/test_handler_timezone.py (+7/-4)
tests/unittests/test_handler/test_handler_yum_add_repo.py (+8/-4)
tests/unittests/test_merging.py (+9/-7)
tests/unittests/test_pathprefix2dict.py (+10/-6)
tests/unittests/test_runs/test_merge_run.py (+5/-3)
tests/unittests/test_runs/test_simple_run.py (+6/-5)
tests/unittests/test_templating.py (+21/-0)
tests/unittests/test_util.py (+43/-32)
tools/ccfg-merge-debug (+2/-2)
tox.ini (+23/-0)
Branch information
Recent revisions
- 1085. By Barry Warsaw
-
Respond to review:
- Refactor "fully" decoding the payload of a text/* part. In Python 3,
decode=True only means to decode according to Content-Transfer- Encoding, not
according to any charset in the Content-Type header. So do that. - 1084. By Barry Warsaw
-
Respond to review:
- Refactor both the base64 encoding and decoding into utility functions.
Also:
- Mechanically fix some other broken untested code.
- 1083. By Barry Warsaw
-
Respond to review:
- Just use util.load_file() instead of yet another way to open and read the
file. - 1080. By Barry Warsaw
-
Respond to review:
- Remove str() wrappers to second argument to write_files() where it is no
longer necessary.Also: Fixed a couple of other octal literals which clearly weren't being
tested.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk