Skip to content

Add option for checking out submodules when building#6

Merged
aelkiss merged 1 commit intomainfrom
build-submodules
Nov 11, 2022
Merged

Add option for checking out submodules when building#6
aelkiss merged 1 commit intomainfrom
build-submodules

Conversation

@aelkiss
Copy link
Member

@aelkiss aelkiss commented Nov 9, 2022

I don't love submodules, but if we're using them, we need to have the option to bake them into any resulting Docker image (see hathitrust/hathifiles#29)

@aelkiss aelkiss requested a review from moseshll November 9, 2022 22:54
aelkiss added a commit to hathitrust/hathifiles that referenced this pull request Nov 11, 2022
@aelkiss aelkiss changed the title Check out submodules by default & build into image Add option for checking out submodules when building Nov 11, 2022
Copy link
Contributor

@moseshll moseshll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can imagine arguments for & against having default: false given the "you probably want to set this" note. But we should probably be in the practice of explicitly setting these flags without relying on defaults, so no harm either way.

@aelkiss
Copy link
Member Author

aelkiss commented Nov 11, 2022

Right, I was waffling, but I ultimately decided that 1) since the default for the checkout action is false and 2) most of what we're using this for now doesn't have submodules we should probably stick with the default, and be explicit about when we need submodules, so this PR is just about exposing the underlying checkout option. Merging.

@aelkiss aelkiss merged commit 91562fe into main Nov 11, 2022
@aelkiss aelkiss deleted the build-submodules branch November 11, 2022 15:40
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.

2 participants