Skip to content
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

[Feature] Branch allows for setting expiration times. #4274

Closed
2 tasks done
sunxiaojian opened this issue Sep 27, 2024 · 5 comments
Closed
2 tasks done

[Feature] Branch allows for setting expiration times. #4274

sunxiaojian opened this issue Sep 27, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@sunxiaojian
Copy link
Contributor

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Branch supports expiration time

Solution

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@sunxiaojian sunxiaojian added the enhancement New feature or request label Sep 27, 2024
@sunxiaojian sunxiaojian changed the title [Feature] Branch supports expiration time [Feature] Branch allows for setting expiration times. Sep 27, 2024
@LinMingQiang
Copy link
Contributor

Why we need this feature?

@sunxiaojian
Copy link
Contributor Author

Why we need this feature?

By setting an expiration time, you can automatically manage the lifecycle of branches. For example, you can automatically delete them when experimental branches are no longer needed. Same meaning as "tag.defilt-time-retained" in tag

sunxiaojian added a commit to sunxiaojian/paimon that referenced this issue Oct 10, 2024
sunxiaojian added a commit to sunxiaojian/paimon that referenced this issue Oct 10, 2024
sunxiaojian added a commit to sunxiaojian/paimon that referenced this issue Oct 11, 2024
sunxiaojian added a commit to sunxiaojian/paimon that referenced this issue Oct 11, 2024
@JingsongLi
Copy link
Contributor

I doubt this, branch is a heavy concept to me, it should no be quietly expired.

@sunxiaojian
Copy link
Contributor Author

I doubt this, branch is a heavy concept to me, it should no be quietly expired.

For important branches, you can set no retention time, allowing for long-term existence;
For some unimportant branches, such as test branches or fix branches, a retention time can be set for easy cleaning;
Actually, I think that most branches do not need to exist for a long time and need to be cleaned up after verification

@LinMingQiang
Copy link
Contributor

Because branches are not created frequently or regularly. So I think this kind of branch can be deleted manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants