GithubHelp home page GithubHelp logo

Comments (7)

Bushmills avatar Bushmills commented on May 28, 2024 1

I've removed DEPENDENCIES, Who wants to read about those, should look into the wiki instead :)

from yoda.

Bushmills avatar Bushmills commented on May 28, 2024

execute "yoda dependencies" (before launching yoda) once, to rebuild dependencies. Alternatively, simply delete the dependencies file, then yoda will rebuild it when starting.

yoda doesn't yet figure out by itself when libraries have been added, or words moved between them. I intend to add that by setting a version tag in the dependencies file and compare against the version of yoda launched.

dependencies are simply a list of library files, telling yoda which file to consult to resolve specific words. your dependencies don't contain information about where to find newprompt nor files.

this line:
needs: newprompt newquery$
in your defaults asks yoda to include the library files containing these words (upgraded versions of prompt and query, compared to the minimal versions in yoda itself), set through deferred words.

from yoda.

ruv avatar ruv commented on May 28, 2024

Thank you, it works now.
I expected that it should just work after updating (git pull) too.

The DEPENDENCIES file was changed and now it doesn't match the git index. Probably it should be ignored (via the .gitignore file in git).

from yoda.

Bushmills avatar Bushmills commented on May 28, 2024

it is .gitignored. the version on your computer has been generated as result of yoda executing.

from yoda.

Bushmills avatar Bushmills commented on May 28, 2024

well, dependencies is. DEPENDENCIES (in capitals) is a descriptive text file, and not on .gitignore list.
Maybe I should move DEPENDENCIES to the documentation / wiki section on github, rather than adding it as file to yoda download, to reduce potential confusion,

from yoda.

ruv avatar ruv commented on May 28, 2024

it is .gitignored. the version on your computer has been generated as result of yoda executing.

Oh, I see.

The yoda/.git/config file contains the lines:

[core]
  ignorecase = true

So it rewrites the DEPENDENCIES file (in capitals).

Setting ignorecase = false doesn't help, it looks like the underline file system limitations/configurations (WSL v1).

from yoda.

ruv avatar ruv commented on May 28, 2024

For check, I set the file system case sensitivity for the yoda directory. After that it works fine by auto-creating the dependencies file when it's absent (regardless of the DEPENDENCIES file).

from yoda.

Related Issues (20)

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.