#4015 Unable to import svn repo on beta project [25103]

v1.0.0
closed
General
Cory Johns
2015-08-20
2012-04-05
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/25103

Importing SVN repos doesn't seem to be working, I tried importing a repo via the svn import tool, it displayed a notice saying it was importing, but the import didn't happen (code browser doesn't show "importing" like it used to).

Discussion

  • Chris Tsai - 2012-04-16
    • summary: Unable to imoprt svn repo on beta project [25103] --> Unable to import svn repo on beta project [25103]
     
  • Chris Tsai - 2012-04-16

    bump

     
  • Dave Brondsema

    Dave Brondsema - 2012-04-16

    We should put logic in place to send an email to the original user, when an import completes (either successfully or with an error).

    Error is:

      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/repository.py", line 224, in init_as_clone
        self._impl.clone_from(source_url)
      File "/home/dbrondsema/dbrondsema-7024/forge/ForgeSVN/forgesvn/model/svn.py", line 181, in clone_from
        self._repo.refresh(notify=False)
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/repository.py", line 320, in refresh
        refresh_repo(self, all_commits, notify)
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/repo_refresh.py", line 38, in refresh_repo
        repo.refresh_commit_info(oid, seen, not all_commits)
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/repository.py", line 199, in refresh_commit_info
        return self._impl.refresh_commit_info(oid, seen, lazy)
      File "/home/dbrondsema/dbrondsema-7024/forge/ForgeSVN/forgesvn/model/svn.py", line 307, in refresh_commit_info
        date=datetime.utcfromtimestamp(log_entry.date))
      File "/var/local/env-allura/lib/python2.7/site-packages/pysvn/__init__.py", line 29, in __getattr__
        raise AttributeError( "%s instance has no attribute '%s'" % (self.__class__.__name__, name) )
    AttributeError: PysvnLog instance has no attribute 'date'
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-04-16
    • milestone: limbo --> forge-may-04
     
  • Dave Brondsema

    Dave Brondsema - 2012-04-20
    • size: --> 1
     
  • Jenny Steele - 2012-05-15
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2012-05-16
    • status: in-progress --> code-review
    • qa: Cory Johns
     
  • Cory Johns - 2012-05-18

    I don't think we should send the stack trace to the end user. Also, this doesn't address the actual error; seems like the story is intended to cover actually fixing the import?

     
  • Cory Johns - 2012-05-18
    • status: code-review --> in-progress
     
  • Jenny Steele - 2012-05-18
    • status: in-progress --> code-review
     
  • Jenny Steele - 2012-05-18

    I removed the traceback and prevented breakage around commits that are missing data. If you go to the commit you will see --none-- in some places and not be able to see what files were changed, but at least there aren't any errors. In this repo, only commit 2 and 3 seem to be affected.

     
  • Cory Johns - 2012-05-21
    • status: code-review --> closed
     
  • Cory Johns - 2012-05-21

    Merged

     

Log in to post a comment.