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

Try aur srcver with and without --no-prepare #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bbx0
Copy link

@bbx0 bbx0 commented Oct 20, 2024

As we don't always have the makedepends to call prepare() successfully, this PR attempts --no-prepare first and falls back to the current behavior in case of an error.

The logic is:

  • Try aur srcver --no-prepare first.
  • In case of an error try aur srcver and if it also fails, then return its error message.

This does not cover all cases (as no additional dependencies are provided) but should work for most of the VCS packages.

Fixes #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aurto doesn't install makedeps when updating vcs packages
1 participant