Bug 1066522

Summary: [RFE] switch-branch should first pull new branch options.
Product: [Fedora] Fedora Reporter: Yaniv Lavi <ylavi>
Component: rpkgAssignee: Dennis Gilmore <dennis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, ohadlevy, pbabinca
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: fedpkg-1.18-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-08 08:40:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Lavi 2014-02-18 14:58:17 UTC
Description of problem:
switch-branch should first pull new branch options.
Should not need to do git pull for this to work.

Version-Release number of selected component (if applicable):
rhpkg-1.17-1

How reproducible:
always

Steps to Reproduce:
1. setup new remote branch 
2. try to switch to that branch locally

Actual results:
fails

Expected results:
should pull then switch

Additional info:

Comment 1 Pavol Babinčák 2014-02-18 15:16:41 UTC
(In reply to Yaniv Dary from comment #0)
> Should not need to do git pull for this to work.
git fetch should do less harm here and still work in your use case. Any objection to that?

Comment 2 Yaniv Lavi 2014-02-18 16:03:09 UTC
(In reply to Pavol Babinčák from comment #1)
> (In reply to Yaniv Dary from comment #0)
> > Should not need to do git pull for this to work.
> git fetch should do less harm here and still work in your use case. Any
> objection to that?

then do rhpkg fetch. it is ver confusing that I need to use both rhpkg commands and git commands. the minimum is to write and recommend a user to do this.

Comment 3 Pavol Babinčák 2014-02-19 09:37:22 UTC
This bug will be fixed in underlying library which is common between fedpkg and rhpkg.

Comment 4 Fedora Update System 2014-07-30 11:55:45 UTC
fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19

Comment 5 Fedora Update System 2014-07-30 12:00:50 UTC
fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20

Comment 6 Fedora Update System 2014-07-30 12:20:03 UTC
fedpkg-1.18-1.el6,rpkg-1.26-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/fedpkg-1.18-1.el6,rpkg-1.26-1.el6

Comment 7 Fedora Update System 2014-07-30 19:34:36 UTC
Package fedpkg-1.18-1.el6, rpkg-1.26-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing fedpkg-1.18-1.el6 rpkg-1.26-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2068/fedpkg-1.18-1.el6,rpkg-1.26-1.el6
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-08-08 08:40:05 UTC
fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-08-15 02:54:43 UTC
fedpkg-1.18-1.fc19, rpkg-1.26-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-08-15 18:59:27 UTC
fedpkg-1.18-1.el6, rpkg-1.26-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.