Skip to content

Feature: support to replace a package path using a local repo#44

Merged
genshen merged 3 commits into
masterfrom
feature/replace-package-with-local-repo
Jul 10, 2026
Merged

Feature: support to replace a package path using a local repo#44
genshen merged 3 commits into
masterfrom
feature/replace-package-with-local-repo

Conversation

@genshen

@genshen genshen commented Jul 10, 2026

Copy link
Copy Markdown
Owner

In git-replace of pkg config file or pkg.yaml, we can add a local repo replacement:

git-replace:
  github.com/fmtlib/fmt: local://{{.PKG_ROOT}}/../fmt-main/

pkg Envs, such as {{.PKG_ROOT}}, is also supported in the path of local replacement.

@genshen
genshen merged commit 3832b91 into master Jul 10, 2026
2 checks passed
@genshen
genshen deleted the feature/replace-package-with-local-repo branch July 10, 2026 11:14
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.

1 participant