{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/pierone/issues/63","labels_url":"https://api.github.com/repos/zalando-stups/pierone/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/pierone/issues/63/comments","events_url":"https://api.github.com/repos/zalando-stups/pierone/issues/63/events","html_url":"https://github.com/zalando-stups/pierone/issues/63","id":121589804,"number":63,"title":"Pierone ","user":{"login":"kanuku","id":4045639,"avatar_url":"https://avatars.githubusercontent.com/u/4045639?v=3","gravatar_id":"","url":"https://api.github.com/users/kanuku","html_url":"https://github.com/kanuku","followers_url":"https://api.github.com/users/kanuku/followers","following_url":"https://api.github.com/users/kanuku/following{/other_user}","gists_url":"https://api.github.com/users/kanuku/gists{/gist_id}","starred_url":"https://api.github.com/users/kanuku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanuku/subscriptions","organizations_url":"https://api.github.com/users/kanuku/orgs","repos_url":"https://api.github.com/users/kanuku/repos","events_url":"https://api.github.com/users/kanuku/events{/privacy}","received_events_url":"https://api.github.com/users/kanuku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T22:18:15Z","updated_at":"2015-12-10T22:23:30Z","closed_at":null,"body":"I can't list the artifacts in my teams namespace!\r\n\r\n```sh\r\n§ pierone artifacts cd\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/pierone\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/lib/python3.5/site-packages/pierone/cli.py\", line 268, in main\r\n    cli()\r\n  File \"/usr/local/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/site-packages/click/decorators.py\", line 27, in new_func\r\n    return f(get_current_context().obj, *args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/site-packages/pierone/cli.py\", line 145, in artifacts\r\n    result = get_artifacts(config.get('url'), team, token)\r\n  File \"/usr/local/lib/python3.5/site-packages/pierone/cli.py\", line 126, in get_artifacts\r\n    r = request(url, '/teams/{}/artifacts'.format(team), access_token)\r\n  File \"/usr/local/lib/python3.5/site-packages/pierone/api.py\", line 82, in request\r\n    headers={'Authorization': 'Bearer {}'.format(access_token)}, timeout=10)\r\n  File \"/usr/local/lib/python3.5/site-packages/requests/sessions.py\", line 480, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"/usr/local/lib/python3.5/site-packages/requests/sessions.py\", line 454, in request\r\n    prep = self.prepare_request(req)\r\n  File \"/usr/local/lib/python3.5/site-packages/requests/sessions.py\", line 388, in prepare_request\r\n    hooks=merge_hooks(request.hooks, self.hooks),\r\n  File \"/usr/local/lib/python3.5/site-packages/requests/models.py\", line 293, in prepare\r\n    self.prepare_url(url, params)\r\n  File \"/usr/local/lib/python3.5/site-packages/requests/models.py\", line 353, in prepare_url\r\n    raise MissingSchema(error)\r\nrequests.exceptions.MissingSchema: Invalid URL 'pierone.stups.zalan.do/teams/cd/artifacts': No schema supplied. Perhaps you meant http://[closed-pierone-registry]/teams/cd/artifacts?\r\n ```"},"comment":{"url":"https://api.github.com/repos/zalando-stups/pierone/issues/comments/163766789","html_url":"https://github.com/zalando-stups/pierone/issues/63#issuecomment-163766789","issue_url":"https://api.github.com/repos/zalando-stups/pierone/issues/63","id":163766789,"user":{"login":"hjacobs","id":510328,"avatar_url":"https://avatars.githubusercontent.com/u/510328?v=3","gravatar_id":"","url":"https://api.github.com/users/hjacobs","html_url":"https://github.com/hjacobs","followers_url":"https://api.github.com/users/hjacobs/followers","following_url":"https://api.github.com/users/hjacobs/following{/other_user}","gists_url":"https://api.github.com/users/hjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/hjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjacobs/subscriptions","organizations_url":"https://api.github.com/users/hjacobs/orgs","repos_url":"https://api.github.com/users/hjacobs/repos","events_url":"https://api.github.com/users/hjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/hjacobs/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T22:23:30Z","updated_at":"2015-12-10T22:23:30Z","body":"Yes, this is bad behavior of our Pier One CLI, in this case, please do:\r\n\r\n```bash\r\n$ pierone login --url https://pierone.example.org\r\n$ pierone artifacts myteam"}}