Skip to content

feat: add relative submodule URL resolution to rattler_git#2320

Open
Hofer-Julian wants to merge 1 commit intoconda:mainfrom
Hofer-Julian:push-mwmqtxookxur
Open

feat: add relative submodule URL resolution to rattler_git#2320
Hofer-Julian wants to merge 1 commit intoconda:mainfrom
Hofer-Julian:push-mwmqtxookxur

Conversation

@Hofer-Julian
Copy link
Copy Markdown
Collaborator

Description

As discussed in prefix-dev/rattler-build#2401, we want all git related operations to be bundled in rattler_git. So I move the submodule resolving here.

Originally submodules with relative paths failed since we first check them out and then git clone --local which hard-links and keeps the original relative path intact. That doesn't result into the paths we want, so we make them absolute with the original path as reference

How Has This Been Tested?

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added sufficient tests to cover my changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant