~ballot/apache2-charm:lp1863860

Last commit made on 2020-02-19
Get this branch:
git clone -b lp1863860 https://git.launchpad.net/~ballot/apache2-charm
Only Benjamin Allot can upload to this branch. If you are Benjamin Allot please log in for upload directions.

Branch merges

Branch information

Name:
lp1863860
Repository:
lp:~ballot/apache2-charm

Recent commits

03e4413... by Benjamin Allot

Fix tests with recent modifications

880d09b... by Benjamin Allot

Fix bad call to re.split and add the same logic for purge

989f360... by Benjamin Allot

Add gitignore file

e4a6d41... by Benjamin Allot

Fix extra_packages config when used with several packages

Reviewed-on: https://code.launchpad.net/~ballot/apache2-charm/+git/apache2-charm/+merge/379451
Reviewed-by: Tom Haddon <email address hidden>

a97cf60... by Benjamin Allot

Fix extra_packages config when used with several packages

The parameter can now accept either a space or a comma separated string
with several packages

a562217... by Paul Collins

revert to python2.7

Reviewed-on: https://code.launchpad.net/~pjdc/apache2-charm/+git/apache2-charm/+merge/374493
Reviewed-by: Haw Loeung <email address hidden>

81457a2... by Paul Collins

revert to python2.7

The bundled charm-helpers doesn't support Python 3, but even
when it's updated it reveals that the core code needs work too,
e.g. ensure_package_status:

  File "/var/lib/juju/agents/unit-apache2-0/charm/hooks/upgrade-charm", line 70, in ensure_package_status
    dpkg.communicate(input=selections)
  File "/usr/lib/python3.6/subprocess.py", line 848, in communicate
    self._stdin_write(input)
  File "/usr/lib/python3.6/subprocess.py", line 801, in _stdin_write
    self.stdin.write(input)
TypeError: a bytes-like object is required, not 'str'

289578c... by Paul Collins

document configuration values

Reviewed-on: https://code.launchpad.net/~pjdc/apache2-charm/+git/apache2-charm/+merge/374412
Reviewed-by: Joel Sing <email address hidden>

8330d2f... by Paul Collins

fix indentation, and address revew comments

15c65d2... by Paul Collins

document configuration values