You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Paul Querna (JIRA)" <ji...@apache.org> on 2011/01/03 08:07:45 UTC

[jira] Created: (INFRA-3329) Send github pull requests to development mailing lists

Send github pull requests to development mailing lists
------------------------------------------------------

                 Key: INFRA-3329
                 URL: https://issues.apache.org/jira/browse/INFRA-3329
             Project: Infrastructure
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Git
            Reporter: Paul Querna


Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?

For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (INFRA-3329) Send github pull requests to development mailing lists

Posted by Daniel Shahaf <da...@apache.org>.
search://[github API] -> http://develop.github.com/p/pulls.html

Paul Querna (JIRA) wrote on Mon, Jan 03, 2011 at 02:07:45 -0500:
> Send github pull requests to development mailing lists
> ------------------------------------------------------
> 
>                  Key: INFRA-3329
>                  URL: https://issues.apache.org/jira/browse/INFRA-3329
>              Project: Infrastructure
>           Issue Type: Improvement
>       Security Level: public (Regular issues)
>           Components: Git
>             Reporter: Paul Querna
> 
> 
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> 
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083827#comment-13083827 ] 

Brett Porter commented on INFRA-3329:
-------------------------------------

does anything need to be done to turn it on, or will this start happening from now? I recently noticed we had some pull requests that hadn't been seen under some of the maven projects.

> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-3329.
------------------------------------

    
> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Assignee: Jukka Zitting
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017903#comment-13017903 ] 

Joe Schaefer commented on INFRA-3329:
-------------------------------------

Parsing the pull request's Message-ID header is easy enough, which allows
you to determine the associated git repo for a given request.  However AFAICT
there is no way to translate that back to the name of an Apache mailing list to send
the pull request to.


> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017934#comment-13017934 ] 

#asfinfra IRC Bot commented on INFRA-3329:
------------------------------------------

<joes4> I recommend creating a little key-value text file containing that data and letting projects maintain it by checking it into svn.


> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083848#comment-13083848 ] 

#asfinfra IRC Bot commented on INFRA-3329:
------------------------------------------

<gmcdonald> examples please of pull requests within the last 24 hours


> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved INFRA-3329.
----------------------------------

    Resolution: Fixed
      Assignee: Jukka Zitting

The script seems to be working fine, so resolving as fixed.

> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Assignee: Jukka Zitting
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083193#comment-13083193 ] 

Jukka Zitting commented on INFRA-3329:
--------------------------------------

I've implemented a simple email script [1] that matches incoming email from Github to the respective codebase and resends the message to the first (xxx-)?dev@yyy.apache.org address it finds within the top-level files (READMEs, build files, etc.) of the latest trunk of that codebase.

The script is now active for people who want to experiment with it. Please note that Github uses variable sender addresses for pull requests, so currently all such requests need to be explicitly moderated to a dev@ list. I'm not sure how to best deal with that.

I'll leave this issue open for a while for any comments, reviews and suggestions for improvements.

[1] https://svn.apache.org/repos/infra/infrastructure/trunk/projects/git/bin/email-github.pl

> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084010#comment-13084010 ] 

Jukka Zitting commented on INFRA-3329:
--------------------------------------

I just enabled the script yesterday, so earlier pull requests will have been missed. You can find older requests on the respective repository page on Github.

The only thing a project needs to do to enable this feature is to make sure that the correct dev list is mentioned somewhere (README, pom.xml, etc.) within the root of the latest trunk. The script uses the regexp /([a-z0-9-]*dev)\s*(\@|at)\s*([a-z0-9]+\.apache\.org)/i to find the dev@ list address from those files. If a codebase doesn't already have a file with such an address, I'd recommend adding a simple README with a line like "Please contact dev@foo.apache.org if you have questions or comments about this codebase."

In addition to my test requests, the system has now processed the following pull requests:

    <ap...@github.com>: Redirected to dev@hive.apache.org
    <ap...@github.com>: Redirected to dev@wicket.apache.org

It looks like at least the Wicket request was moderated through, see http://markmail.org/message/ss75fc6tpyrwt34i.

> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (INFRA-3329) Send github pull requests to development mailing lists

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983637#action_12983637 ] 

Jukka Zitting commented on INFRA-3329:
--------------------------------------

The pull requests are currently sent to git@git.apache.org, from where they are processed by the email-update.pl script. It would be possible to modify that script to detect pull requests and to forward them to the appropriate dev lists.

[1] https://svn.apache.org/repos/infra/infrastructure/trunk/projects/git/bin/email-update.pl

> Send github pull requests to development mailing lists
> ------------------------------------------------------
>
>                 Key: INFRA-3329
>                 URL: https://issues.apache.org/jira/browse/INFRA-3329
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>
> Is there someway we can get github to send pull requests against the official apache repos on github to the apache mailing lists?
> For example, https://github.com/apache/libcloud/pull/1 was created, and none of the libcloud developers noticed it for months.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.