Closed Bug 1253109 Opened 8 years ago Closed 8 years ago

Bugzilla API key URLs incorrect

Categories

(MozReview Graveyard :: Integration: Mercurial, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Unassigned)

Details

Attachments

(1 file)

A few places in version-control-tools we are advertising https://mozilla-version-control-tools.readthedocs.org/en/latest/mozreview/install.html#bugzilla-credentials. This anchor no longer exists and the URL should be updated.
Assignee: nobody → mcote
Status: NEW → ASSIGNED
Comment on attachment 8748445 [details]
MozReview Request: hgext: Update reference to docs on MozReview credentials (bug 1253109); r?gps

https://reviewboard.mozilla.org/r/50293/#review47275

::: hgext/reviewboard/hgrb/proto.py:26
(Diff revision 1)
>  from hgrb.util import ReviewID
>  
>  
>  API_KEY_NEEDED = (
>      'Bugzilla API keys are now used by MozReview; '
> -    'see https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#bugzilla-credentials '
> +    'see http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#obtaining-accounts-credentials-and-privileges '

You dropped https://

::: hgext/reviewboard/hgrb/proto.py:208
(Diff revision 1)
>      bzusername = req.get('bzusername')
>      bzapikey = req.get('bzapikey')
>  
>      if not bzusername or not bzapikey:
>          return errorresponse('Bugzilla API keys not configured; see '
> -            'https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#bugzilla-credentials '
> +            'http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#obtaining-accounts-credentials-and-privileges '

Ditto.

::: hgext/reviewboard/tests/test-auth.t:40
(Diff revision 1)
>    $ hg --config bugzilla.userid=baduserid --config bugzilla.cookie=irrelevant --config bugzilla.apikey= push
>    pushing to ssh://$DOCKER_HOSTNAME:$HGPORT6/test-repo
>    searching for changes
>    no changes found
>    submitting 1 changesets for review
> -  abort: Bugzilla API keys not configured; see https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#bugzilla-credentials for instructions on how to configure your client
> +  abort: Bugzilla API keys not configured; see http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#obtaining-accounts-credentials-and-privileges for instructions on how to configure your client

Ditto.

::: hgext/reviewboard/tests/test-auth.t:50
(Diff revision 1)
>    $ hg --config bugzilla.username=unknown --config bugzilla.apikey=irrelevant push
>    pushing to ssh://$DOCKER_HOSTNAME:$HGPORT6/test-repo
>    searching for changes
>    no changes found
>    submitting 1 changesets for review
> -  abort: Bugzilla API keys are now used by MozReview; see https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#bugzilla-credentials for instructions on how to configure your client
> +  abort: Bugzilla API keys are now used by MozReview; see http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#obtaining-accounts-credentials-and-privileges for instructions on how to configure your client

Ditto.

::: hgext/reviewboard/tests/test-auth.t:65
(Diff revision 1)
>    $ hg --config bugzilla.username=apikey1@example.com --config bugzilla.apikey=badkey push
>    pushing to ssh://$DOCKER_HOSTNAME:$HGPORT6/test-repo
>    searching for changes
>    no changes found
>    submitting 1 changesets for review
> -  abort: Bugzilla API keys are now used by MozReview; see https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#bugzilla-credentials for instructions on how to configure your client
> +  abort: Bugzilla API keys are now used by MozReview; see http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html#obtaining-accounts-credentials-and-privileges for instructions on how to configure your client

Ditto.
Attachment #8748445 - Flags: review?(gps) → review+
https://reviewboard.mozilla.org/r/50293/#review47275

> You dropped https://

Good catch, thanks!
Comment on attachment 8748445 [details]
MozReview Request: hgext: Update reference to docs on MozReview credentials (bug 1253109); r?gps

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/50293/diff/1-2/
https://hg.mozilla.org/hgcustom/version-control-tools/rev/41419e3f0fe2
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: