On Mon, Jun 27, 2016 at 1:28 PM, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 27 June 2016 at 18:18, Pranith Kumar <bobby.pr...@gmail.com> wrote:
>> On Mon, Jun 27, 2016 at 1:16 PM, Peter Maydell <peter.mayd...@linaro.org> 
>> wrote:
>>>>
>>>> +branches:
>>>> +  only:
>>>> +    - master
>>>
>>> Does this mean "only main qemu repo master does notifications",
>>> or just "only the 'master' branch for any qemu repo does
>>> notifications" ?
>>>
>>
>> This does the later. If we prefer the former, we need to encrypt the
>> IRC channel as suggested in:
>> https://github.com/facebook/flow/pull/1822
>
> I think we want the former, but I can't figure out what that
> link is suggesting actually needs to be done.
>

The idea is to encrypt "irc.oftc.net#qemu" against "qemu/qemu" to
generate an ecrypted string like follows:

$ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"

This creates a value which will be properly decrypted only for commits
to branches on "qemu/qemu" repository and will be garbage for other
forked repositories. So the travis bot will only log the desired
notifications.

I will send in a patch which does this.

Thanks,
-- 
Pranith

Reply via email to