Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to install algorithm #164

Merged
merged 18 commits into from
Feb 27, 2018
Merged

Commits on Feb 27, 2018

  1. Add function to wrap rpc.Info with warnings

    Warns for orphans, out of date and missing
    Respects requestsplitn in config
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    346a579 View commit details
    Browse the repository at this point in the history
  2. Use aurInfo() for -G

    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    3fb77b1 View commit details
    Browse the repository at this point in the history
  3. use aurInfo() for -Ps

    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    e71d66f View commit details
    Browse the repository at this point in the history
  4. Use aurInfo for -S and -Su

    This also improves the dependency by switching to stringSets for some
    structures that previously contained duplicates.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    7558f8f View commit details
    Browse the repository at this point in the history
  5. Refactoring and improving insall process

    This commit mostly focuses on merging the install() and upgradePkgs()
    functions to be more integrated. Instead of both making their own aur
    queries they now both combine theyre needes into one query. This gives
    us a speed up and allows us to easily print orphands, misising and out
    of date in one clean block.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    2856a72 View commit details
    Browse the repository at this point in the history
  6. Make aurInfo concurrent

    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    3f7c731 View commit details
    Browse the repository at this point in the history
  7. Display missing, orphans and out of date in groups

    Instead of printing each warning on a seperate line, group up the
    warnings by type (missing, orphan, out of date) and display each
    group on its own line.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    46cc1f2 View commit details
    Browse the repository at this point in the history
  8. Improve gendb and formatting

    Exit after parsing srcinfo with db do it actually does something.
    when using gendb dont bother generating srcinfos.
    Improved the formatting for some things mainly downloading and parsing.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    dab8f1b View commit details
    Browse the repository at this point in the history
  9. Improve formatting

    Ignorepkg also colours version differences like the upgrade menu
    Tweaked formatting when asking for users to eneter number
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    716d775 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2f39f5d View commit details
    Browse the repository at this point in the history
  11. Re enable -Pu and -Pn

    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    c189a98 View commit details
    Browse the repository at this point in the history
  12. Add support fot CheckDepends

    Note when installing CheckDepends are still refered to as MakeDepends.
    They are both only needed during build time so technically that is
    correct. I don't see much of a use creating a third field so I'm leaving
    it as is for now.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    4a14242 View commit details
    Browse the repository at this point in the history
  13. Remove -s from makepkg

    The -s was kept aroung because the package base `python-virtualfish`
    failed to build without it. I first blamed this on some aur rpc bug
    because it was missing some deps that were listed in python-virtualfish.
    As is turned out python-virtualfish actually does some things wrong in
    it's package build and if it was formated correctly this wouldnt be
    a problem.
    
    I kept the -s in just so it would build even though it might have had
    some side affects. makepkg not respecting the --dbpath for example.
    
    From now on python-virtualfish will fail to build when you dont have all
    the deps installed. This is their fault and will not be fixed here.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    e015c61 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    deed5e6 View commit details
    Browse the repository at this point in the history
  15. Reword conflicting package message

    The old message was probably easy to confuse with the `replaces` term.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    b50fae1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    31d6a95 View commit details
    Browse the repository at this point in the history
  17. go fmt

    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    4ef282c View commit details
    Browse the repository at this point in the history
  18. Further formatting tweaks

    Ask clean builds is now asked early and remembers what you choose when
    the install finishes.
    Fixup "there is nothing to do" message.
    Morganamilo committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    4cdcdc3 View commit details
    Browse the repository at this point in the history