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

Have auto ignore commits older than a certain commit #2364

Open
nnovaeshc opened this issue May 10, 2023 · 2 comments
Open

Have auto ignore commits older than a certain commit #2364

nnovaeshc opened this issue May 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@nnovaeshc
Copy link

Is your feature request related to a problem? Please describe.

When using auto to automatically publish packages from Git repositories, it can be time-consuming and unnecessary for auto to iterate through the entire commit history, especially for repositories with a long history. This can result in performance issues and delays in publishing.

Describe the solution you'd like

I would like to see the addition of one of the two features to address this problem:

1-) The ability to set a specific commit as the starting point for auto. This would allow users to specify a commit where they know the package is already up-to-date, so that auto does not need to traverse the entire commit history.

2-) The ability to limit the total number of commits that auto should navigate. For example, users could set a limit of 100 commits from the latest commit, so that auto only needs to examine the most recent 100 commits. This would help to improve performance and reduce unnecessary iterations over the Git history.

@nnovaeshc nnovaeshc added the enhancement New feature or request label May 10, 2023
@hipstersmoothie
Copy link
Collaborator

I think there is probably a place where we can limit auto from parsing more commits. I'm not really sure where that might be at the moment. If you want to submit a PR with investigations I'd be happy to Shepard that PR. At the time unfortunately I don't see myself doing this soon.

@XDRAGON2002
Copy link

@nnovaeshc @hipstersmoothie I'd like to take this up if hasn't been resolved yet!

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