kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #20379
Re: [PATCH] Fixed a False BZR Version Number Built From Local Branch of GIT-Source-Mirror
Ok, the script makes a pretty stupid assumption that everyone has a
remote named "origin". While it is "convention" to have a "origin", it
is not required or absolute. So anyone using git-bzr-ng is in for a
fun time.
Now anyone using the newer git-remote-bzr is in for fun as well
because there is no such thing as "origin/HEAD".
Either:
1. We remove this patch
2. Disable the broken logic if the repo doesn't have origin or origin/HEAD
3. Migrate from launchpad to github :3
On Sun, Sep 13, 2015 at 10:17 PM, Mark Roszko <mark.roszko@xxxxxxxxx> wrote:
> Confirming cmake is now broken for anyone not using bzr and on a fresh
> working tree.
>
> On Sun, Sep 13, 2015 at 9:20 PM, Chris Pavlina <pavlina.chris@xxxxxxxxx> wrote:
>> How to fix this _without_ wiping my local repository. I have things IN my local repository. I just want to get on with development, not arse around with cmake, which I have no experience with. Currently, I cannot build at all.
>>
>> :git/kicad % git status
>> On branch field_autoplace
>> Your branch is ahead of 'origin/field_autoplace' by 9 commits.
>> (use "git push" to publish your local commits)
>> nothing to commit, working directory clean
>>
>> :git/kicad % git remote -v
>> origin git@xxxxxxxxxx:cpavlina/kicad.git (fetch)
>> origin git@xxxxxxxxxx:cpavlina/kicad.git (push)
>> upstream bzr::lp:kicad (fetch)
>> upstream bzr::lp:kicad (push)
>>
>>
>> On Mon, Sep 14, 2015 at 12:54:21AM +0200, Simon Richter wrote:
>>> Hi,
>>>
>>> On 13.09.2015 20:29, Simon Richter wrote:
>>>
>>> > This completely fails to compile for me:
>>>
>>> Okay, when I wipe my local repository and repeat the checkout, it works.
>>>
>>> Having a fallback to origin/master and/or more graceful handling of a
>>> missing origin/HEAD reference would be great though.
>>>
>>> Simon
>>>
>>>
>>
>>
>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
>
>
> --
> Mark
--
Mark
Follow ups
References