-
Notifications
You must be signed in to change notification settings - Fork 9
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
Submodule support #89
base: main
Are you sure you want to change the base?
Commits on Nov 13, 2023
-
Write a test case using a test fixture repository
This test fails now because the tarball fetching of sources does not include files from the submodule (but the fixture references a file as a data-file)
Configuration menu - View commit details
-
Copy full SHA for 2943666 - Browse repository at this point
Copy the full SHA 2943666View commit details -
Add a GitClone rule which fetches sources using git
Working copies are kept in the _cache/git/ directory.
Configuration menu - View commit details
-
Copy full SHA for ba799ae - Browse repository at this point
Copy the full SHA ba799aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77d2454 - Browse repository at this point
Copy the full SHA 77d2454View commit details -
Fetch already cloned working copies and add test fixture
This adds another version of the same package fetched via git. The same working copy from _cache/git/<owner>/<repo> is re-used in both PrepareSource steps (which hopefully do not conflict) and copied onto individual _cache/<package>/<version> directories. The second package version in the git-submodule fixture _sources also uses a tag name as rev to highlight this is possible as well.
Configuration menu - View commit details
-
Copy full SHA for 7cd94c9 - Browse repository at this point
Copy the full SHA 7cd94c9View commit details -
Make gitCheckout just an Action, no additional rule
This avoids some boiler plate and works just the same.
Configuration menu - View commit details
-
Copy full SHA for cae3ce4 - Browse repository at this point
Copy the full SHA cae3ce4View commit details -
Re-add custom rule for GitClone and use git worktree to prepare source
This re-uses the git repository in the _cache/git/<user>/<repo> directory, but uses a temporary directory to get the worktree for a given rev to prepare the per-package directory in _cache/<package>.
Configuration menu - View commit details
-
Copy full SHA for ac429cc - Browse repository at this point
Copy the full SHA ac429ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 745c03c - Browse repository at this point
Copy the full SHA 745c03cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca51e1b - Browse repository at this point
Copy the full SHA ca51e1bView commit details