Code Monkey home page Code Monkey logo

Comments (11)

lilydjwg avatar lilydjwg commented on August 22, 2024

No. Path-dependent behavior is bad and very confusing. How many Python learners have once named their learning scripts as abc.py, code.py or random.py etc?

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

There are many programs using some file in current directory,

such as:

  • clangd use .clangd as first choice, ~/.config/clangd/config.yaml as second choice.
  • gdb use .gdbinit as first choice, ~/.config/gdb/gdbinit as second choice.
  • astyle use .astylerc as first choice, ~/.astylerc as second choice.

Why nvchecker doesn't use nvfecther.toml as first choice, ~/.config/nvchecker/nvchecker.toml as second choice?

from nvchecker.

lilydjwg avatar lilydjwg commented on August 22, 2024

They are related to current project. nvchecker doesn't associate to a project.

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

I hope I can use nvchecker in the following case:

git clone ssh://aur.archlinux.org/XXX
cd XXX
update.sh
git add -A
git commit -m 'Update'
git push

Where update.sh use nvchecker --logger=json. It is related to current project XXX.

from nvchecker.

lilydjwg avatar lilydjwg commented on August 22, 2024

Probably you want to create an issue for nvfetcher instead.

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

Sorry, it's a typo. I also use nvfetcher but just in NixOS, not ArchLinux.

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

And nvfetcher uses nvfetcher.toml as default config.

from nvchecker.

lilydjwg avatar lilydjwg commented on August 22, 2024

Still you can implement your logic for finding config file in your update.sh.

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

nvchecker doesn't associate to a project.

But it actually proves that there is a case that nvchecker associate to a project and it is very useful for AUR users. So why not support it?

from nvchecker.

lilydjwg avatar lilydjwg commented on August 22, 2024

nvchecker has no intension to work on a per-project basis. It's your wrapper's responsibility to handle that. It would be a breaking change anyway.

from nvchecker.

Freed-Wu avatar Freed-Wu commented on August 22, 2024

OK, I see.

from nvchecker.

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.