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

Import comments from a git history #8479

Open
GYariza opened this issue Dec 14, 2022 · 4 comments
Open

Import comments from a git history #8479

GYariza opened this issue Dec 14, 2022 · 4 comments
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.

Comments

@GYariza
Copy link

GYariza commented Dec 14, 2022

Describe the problem

When I import a project from git(ssh) on Weblate, I hope it will automaticly fill the gitcomments into weblate's Comments.As the picture shows: the left part is my code system,right part is weblate
image

Describe the solution you'd like

Is it possible for weblate developers to make a feature using javaapi like (blameResult.getSourceCommit(i).getFullMessage()) to get the gitcommit information of every string?

https://archive.eclipse.org/jgit/docs/jgit-2.0.0.201206130900-r/apidocs/org/eclipse/jgit/blame/BlameResult.html

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Dec 14, 2022

Weblate currently does not look into Git for comments. I'm afraid it's desired in many use cases, so it would have to be an opt-in feature, most likely implemented as an add-on.

@nijel nijel added enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship. labels Dec 14, 2022
@github-actions
Copy link

This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate.

Please try to clarify the use case or consider proposing something more generic to make it useful to more users.

@GYariza
Copy link
Author

GYariza commented Dec 14, 2022

Thank you for your reply, I hope this feature can be developed in the future.

@luzpaz
Copy link
Contributor

luzpaz commented Jul 14, 2023

Maybe title this feature with a less generic title ?

@nijel nijel changed the title About Comments Import comments from a git history Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.
Projects
None yet
Development

No branches or pull requests

3 participants