#1692 rename action needs to change project name in scm links

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-03-11
No

When a project is renamed, the restore_project.py task does not change the name of the scm repositories in the code links. On a sandbox, when I renamed a project and then visited the renamed project, I saw a pop-up message that said that the old-name git repo I had was being created (since the name didn't change in the data). However, I haven't seen reactor actually create that old-name directory.

Discussion

  • Mark Ramm - 2011-03-24
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-24
    • milestone: limbo --> mar-31

    • milestone: mar-31 --> apr-7

     
  • Dave Brondsema

    Dave Brondsema - 2011-04-14
    • size: --> 2
     
  • Rick Copeland - 2011-04-26
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2011-04-26
    (forge)(rc/1692)
    : rick446@legolas-vm: ~/src/forge/Allura; git qa
    Todays unlucky sucker is: JWH
    

    To QA:

    • create a project with some repos
    • backup the project
    • purge the project
    • restore the project to a new name
    • verify that the clone URLs have the new project name

    Backup/Purge/Restore:

    allurapaste script production.ini ../scripts/backup_project.py shortname backupdir
    allurapaste script production.ini ../scripts/purge_project.py shortname
    allurapaste script production.ini ../scripts/restore_project.py backupdir newshortname newshortname
    
     
  • Rick Copeland - 2011-04-26
    • status: in-progress --> code-review
    • assigned_to: Rick Copéland --> John Hoffmann
     
  • John Hoffman - 2011-04-27
    • status: code-review --> open
    • assigned_to: John Hoffmann --> Rick Copéland
     
  • John Hoffman - 2011-04-27

    Duplicate key error https://gist.github.com/c113fd71dcee4c2f55e0, to reproduce:

    • create a new project
    • create a ticket
    • edit the wiki page and reference the [#1] ticket
    • backup
    • purge
    • restore -> FAIL!
     

    Related

    Tickets: #1

  • Rick Copeland - 2011-04-28

    Force re-pushed to rc/1692

    Basically, you found a bug in your code review that's been in production for a while. This should be fixed now.

     
  • Rick Copeland - 2011-04-28
    • status: open --> code-review
    • assigned_to: Rick Copéland --> John Hoffmann
     
  • John Hoffman - 2011-04-29

    Better! Merged and pushed to allura/dev.

     
  • John Hoffman - 2011-04-29
    • status: code-review --> closed
     

Log in to post a comment.