[Buildbot-commits] [Buildbot] #2130: PBChangesource passwd code example is wrong

Buildbot nobody at buildbot.net
Thu Oct 13 20:49:43 UTC 2011


#2130: PBChangesource passwd code example is wrong
---------------------------+-----------------------------------
Reporter:  joshua.clayton  |      Owner:
    Type:  defect          |     Status:  new
Priority:  major           |  Milestone:  undecided
 Version:  master          |   Keywords:  manual PBChangesource
---------------------------+-----------------------------------
 In at least the 0.8.5 and latest buildbot manual,
 Change source, PBChangesoure section
 http://buildbot.net/buildbot/docs/0.8.5/manual/cfg-changesources.html
 #chsrc-PBChangeSource
 there is a code example that reads:

 {{{
 #!python
 from buildbot.changes import pb
 c['changes'] = pb.PBChangeSource(port=9999, user='laura', password='fpga')
 }}}

 "password" should be "passwd"

 Also (though less important) the whole section would be less confusing if
 passwd had its own very short entry instead of being listed as 'user and
 passwd', which makes it look like they are one kw. It was this confusion
 that led me to copy the code example in the first place.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2130>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list