Skip to content
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

Add submodules support for git, fix small issue with repo and bump version #110

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

lorc
Copy link
Collaborator

@lorc lorc commented Jun 3, 2024

Main goal of this PR to add git submodules support.

lorc added 3 commits June 3, 2024 21:34
Add two new options: "depths" and "submodules" to support recursive
submodules cloning along with shallow clones. We need those two
features together because projects with submodules tend to be large
and it may be inefficient to download whole repositories.

Also, as "depth" option forces git to download only one
branch/revision, and switching branches with submodules can be tricky,
we force git to download branch pointed by "rev" only.

Signed-off-by: Volodymyr Babchuk <[email protected]>
This pools makes Ninja to display all repo output to user. This
may come in help if fetch fails for some reason. One drawback is that
tasks in "console" pool can't run in parallel, but "repo" itself is
capable of parallel fetch, so this is not a big issue.

Signed-off-by: Volodymyr Babchuk <[email protected]>
There were some updates to repo and git fetcher so bump version
and make a new release.

Signed-off-by: Volodymyr Babchuk <[email protected]>
@lorc lorc force-pushed the pr_git_submodules branch from fbd9818 to 578a987 Compare June 3, 2024 18:34
@lorc lorc merged commit a1405cf into xen-troops:main Jun 3, 2024
1 check passed
@lorc lorc deleted the pr_git_submodules branch June 3, 2024 18:41
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