You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-dev@apache.org by Marvin Humphrey <ma...@rectangular.com> on 2014/02/06 13:47:32 UTC

GitHub pull request comments

Greets,

It seems to me that multiple projects would appreciate being able to use
GitHub's interface for commenting on pull requests as a channel for dev
discussions.  Would it be feasible to capture pull request comments via the
GitHub API and shunt them to Apache dev lists **with no information loss**?
If so could we bless pull request comments as an official channel?

    http://developer.github.com/v3/pulls/

    The Pull Request API allows you to list, view, edit, create, and even
    merge pull requests. Comments on pull requests can be managed via the
    Issue Comments API.

    http://developer.github.com/v3/issues/comments/

    The Issue Comments API supports listing, viewing, editing, and creating
    comments on issues and pull requests.

The experience could be not unlike many Apache dev lists today which are 90%
JIRA notifications (for better or worse).

I suppose the slippery slope here leads to asking Infra to support GitHub's
issue tracking in addition to JIRA and Bugzilla, and then eventually
integration with all aspects of the GitHub development experience.  I'd prefer
to limit the scope of this thread to pull request comments, but the
possibility of getting sucked in has to be acknowledged.

I reckon we could scare up enough volunteer developer energy from various
projects to make the pull request hooks happen now, but long term maintenance
costs would probably fall on Infra, which is obviously a concern.

Marvin Humphrey

Re: GitHub pull request comments

Posted by Matthias Wessendorf <ma...@apache.org>.
On Thu, Feb 6, 2014 at 1:47 PM, Marvin Humphrey <ma...@rectangular.com>wrote:

> Greets,
>
> It seems to me that multiple projects would appreciate being able to use
> GitHub's interface for commenting on pull requests as a channel for dev
> discussions.  Would it be feasible to capture pull request comments via the
> GitHub API and shunt them to Apache dev lists **with no information loss**?
>

sounds like a good idea, to me

-M



> If so could we bless pull request comments as an official channel?
>
>     http://developer.github.com/v3/pulls/
>
>     The Pull Request API allows you to list, view, edit, create, and even
>     merge pull requests. Comments on pull requests can be managed via the
>     Issue Comments API.
>
>     http://developer.github.com/v3/issues/comments/
>
>     The Issue Comments API supports listing, viewing, editing, and creating
>     comments on issues and pull requests.
>
> The experience could be not unlike many Apache dev lists today which are
> 90%
> JIRA notifications (for better or worse).
>
> I suppose the slippery slope here leads to asking Infra to support GitHub's
> issue tracking in addition to JIRA and Bugzilla, and then eventually
> integration with all aspects of the GitHub development experience.  I'd
> prefer
> to limit the scope of this thread to pull request comments, but the
> possibility of getting sucked in has to be acknowledged.
>
> I reckon we could scare up enough volunteer developer energy from various
> projects to make the pull request hooks happen now, but long term
> maintenance
> costs would probably fall on Infra, which is obviously a concern.
>
> Marvin Humphrey
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: GitHub pull request comments

Posted by Daniel Gruno <ru...@cord.dk>.
On 02/06/2014 07:05 PM, Marvin Humphrey wrote:
> On Thu, Feb 6, 2014 at 6:21 AM, Daniel Gruno <ru...@cord.dk> wrote:
> 
>> I'll let you know when I have a better working system in action :)
> 
> That's great to hear.  For the record I'm still wary of the long term
> impact on Infra for maintaining GitHub integration, and on our ability
> to guarantee that we capture everything without information loss from
> a commercial service we do not control (as opposed to a piece of
> software we run on our own hardware).  

Let me be very clear: This is a *CONVENIENCE* service we will provide
(if we can get it to work properly), not in any way a service that takes
the responsibility off the respective PMC. _We_ will do our best to pull
in GitHub stuff to the ML, but the ultimate responsibility for record
keeping will _always_ be in the hands of the _PMC_. If a project is
silly enough to think that they can cast votes on GitHub (or whatever)
and expect everything to get captured, that is 100% on them when shit
hits the fan, NOT infra.

Perhaps we should start considering making some specific GitHub/off-site
guidelines? (or, we can call them something else, but you know what I
mean). It seems that not all projects really get how to produce open
source software within an organization/foundation, and just shift the
blame on infra when things go bad.


But we can have those
> conversations over time.
> 
> Marvin Humphrey
> 

With regards,
Daniel.

Re: GitHub pull request comments

Posted by Marvin Humphrey <ma...@rectangular.com>.
On Thu, Feb 6, 2014 at 6:21 AM, Daniel Gruno <ru...@cord.dk> wrote:

> I'll let you know when I have a better working system in action :)

That's great to hear.  For the record I'm still wary of the long term
impact on Infra for maintaining GitHub integration, and on our ability
to guarantee that we capture everything without information loss from
a commercial service we do not control (as opposed to a piece of
software we run on our own hardware).  But we can have those
conversations over time.

Marvin Humphrey

Re: GitHub pull request comments

Posted by Daniel Gruno <ru...@cord.dk>.
It's being worked on, bug it's still in the "where'd that bug come from?
why is this stuff exiting for no reason?! :C" phase.

What we are quietly working on works like this:

- comments from github goes to your dev@ list.
- someone replies to that dev list about the comment (top post!!),
  and that reply gets put on github by our system (thus, it exists both
  on github and on the ML, for sake of record keeping).

At the moment, I'm working with CouchDB on this system, and it soooort
of works, but it's not complete yet.

I'll let you know when I have a better working system in action :)

With regards,
Daniel.

On 02/06/2014 01:47 PM, Marvin Humphrey wrote:
> Greets,
> 
> It seems to me that multiple projects would appreciate being able to use
> GitHub's interface for commenting on pull requests as a channel for dev
> discussions.  Would it be feasible to capture pull request comments via the
> GitHub API and shunt them to Apache dev lists **with no information loss**?
> If so could we bless pull request comments as an official channel?
> 
>     http://developer.github.com/v3/pulls/
> 
>     The Pull Request API allows you to list, view, edit, create, and even
>     merge pull requests. Comments on pull requests can be managed via the
>     Issue Comments API.
> 
>     http://developer.github.com/v3/issues/comments/
> 
>     The Issue Comments API supports listing, viewing, editing, and creating
>     comments on issues and pull requests.
> 
> The experience could be not unlike many Apache dev lists today which are 90%
> JIRA notifications (for better or worse).
> 
> I suppose the slippery slope here leads to asking Infra to support GitHub's
> issue tracking in addition to JIRA and Bugzilla, and then eventually
> integration with all aspects of the GitHub development experience.  I'd prefer
> to limit the scope of this thread to pull request comments, but the
> possibility of getting sucked in has to be acknowledged.
> 
> I reckon we could scare up enough volunteer developer energy from various
> projects to make the pull request hooks happen now, but long term maintenance
> costs would probably fall on Infra, which is obviously a concern.
> 
> Marvin Humphrey
>