#7118 Validate Github projects before importing

v1.1.0
closed
General
nobody
2015-08-20
2014-01-29
No

Like [#6895] for Google Code, our github importer should check to see if a user/repo pair is valid before importing (and erroring on a 404 later)

Related

Tickets: #6895

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-01-29

    We should also check to see if a wiki or tracker is enabled before importing it. A 410 Gone error is raised if we try to fetch it when it's not enabled for the repo.

     
  • Dave Brondsema

    Dave Brondsema - 2014-01-29

    The 410 Gone error is for trackers. If a wiki isn't available, the git clone errors.

    Both should be preventable by checking to see if its enabled, or at least trap the errors.

     
  • Cory Johns

    Cory Johns - 2014-01-30
    • assigned_to: Cory Johns
     
  • Cory Johns

    Cory Johns - 2014-01-30
    • status: open --> in-progress
    • Size: --> 1
     
  • Cory Johns

    Cory Johns - 2014-01-30
    • status: in-progress --> code-review
     
  • Cory Johns

    Cory Johns - 2014-01-30

    allura:cj/7118

    Project availability validation needs to be fixed for the Google Code tool importers and also be made AJAXy for the GitHub tool importers.

     
  • Dave Brondsema

    Dave Brondsema - 2014-01-30
    • status: code-review --> in-progress
    • Size: 1 --> 2
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-30

    Merged, but lets add a check for has_issues too.

     
  • Dave Brondsema

    Dave Brondsema - 2014-01-31
    • status: in-progress --> closed
     

Log in to post a comment.