Bug #5835

[SDK] arv-copy breaks with namespaced git repository names

Added by Peter Amstutz over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

History

#1 Updated by Ward Vandewege over 6 years ago

  • Target version changed from Bug Triage to 2015-05-20 sprint

#2 Updated by Brett Smith over 6 years ago

  • Assigned To set to Brett Smith

#3 Updated by Ward Vandewege over 6 years ago

  • Story points set to 0.5

#4 Updated by Brett Smith over 6 years ago

I'm having trouble reproducing. Given this pipeline template:

{
  "uuid": "bcsdk-p5p6p-an8q8heqcqz8oir",
  
  "name": "5835 test pipeline",
  "components": {
    "3113": {
      "repository": "brett/brett",
      "script": "3113test.py",
      "script_version": "master",
      "script_parameters": {
        "task_count": {
          "value": 5
        }
      }
    },
    "4027": {
      "repository": "brett/brett",
      "script": "4027test.py",
      "script_version": "master",
      "script_parameters": {
        "unused": {
          "output_of": "3113" 
        }
      }
    }
  }
}

I can copy the template from one project to another:

arv copy --src bcsdk --dst bcsdk --dst-git-repo brett/copy --project-uuid bcsdk-j7d0g-bsgefja6k5vgu5o bcsdk-p5p6p-an8q8heqcqz8oir

And that works. It reads all the proper commits from brett/brett and puts them in a new branch on brett/copy. I confirmed that by fetching the repository.

Looking at the code, it's not obvious what the problem would be either. arv-copy doesn't really ever parse the repository name; it just passes it around to the right places.

#5 Updated by Brett Smith over 6 years ago

  • Status changed from New to Closed

Peter reports at standup that this was a problem in his local deployment and not an arv-copy bug.

Also available in: Atom PDF