Continuum
  1. Continuum
  2. CONTINUUM-2627

Unable to add a project that are in private Github repositories

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0 (Beta)
    • Fix Version/s: 1.4.1
    • Component/s: SCM
    • Labels:
      None

      Description

      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.

        Activity

        Maria Odea Ching created issue -
        Maria Odea Ching made changes -
        Field Original Value New Value
        Fix Version/s 1.4.1 (Beta) [ 15104 ]
        Assignee Maria Odea Ching [ oching ]
        Maria Odea Ching made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12711270 ] Default workflow, editable Closed status [ 12740729 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948129 ] Default workflow, editable Closed status [ 12983555 ]

          People

          • Assignee:
            Maria Odea Ching
            Reporter:
            Maria Odea Ching
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development