GitHub user tuhaihe added a comment to the discussion: [Ideas] Submodule Pinning

I recently did a test following Ed's suggestions from PR #1084 comments. It 
worked, as I can track versions more effectively on my test branch: 
https://github.com/tuhaihe/cloudberrydb/commits/submodule-update05/, which also 
incorporates the commit SHA as a reliable reference.

I also took a look at the manual on `.gitmodules`, where I found a helpful 
example for upgrading a submodule version, similar to Ed's suggestion: 
https://git-scm.com/docs/gitsubmodules#_workflow_for_a_third_party_library. By 
using this method, we can avoid updating the `.gitmodules` file manually.

Of course, we can specify the branch in the `.gitmodules` file as well like 
your way! Here needs a tradeoff. 

Anyway, let's move forward.

GitHub link: 
https://github.com/apache/cloudberry/discussions/1083#discussioncomment-13127819

----
This is an automatically sent email for dev@cloudberry.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@cloudberry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: dev-h...@cloudberry.apache.org

Reply via email to