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

[Feat]: git tag the last source template version #618

Open
1 task done
AndreasAugustin opened this issue Feb 17, 2025 · 0 comments
Open
1 task done

[Feat]: git tag the last source template version #618

AndreasAugustin opened this issue Feb 17, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@AndreasAugustin
Copy link
Owner

Describe the feature

We pull from the source repository.
Within the target repository we can loose the information about the last pulled git hash.
E.g. because of squashed commits. Github will keep those dangling commits some time but will most likely be garbage collected.
To keep the hash within the target repository the commit should be tagged with a version.
Current idea is to use something like the branch name <templatesync_hash>.
It needs to be possible to get an order of those tags to be able to find the last one.

Use Case

The current deletion of files feature is buggy and not working.
To be able to find all deleted remote files the last merge hash must be known.

Proposed Solution

Add the hash and push it together with the branch.

Acknowledgements

  • I may be able to implement this feature request
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
Development

No branches or pull requests

1 participant