Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .generator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN tar -xvf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -C pandoc-binary --stri
# This needs to be a single command so that the git clone command is not cached
RUN git clone https://github.com/googleapis/synthtool.git synthtool && \
cd synthtool && \
git checkout 6702a344265de050bceaff45d62358bb0023ba7d
git checkout 5dc7e990bb38ef8bc3d71cae6304e74d3037b9ef
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For maintainability, it's good practice to add a comment explaining why a specific commit hash is being used. This provides context for future developers directly in the code, explaining the purpose of this dependency pin without needing to check git history or pull requests.

    git checkout 5dc7e990bb38ef8bc3d71cae6304e74d3037b9ef # Pin to commit that skips venv for nox format


# --- Final Stage ---
# This stage creates the lightweight final image, copying only the
Expand Down
Loading