Branch: refs/heads/pw_redesign Home: https://github.com/openSUSE/osc 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: 4feeabb4babb263a8389cdf9f77851a5b99498d0 https://github.com/openSUSE/osc/commit/4feeabb4babb263a8389cdf9f77851a5b9949... 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 * 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: e3afbcee0b5035f0dfed7cf2034d4f8c8ea14d6b https://github.com/openSUSE/osc/commit/e3afbcee0b5035f0dfed7cf2034d4f8c8ea14... 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.
Compare: https://github.com/openSUSE/osc/compare/6f40453a0bb8...e3afbcee0b50
obs-commits@lists.opensuse.org