charm-mongodb:master

Last commit made on 2023-02-03
Get this branch:
git clone -b master https://git.launchpad.net/charm-mongodb
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:charm-mongodb

Recent commits

cf3987d... by Samuel Allan

Fix changing mongodb port

Mongo client needs to be passed the port from config,
otherwise it will always default to 27017.

Also retrieving the mongodb version from the config-changed hook
must use the port of the currently running instance,
rather than the port from config,
because the port in config may have been updated.

Other unrelated changes are a result of `tox -e black` formatting,
required to fix the lint check.

Closes-Bug: #2003763

Reviewed-on: https://code.launchpad.net/~swalladge/charm-mongodb/+git/charm-mongodb/+merge/436737
Reviewed-by: Erhan Sunar <email address hidden>
Reviewed-by: Mert Kirpici <email address hidden>
Reviewed-by: prod-jenkaas-bootstack <email address hidden>

6aaf5ad... by Samuel Allan

Fix changing mongodb port

Mongo client needs to be passed the port from config,
otherwise it will always default to 27017.

Also retrieving the mongodb version from the config-changed hook
must use the port of the currently running instance,
rather than the port from config,
because the port in config may have been updated.

Other unrelated changes are a result of `tox -e black` formatting,
required to fix the lint check.

Closes-Bug: #2003763

892812a... by Mert Kirpici

Close LP #1998094

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-mongodb/+git/charm-mongodb/+merge/433727
Reviewed-by: Erhan Sunar <email address hidden>
Reviewed-by: prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Ramesh Sattaru <email address hidden>

4e13774... by Mert Kirpici

tox: move flake8 config comments to new line

flake8 6.0.0 does not like it when the inline comments are on the same
line as the ignored rule.

Works-on: 1998094
Signed-off-by: Mert K覺rp覺c覺 <email address hidden>

d0ccbd7... by Mert Kirpici

hooks.py: refactor pid and config file getting code

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-mongodb/+git/charm-mongodb/+merge/427994
Reviewed-by: Eric Chen <email address hidden>

a227782... by Mert Kirpici

hooks.py: refactor pid and config file getting code

Introduce two utility functions for getting the pid and config files
depending on percona or not.

Signed-off-by: Mert K覺rp覺c覺 <email address hidden>

8b17446... by Paulo Machado

avoid legal issues

Reviewed-on: https://code.launchpad.net/~paulomachado/charm-mongodb/+git/charm-mongodb/+merge/427746
Reviewed-by: Eric Chen <email address hidden>

bfbb97a... by Paulo Machado

avoid legal issues

7f558f3... by Sudeep Bhandari

fixed a broken link in README

2e7c2f4... by Xav Paice

Updates for compliance with MongoDB trademark.

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-mongodb/+git/charm-mongodb/+merge/416980
Reviewed-by: James Troup <email address hidden>
Reviewed-by: prod-jenkaas-bootstack <email address hidden>