Ticket #1712 (closed defect: fixed)
hgbuildbot needs to learn sendchange authentication
| Reported by: | dustin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.4 |
| Version: | 0.8.2 | Keywords: | hg |
| Cc: | mark@… |
Description
This should be a simple matter of adding some parameters to the class. Currently it uses the default auth ('change'/'changepw').
Change History
comment:2 follow-up: ↓ 3 Changed 2 years ago by dustin
mjw, is this something you can work on, or just an interest? We don't have a current Mercurial maintainer.
comment:4 Changed 2 years ago by mjw
Testing the following patch:
-
buildbot/changes/hgbuildbot.py
old new 74 74 stripcount = int(ui.config('notify','strip') or ui.config('hgbuildbot','strip',3)) 75 75 category = ui.config('hgbuildbot', 'category', None) 76 76 project = ui.config('hgbuildbot', 'project', '') 77 auth = ui.config('hgbuildbot', 'auth', None) 77 78 else: 78 79 ui.write("* You must add a [hgbuildbot] section to .hg/hgrc in " 79 80 "order to use buildbot hook
comment:6 in reply to: ↑ 5 Changed 2 years ago by mjw
Replying to dustin:
how is the patch working out?
It works for me. I'll try and clean it up and add some documentation for a real patch submission.
comment:7 Changed 2 years ago by mjw
Created a patch plus some documentation. https://github.com/buildbot/buildbot/pull/47
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)