aura icon indicating copy to clipboard operation
aura copied to clipboard

`aura deps` should query the AUR for extended dependency information

Open AladW opened this issue 1 year ago • 5 comments

Maybe related to #900.

aur deps bauerbill --open
# an empty image is displayed

AladW avatar Aug 10 '24 15:08 AladW

If there were a failed git clone there may be consequences here, yeah. What does aura check tell you?

fosskers avatar Aug 11 '24 12:08 fosskers

I found out why nothing appears here, and it's unrelated to #900.

deps will only consider packages:

  • In your sync dbs (anything installed or not).
  • In your local db (to account for installed AUR packages).

It does not currently support lookups to AUR packages that aren't installed.

fosskers avatar Aug 15 '24 20:08 fosskers

Any thoughts?

fosskers avatar Aug 24 '24 01:08 fosskers

I don't think there's an inherent limitation for aura deps to be limited to pacman databases. AUR lookups already give you full dependency information for packages on the AUR. If you want to be fancy, you could add coloring to the graph. For example

R -> AUR package G -> sync db package B -> local db package

AladW avatar Aug 29 '24 17:08 AladW

I could potentially add a flag that activates (F)AUR lookups. That way, aura deps is still fast for offline usage if the user is fine with that.

fosskers avatar Aug 29 '24 20:08 fosskers