Giter Site home page Giter Site logo

Comments (8)

G10h4ck avatar G10h4ck commented on August 28, 2024

as a temporary workaround you can run
make clean

from lime-build.

ilario avatar ilario commented on August 28, 2024

I already solved removing the git pull in the pointed line.
If you want I can make a pull request with this.

from lime-build.

G10h4ck avatar G10h4ck commented on August 28, 2024

Seems a nice idea to have a pull request fixing this, although I am not lime-build expert Pau and Gui should review your PR

Cheers!

from lime-build.

ilario avatar ilario commented on August 28, 2024

Today I had somewhat the opposite problem, I moved from develop to testing/16.07 lime-build branch without running a make clean.
So:

cd lime-build
git pull
git checkout testing/16.07
make T=ar71xx P=generic J=3 UPDATE=1

and the output was:

Using LiMe Git repository git://github.com/libre-mesh/lime-packages.git
cd build/lime-packages && git checkout testing/16.07 && git pull
error: pathspec 'testing/16.07' did not match any file(s) known to git.
Makefile:166: recipe for target 'checkout' failed
make: *** [checkout] Error 1

This happened because a git checkout to the new branch was issued before the pull, so the branch didn't exist yet.
A solution (that doesn't trigger the old problem object of this issue) would be to replace the two occurrences of
git checkout $(LIME_GIT_BRANCH)
in Makefile with
git checkout develop && git pull && git checkout $(LIME_GIT_BRANCH)
as the develop branch will always exist (I believe).

from lime-build.

p4u avatar p4u commented on August 28, 2024

|I think

cd build/lime-packages && git pull origin ||testing/16.07| && |git
checkout testing/16.07|

Should solve the issue, but I have not tested it.
If you are able to test it and works, please send the PR to lime-build
develop branch.

Thanks.

On 25/07/16 12:25, Ilario Gelmetti wrote:

|cd build/lime-packages && git checkout testing/16.07 && git pull|

from lime-build.

ilario avatar ilario commented on August 28, 2024

Seems ok, but I suspect we will find more corner cases breaking this in the future.

from lime-build.

altergui avatar altergui commented on August 28, 2024

On 25/07/16 16:06, Ilario Gelmetti wrote:

Seems ok, but I suspect we will find more corner cases breaking this in
the future.

git remote update && git checkout whatever-new-branch

should solve it in a "proper" way


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACr1I9UUXuRUGpQJuPjoAXFA0-ptl9iqks5qZMLMgaJpZM4IW_3h.

from lime-build.

ilario avatar ilario commented on August 28, 2024

Should have been fixed in fb64a79.

from lime-build.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.