Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 660183
Summary: | clone -B (branch) option breaks git url | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Curtis Doty <curtis> |
Component: | fedora-packager | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | dcantrell, dennis, ricky |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://lists.fedoraproject.org/pipermail/devel/2010-December/146671.html | ||
Whiteboard: | |||
Fixed In Version: | fedora-packager-0.5.5.0-2.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-08 22:55:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Curtis Doty
2010-12-06 01:40:21 UTC
FYI the patch works. And until that patch is merged, if you ever clone a branched package, you'll need to run this on each branch: git remote set-url origin git://pkgs.fedoraproject.org/foo Thanks for the patch. I have been planning on re-doing the whole -B logic to mimic what /usr/share/doc/git-*/contrib/workdir/git-new-workdir does, as it seems to do things better than we currently do in fedpkg. Not sure if I'll do that instead of taking this patch or not. Tangentially related... It appears if you install fedpkg on a CentOS 5 system via EPEL, it doesn't like the logic: + fedpkg clone -a -B dropwatch Initialized empty Git repository in /home/curtis/src/fedora/PKGS/dropwatch/fedpkg.git/ remote: Counting objects: 87, done. remote: Compressing objects: 100% (46/46), done. remote: Total 87 (delta 34), reused 87 (delta 34) Receiving objects: 100% (87/87), 9.37 KiB, done. Resolving deltas: 100% (34/34), done. Could not clone: Could not locally clone f10/master from /home/curtis/src/fedora/PKGS/dropwatch/fedpkg.git: 'git clone --branch f10/master /home/curtis/src/fedora/PKGS/dropwatch/fedpkg.git f10' returned exit status 129: error: unknown option `branch' Upgrading git from 1.5.5.6-4.el5 to 1.7.3-1.el5.rf (via rpmforge) solved. There is another bug about --branch not being a viable option on EL5's version of git. Patch applied, this will be fixed in the next build of fedora-packager. fedora-packager-0.5.3.0-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.fc14 fedora-packager-0.5.3.0-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.fc13 fedora-packager-0.5.3.0-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el6 fedora-packager-0.5.3.0-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el5 fedora-packager-0.5.3.0-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fedora-packager'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-packager-0.5.3.0-1.el5 fedora-packager-0.5.3.0-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.3.0-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.3.0-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.5.0-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-packager-0.5.5.0-1.el6 fedora-packager-0.5.5.0-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-packager-0.5.5.0-2.el6 fedora-packager-0.5.5.0-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |