You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2011/05/19 10:22:22 UTC
[jira] Created: (CONTINUUM-2627) Unable to add a project that are
in private Github repositories
Unable to add a project that are in private Github repositories
---------------------------------------------------------------
Key: CONTINUUM-2627
URL: http://jira.codehaus.org/browse/CONTINUUM-2627
Project: Continuum
Issue Type: Bug
Components: SCM
Affects Versions: 1.4.0 (Beta)
Reporter: Maria Odea Ching
Github returns 404 when Continuum tries to download the POM file.
You'll get the following error in the logs:
2011-05-19 16:15:39,009 [btpool0-8] INFO action#create-projects-from-metadata - checking for settings auth setup
2011-05-19 16:15:39,010 [btpool0-8] INFO org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - Downloading https://USERNAME:*****@github.com/myproject/raw/master/pom.xml
2011-05-19 16:15:44,102 [btpool0-8] WARN org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - skip non handled http return code 404
It seems github behaves that way for private repositories (see http://support.github.com/discussions/repos/6007-how-to-grap-a-single-file-using-https-when-the-repository-is-private)
For wget, you need to add the --auth-no-challenge parameter in order to get the pom file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CONTINUUM-2627) Unable to add a project that are
in private Github repositories
Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Odea Ching updated CONTINUUM-2627:
----------------------------------------
Fix Version/s: 1.4.1 (Beta)
Assignee: Maria Odea Ching
> Unable to add a project that are in private Github repositories
> ---------------------------------------------------------------
>
> Key: CONTINUUM-2627
> URL: http://jira.codehaus.org/browse/CONTINUUM-2627
> Project: Continuum
> Issue Type: Bug
> Components: SCM
> Affects Versions: 1.4.0 (Beta)
> Reporter: Maria Odea Ching
> Assignee: Maria Odea Ching
> Fix For: 1.4.1 (Beta)
>
>
> Github returns 404 when Continuum tries to download the POM file.
> You'll get the following error in the logs:
> 2011-05-19 16:15:39,009 [btpool0-8] INFO action#create-projects-from-metadata - checking for settings auth setup
> 2011-05-19 16:15:39,010 [btpool0-8] INFO org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - Downloading https://USERNAME:*****@github.com/myproject/raw/master/pom.xml
> 2011-05-19 16:15:44,102 [btpool0-8] WARN org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - skip non handled http return code 404
> It seems github behaves that way for private repositories (see http://support.github.com/discussions/repos/6007-how-to-grap-a-single-file-using-https-when-the-repository-is-private)
> For wget, you need to add the --auth-no-challenge parameter in order to get the pom file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (CONTINUUM-2627) Unable to add a project that are in
private Github repositories
Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Odea Ching closed CONTINUUM-2627.
---------------------------------------
Resolution: Fixed
Fixed in continuum trunk [-r1124681|http://svn.apache.org/viewvc?rev=1124681&view=rev] with the following changes:
* upgrade httpclient and httpcore to 4.1.1 and use pre-emptive authn if initial attempt to get the pom metadata during project add failed
> Unable to add a project that are in private Github repositories
> ---------------------------------------------------------------
>
> Key: CONTINUUM-2627
> URL: http://jira.codehaus.org/browse/CONTINUUM-2627
> Project: Continuum
> Issue Type: Bug
> Components: SCM
> Affects Versions: 1.4.0 (Beta)
> Reporter: Maria Odea Ching
> Assignee: Maria Odea Ching
> Fix For: 1.4.1 (Beta)
>
>
> Github returns 404 when Continuum tries to download the POM file.
> You'll get the following error in the logs:
> 2011-05-19 16:15:39,009 [btpool0-8] INFO action#create-projects-from-metadata - checking for settings auth setup
> 2011-05-19 16:15:39,010 [btpool0-8] INFO org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - Downloading https://USERNAME:*****@github.com/myproject/raw/master/pom.xml
> 2011-05-19 16:15:44,102 [btpool0-8] WARN org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - skip non handled http return code 404
> It seems github behaves that way for private repositories (see http://support.github.com/discussions/repos/6007-how-to-grap-a-single-file-using-https-when-the-repository-is-private)
> For wget, you need to add the --auth-no-challenge parameter in order to get the pom file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira