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

Hey @ChaosEternal when reviewing the PR, I found it hard to compare the commit 
SHA with the corresponding branch, which will not be friendly for future review 
and maintenance.  When referring to the `main/master` branch in the 
`.gitmodules` file, I saw that the latest commit SHA has changed for most 
projects.

Here is my proposal for this:
- If the projects have tags, we can use the tags as a mark to have an 
eye-friendly view, and if needed, can add the commit SHA and commit date as a 
comment for tag tracking to prevent the tags from being forced removed in the 
upstream projects.
- If the projects have no tags with only the main branch, we can specify one 
commit in the main branch as the mark, and can add the commit date as a comment 
for note.

For the concern on upstream projects, I think if the upstream projects have 
been removed or shut down, then we need to seek an active alternative to them, 
but for now, at the very lowest possibility. So let's get started with an easy 
way to proceed. 

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

----
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