chore: merge release/v0.9.3 to main#65
Merged
Merged
Conversation
- Use EvaluateSrcURI to handle custom variables like MY_P, MY_PN - Filter distfiles by version (only include files in current SRC_URI) - Add fallback with extractCustomVariables for edge cases - Fixes wrong distfile version download (e.g., mc-4.8.30 vs mc-4.8.33)
- Create internal/distfile/service.go as single source of truth - Use dependency injection for SrcURIEvaluator (avoid import cycle) - Remove 485 lines of duplicate code from fetch.go and executor.go - Update atom_parse_test.go to use pkg.ParseAtom directly - All tests pass, linter clean
…ect-owned collision behavior - Set interpreter working directory to $S for relative path resolution - Fix dodoc, doman, newdoc, newman, doinfo, domo to resolve paths against $S - Implement Portage protect-owned behavior: orphan files warn only, owned-by-other is fatal - Enables successful emerge of packages like app-misc/mc
mvdan.cc/sh interpreter may propagate exit status from commands inside if conditions when using ExecHandlers, even when the if statement itself should return 0 (false condition with no else). Added 'true' after phase function call to ensure script returns 0 unless there's a real error. This fixes mc-4.8.33 and similar packages that use 'if use flag; then ...; fi' at the end of src_install.
…pack phase
- Add resolveSourcePath() helper method to centralize relative path resolution
- Update Dobin, Dosbin, Newbin, Newsbin, Doexe, Doins, Newins to use resolveSourcePath
- Update Dolib, DolibSo, DolibA, Doheader, Doinitd to use resolveSourcePath
- Fix phaseUnpack to use $A variable (from Manifest) instead of hardcoded pattern
- Add test case for tree package S variable pattern (unix-${P})
This fixes tree (app-text/tree) emerge which failed because:
1. Tarball is named unix-tree-2.2.1.tar.bz2 (not tree-2.2.1.tar.*)
2. dobin tree could not find binary due to relative path resolution
All install helpers now properly resolve relative paths against $S.
- CHANGELOG.md: Add v0.9.3 section with install helper fixes - ROADMAP.md: Update header and Release History with v0.9.3 - docs/INSTALL.md: Update version to 0.9.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge release branch after v0.9.3 release.