Learn more about these different git repos.
Other Git URLs
This occurs when the latest tag is too far away in history (more than 100 commits which is the depth cloned) and at the HEAD - 100 commits (by time) there was more than one branch. We then cannot get single commit with --max-parents=0.
Munch({'returncode': 0, 'cmd': ['git', 'clone', u'https://pagure.io/copr/copr.git', u'/tmp/tmpRIth71/copr.git', '--depth', '100', '--branch', 'master'], 'stderr': "Cloning into '/tmp/tmpRIth71/copr.git'...", 'stdout': ''}) Munch({'returncode': 0, 'cmd': ['git', '-C', u'/tmp/tmpRIth71/copr.git', 'checkout', 'HEAD'], 'stderr': '', 'stdout': "Your branch is up-to-date with 'origin/master'."}) Munch({'returncode': 128, 'cmd': ['git', '-C', u'/tmp/tmpRIth71/copr.git', 'describe', 'HEAD', '--tags', '--match', 'copr-backend*', '--abbrev=0'], 'stderr': 'fatal: No names found, cannot describe anything.', 'stdout': ''}) No tag found. Munch({'returncode': 0, 'cmd': ['git', '-C', u'/tmp/tmpRIth71/copr.git', 'rev-list', 'HEAD', '--max-parents=0'], 'stderr': '', 'stdout': '3cfcbc137619c045515d1f176f4d86d72ab9eecb\n591c773ef07a18ec3b8e8d54ab86fb7318d8a696\nc337932ca848aaa09ac2fd9b3b08aa57a482e274'}) Munch({'returncode': 128, 'cmd': ['git', '-C', u'/tmp/tmpRIth71/copr.git', 'rev-list', '3cfcbc137619c045515d1f176f4d86d72ab9eecb\n591c773ef07a18ec3b8e8d54ab86fb7318d8a696\nc337932ca848aaa09ac2fd9b3b08aa57a482e274..HEAD', '--count'], 'stderr': "fatal: ambiguous argument '3cfcbc137619c045515d1f176f4d86d72ab9eecb\n591c773ef07a18ec3b8e8d54ab86fb7318d8a696\nc337932ca848aaa09ac2fd9b3b08aa57a482e274..HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'", 'stdout': ''}) Exception raised during package import. Traceback (most recent call last): File "/usr/share/copr/dist_git/importer.py", line 89, in do_import package_content = provider.get_content(task) File "/usr/share/copr/dist_git/providers.py", line 257, in get_content orig_spec_path, spec_path, repo_path, package_name) File "/usr/share/copr/dist_git/helpers.py", line 474, in prepare_test_spec '--count']).stdout File "/usr/share/copr/dist_git/helpers.py", line 325, in run_cmd raise RunCommandException(result.stderr) RunCommandException: fatal: ambiguous argument '3cfcbc137619c045515d1f176f4d86d72ab9eecb 591c773ef07a18ec3b8e8d54ab86fb7318d8a696 c337932ca848aaa09ac2fd9b3b08aa57a482e274..HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' sending a responses for branches f26 Sending back: {"branch": "f26", "task_id": "597881", "error": "Could not import this branch."}
https://pagure.io/copr/copr/c/72883c43ffe8756b97c8dfad71c7ef2a81afc3b4?branch=master
Metadata Update from @clime: - Issue assigned to clime
Metadata Update from @clime: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.