GithubHelp home page GithubHelp logo

Comments (9)

Jguer avatar Jguer commented on May 20, 2024 5

Yes, I wanted to get that working before releasing yay v2 but exam season hit a little earlier than expected.

  • Ask all edit PKGBUILD
  • Install all dependencies (Package conflicts are all handled by pacman I think)
  • AUR dependencies are installed with --noconfirm on pacman but
  • final built packages are moved to ${yay-build-dir} and one last confirm to install them all.

from yay.

132ikl avatar 132ikl commented on May 20, 2024 4

Any ETA on this? Liking yay as an alternative to the now unmaintained pacaur but this is definitely my biggest issue with yay.

from yay.

rmarquis avatar rmarquis commented on May 20, 2024

(Package conflicts are all handled by pacman I think)

Unfortunately, you'll have to handle this by yourself then bypass pacman prompts if you want to ask all the questions first - otherwise you'll have to deal with a yaourt-kind of linear prompts through the whole building process.

from yay.

AladW avatar AladW commented on May 20, 2024

Even if you ask all questions first, you might have to confirm 100's of times on large dependency chains. Some better approach is to have the user deal with it (by having a "download only" stage, see trizen/trizen#8) or integrate with a suitable file manager.

Also the issue with conflicts pretty much disappears when you use a local repo (I've hardly seen them building 2000+ packages anyway), but I guess that's out of scope for this issue.

from yay.

maximbaz avatar maximbaz commented on May 20, 2024

True, although in my personal experience I haven't seen such long dependency chains, I think in 99% of cases you don't need to confirm more than 10 packages at once, and having an integrated approach to answer up to 10 questions and let yay proceed would be very useful 🙂

from yay.

Mayurifag avatar Mayurifag commented on May 20, 2024

+1 here.

Also, sorry for offtopic, but is there any way to list searched packages the same way like it was in yaourt — I meant, starting from first number and list all them from top to bottom?

from yay.

maximbaz avatar maximbaz commented on May 20, 2024

@Mayurifag if you still seek the answer to the offtopic question: --topdown will change the sorting order, and since #83 the numbering always starts from 1 (not released yet, only in master).

from yay.

Mayurifag avatar Mayurifag commented on May 20, 2024

@maximbaz can i default --topdown behaviour in configuration file?

from yay.

maximbaz avatar maximbaz commented on May 20, 2024

Yes, actually because --topdown is listed in the Permanent configuration options section of the $ yay --help, after you use --topdown at least once, yay automatically updates the config and --topdown becomes default for plain yay - that is, until you explicitly use --bottomup.

In the ~/.config/yay/config.json the --topdown refers to sortmode: 1, while --bottomup refers to sortmode: 0.

from yay.

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.