Skip to content

Resolve absolute path to local recipes #8

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

Merged

Conversation

dbnicholson
Copy link
Member

This is necessary when using patches in a local recipe since
Recipe.apply_patch assumes the recipe directory is absolute and uses
patch -d to change directories. It could just be fixed there, but this
ensures that recipe directories are always absolute.

I came across this while trying to patch zstandard so it didn't need USE_CCACHE disabled. I filed this upstream at kivy#2623 but haven't had time to get a proper PR there.

This is necessary when using patches in a local recipe since
`Recipe.apply_patch` assumes the recipe directory is absolute and uses
`patch -d` to change directories. It could just be fixed there, but this
ensures that recipe directories are always absolute.
@dbnicholson dbnicholson requested a review from dylanmccall July 14, 2022 22:48
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2673567738

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 61.17%

Totals Coverage Status
Change from base Build 2630997798: 0.0%
Covered Lines: 4389
Relevant Lines: 6654

💛 - Coveralls

Copy link

@dylanmccall dylanmccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@dylanmccall dylanmccall merged commit 7d2a759 into multi_arch_webview_updates Jul 16, 2022
@dbnicholson dbnicholson deleted the local-recipes-realpath-endless branch September 19, 2022 16:54
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.

3 participants