Merge lp:~thekorn/launchpadlib/fix.270393.verbose.credentials into lp:launchpadlib
Status: | Rejected |
---|---|
Rejected by: | j.c.sackett |
Proposed branch: | lp:~thekorn/launchpadlib/fix.270393.verbose.credentials |
Merge into: | lp:launchpadlib |
Diff against target: |
158 lines (+112/-0) (has conflicts) 2 files modified
src/launchpadlib/credentials.py (+93/-0) src/launchpadlib/launchpad.py (+19/-0) Text conflict in src/launchpadlib/credentials.py Text conflict in src/launchpadlib/launchpad.py |
To merge this branch: | bzr merge lp:~thekorn/launchpadlib/fix.270393.verbose.credentials |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Needs Fixing | ||
Review via email: mp+77680@code.launchpad.net |
Description of the change
From bug 270393: (probably needs updating for launchpadlib changes)
I have different credential files for different applications and access level on my system, they look like
[1]
consumer_secret =
access_token = abcdef
consumer_key = launchpadfs
access_secret = xxxxxxxxxxxxxxx
and I'm often asking myself which launchpad service I can access on which level with credentials created by loading this file.
So it would be nice to have extra values like
service_root = https:/
access_level = read_public
and make the accessible like:
>>> credentials = Credentials()
>>> credentials.
>>> credentials.
'https:/
>>> credentials.
'read_public'
Markus
Unmerged revisions
- 32. By Markus Korn
-
* added Credentials.
service_ root. This way it is easier to discover the
usage of a certain file of credentials. This is a first step of fixing
(LP: #270393)
I'm seeing conflicts in this code.