[obs-commits] [openSUSE/osc] 428a81: Refactor config setup dialog
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 428a81e4511fd565612c27597fb64050726fa13d https://github.com/openSUSE/osc/commit/428a81e4511fd565612c27597fb64050726fa... Author: lethliel <mstrigl@suse.com> Date: 2019-08-26 (Mon, 26 Aug 2019) Changed paths: M osc/commandline.py M osc/conf.py Log Message: ----------- Refactor config setup dialog Move logic to conf module in new function interactive_config_setup for new config file and missing apiurl section. Dropped keyring code, because it was never used in write_initial_config() Commit: 7c01399a4a6f581d8e2843f76bd9e8283423935d https://github.com/openSUSE/osc/commit/7c01399a4a6f581d8e2843f76bd9e82834239... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2019-08-27 (Tue, 27 Aug 2019) Changed paths: M osc/conf.py Log Message: ----------- Deprecate the "plaintext_passwd" config option The upcoming credentials manager abstraction supersedes the old plaintext_passwd behavior. This commits "breaks" the old behavior: Passwords are not rewritten anymore (plaintext <-> obfuscated) Commit: c9d85ac248487c79acdfca0bfe4fcd5b0e64b2eb https://github.com/openSUSE/osc/commit/c9d85ac248487c79acdfca0bfe4fcd5b0e64b... Author: lethliel <mstrigl@suse.com> Date: 2019-08-27 (Tue, 27 Aug 2019) Changed paths: M osc/core.py M osc/util/helper.py Log Message: ----------- move raw_input function to helper module Commit: eb3a3ef0ec20de7015ad5ba35af090ca15518569 https://github.com/openSUSE/osc/commit/eb3a3ef0ec20de7015ad5ba35af090ca15518... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/conf.py A osc/credentials.py Log Message: ----------- Introduction of new credential management * new module credentials.py which contains classes and methods to set and get passwords for different backends: - python-keyring - gnomekeyring - ConfigFile based storage The new code should be backward compatible except a minor change in add_section (pass and passx are not removed from the config parser). This affects only callers that do not pass a creds_mgr_descriptor. On initial osc call or initial osc call on new API Url the user now can decide where to store the password (based on the backends available on his system) Commit: abf206fa0d24e4848b4bf74a320eca0f57e89071 https://github.com/openSUSE/osc/commit/abf206fa0d24e4848b4bf74a320eca0f57e89... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/conf.py M osc/credentials.py Log Message: ----------- New credentials backend (Transient store) New backend to not store the password and ask for it every time. Commit: 629ab25a0e836a640e05c7621a06db37820e0e6a https://github.com/openSUSE/osc/commit/629ab25a0e836a640e05c7621a06db37820e0... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/conf.py Log Message: ----------- Remove check for GNOME_DESKTOP_SESSION_ID It was removed from GNOME with this commit: https://gitlab.gnome.org/GNOME/gnome-session/commit/6bf47ad8c6f0a513c95a5043... Commit: 36ec0c48d4c327236e0182de2e7650624cbe5c90 https://github.com/openSUSE/osc/commit/36ec0c48d4c327236e0182de2e7650624cbe5... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/conf.py M tests/suite.py R tests/test_conf.py Log Message: ----------- Remove passx encode/decode functions from conf.py They are no longer needed with the new CredentialsManagers Commit: cba4b58bbe5e46326bb96eef571f0758c74eb537 https://github.com/openSUSE/osc/commit/cba4b58bbe5e46326bb96eef571f0758c74eb... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/commandline.py M osc/conf.py M osc/oscerr.py Log Message: ----------- Improve password handling * Adapt do_config to use the new credentials manager implementation and add a --change-password option which can be used to change the password. * Adapt config_set_option to follow the change in do_config. * Split selection of the credentials manager descriptor to reuse it in do_config and interactive_config_setup. * Introduce new ConfigMissingCredentialsError which is raised in case of missing credentials (user or password). In this case the user will be asked to enter the new credentials. Commit: 3ba02b9cec58e3a50d8cff44356a5dfbd9658179 https://github.com/openSUSE/osc/commit/3ba02b9cec58e3a50d8cff44356a5dfbd9658... Author: lethliel <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/conf.py Log Message: ----------- Refactor user extraction Implement _extract_user_compat() for gnomekeyring special case. Commit: e8d9fb52f6b18926ed20fb7712916e9e63070cba https://github.com/openSUSE/osc/commit/e8d9fb52f6b18926ed20fb7712916e9e63070... Author: Marco Strigl <mstrigl@suse.com> Date: 2019-08-29 (Thu, 29 Aug 2019) Changed paths: M osc/commandline.py M osc/conf.py M osc/core.py A osc/credentials.py M osc/oscerr.py M osc/util/helper.py M tests/suite.py R tests/test_conf.py Log Message: ----------- Merge pull request #625 from openSUSE/pw_redesign Password handling redesign Compare: https://github.com/openSUSE/osc/compare/dbed74a13fe7...e8d9fb52f6b1
participants (1)
-
Marco Strigl