Bug 1044165 - API: Provide login and token information in the same form as entered to ~/.config-copr
Summary: API: Provide login and token information in the same form as entered to ~/.co...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 21:36 UTC by Miro Hrončok
Modified: 2014-02-06 08:32 UTC (History)
0 users

Fixed In Version: copr-1.20-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-06 08:32:00 UTC


Attachments (Terms of Use)

Description Miro Hrončok 2013-12-17 21:36:54 UTC
Description of problem:

When I want to obtaiin token and login for copr-cli, I would like to go to copr.url/api and copy the entire section of the config file. Then just paste it into the config.

Steps to reproduce:

1. Log in to Copr
2. Visit http://copr.fedoraproject.org/api/

Actual results:

    API login       :   aaaa
    API token       :   bbbb
    Expiration date :   2014-06-15

Expected results:

[copr-cli]
username = your_username_goes_here
login = aaaa
token = bbbb
# expires = 2014-06-15

Additional info:

Not sure if # works as comment in copr config.

Comment 1 Miroslav Suchý 2013-12-18 08:34:12 UTC
Done in commit 230f923.

Comment 2 Miro Hrončok 2014-01-09 12:40:05 UTC
fixed, thanks :)


Note You need to log in before you can comment on or make changes to this bug.