Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Conversation

@dylanaraps
Copy link
Member

@dylanaraps dylanaraps commented Aug 25, 2021

  1. If a repository does not exist in the sources cache it is initialized and then pulled down as shallowly as possible.
  2. If the source tracks latest commit or a specific branch/tag, the package manager will pull changes every build.
  3. If the source tracks a specific commit, the commit will be pulled once and every subsequent build will only do a checkout.

Bugs:

  • Does not handle cases where remote changes.
  • Git runs in checksum mode.

@dylanaraps dylanaraps mentioned this pull request Aug 25, 2021
@dylanaraps dylanaraps mentioned this pull request Aug 25, 2021
@dylanaraps dylanaraps merged commit 88b5989 into master Aug 26, 2021
@dylanaraps dylanaraps deleted the git_cache branch August 26, 2021 10:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants