Closed Bug 1132111 Opened 9 years ago Closed 9 years ago

bzpost does not post in the bug comments when calling `hg push` and using cookie credentials

Categories

(Developer Services :: Mercurial: bzpost, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1122513

People

(Reporter: mcomella, Unassigned)

References

Details

Attachments

(1 file)

But it used to.

Some details:
  * My bugzilla credentials (with user ID and cookie) are in <path-to-fx-team>/.hg/hgrc.
  * Formerly my credentials were just a username (no password) and were in my ~/.hgrc
  * When changing where my credentials were placed, I did it in a separate clone of fx-team and have started working primarily out of that (additionally, switched over to using bookmarks but I imagine that should not affect the process here)
  * bzpost is activated in my ~/.hgrc:

[extensions]                                                                    
bzexport = /home/mcomella/.mozbuild/version-control-tools/hgext/bzexport        
bzpost = /home/mcomella/.mozbuild/version-control-tools/hgext/bzpost

I have cd'd in there to confirm it exists.
  * I've noticed the bzpost docs don't mention using the cookie for your bugzilla credentials (and mention password) but it looks like it imports a separate module (which I assume has been updated)
I used my username in my ~/.hgrc (commenting out my credentials and the bugzilla header in <fx-team>/.hg/hgrc and I was prompted for my password, as expected.

I will try using username credentials in my <fx-team>/.hg/hgrc next.
(In reply to Michael Comella (:mcomella) from comment #1)
> I will try using username credentials in my <fx-team>/.hg/hgrc next.

This worked:

https://bugzilla.mozilla.org/show_bug.cgi?id=1106935#c32

I will try cookie credentials in my ~/.hgrc.
(In reply to Michael Comella (:mcomella) from comment #2)
> I will try cookie credentials in my ~/.hgrc.

This did not work. Manually entered the url in:

https://bugzilla.mozilla.org/show_bug.cgi?id=1127613#c6

Also, verified my cookie credentials are correct (by visual examination). What other services use the bugzilla credentials that I can test against?

I'm guessing the issue here is that bzpost does not work when using cookie credentials (or my credentials are invalid, but then I should probably be prompted as such).
Summary: bzpost does not post in the bug comments when calling `hg push` → bzpost does not post in the bug comments when calling `hg push` and using cookie credentials
Depends on: 1134800
Also doesn't work with try builds.
Dupe of the just-resolved bug 1122513. Pull and update version-control-tools for this to work.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: