Skip to content

Extends Git repository extraction in Scalibr by adding support for Git submodules via misc/gitrepo-files.#2154

Closed
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_921820393
Closed

Extends Git repository extraction in Scalibr by adding support for Git submodules via misc/gitrepo-files.#2154
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_921820393

Conversation

@copybara-service

Copy link
Copy Markdown

Extends Git repository extraction in Scalibr by adding support for Git submodules via misc/gitrepo-files.

Key changes:

  • Adds FileExtractor which triggers on .git files commonly found in Git submodules.
  • Parses the redirect pointer (gitdir: ) within the .git file to locate the actual repository directory.
  • Reuses the unified metadata extraction pipeline from the parent CL to extract commit SHAs and remote URLs.
  • Registers the submodule extractor in list.go.
  • Unit tests and benchmarks verify correct redirection resolution and logic pipeline handling.

@copybara-service
copybara-service Bot force-pushed the test_921820393 branch 9 times, most recently from 2a439b8 to 0fb4c94 Compare May 28, 2026 07:42
…t submodules via misc/gitrepo-files.

Key changes:
- Adds FileExtractor which triggers on .git files commonly found in Git submodules.
- Parses the redirect pointer (gitdir: <path>) within the .git file to locate the actual repository directory.
- Reuses the unified metadata extraction pipeline from the parent CL to extract commit SHAs and remote URLs.
- Registers the submodule extractor in list.go.
- Unit tests and benchmarks verify correct redirection resolution and logic pipeline handling.

PiperOrigin-RevId: 921820393
@copybara-service copybara-service Bot closed this May 29, 2026
@copybara-service
copybara-service Bot deleted the test_921820393 branch May 29, 2026 02:25
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.

0 participants