-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
403 Error on git push to the weblate git repo #7081
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
Push to Weblate is not supposed to work, push to the upstream repo and let Weblate fetch changes from there. |
I see, thanks for your reply. I don't like very much this choice as for me the upstream branch is the one which should be kept clean and tidy. However I understand that pushing to weblate may not be technically possible due to some bindings between git and the data model. |
The reason is that Weblate is supposed to contain only localization changes compared to upstream. Limiting this would be very problematic at the Git level. What kind of changes are you trying to push when they are not suitable for upstream? |
I want to manage commits manually, in particular squash commits and only integrate language files which I think are mature enough. However, this will inevitably lead to conflicts with the weblate branch. Here I provide a more in-depth explanation of what I want to accomplish. One git-based solution I think it could work is weblate keeping each language into its own branch, with the ability to pull-request a specific language. When the PR is merged upstream, the weblate language branch could discarded and created from scratch upon need. This is just my thinking, I don't know if this is even feasible with weblate or some better approach is already available. |
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
|
What, I think, would work is cherry picking (and squashing) whatever changes you want from the Weblate repo, pushing that upstream and let Weblate rebase on top of that. This way Weblate would still have commits on top of your repo with unfinished translations. |
Thanks for the pointers, I'll experiment with it. |
Describe the issue
I've fixed a merge conflict on my local clone of the hosted weblate git repository for my project. When I try to push the changes to the upstream hosted weblate repo, I get
The requested URL returned error: 403
. I've tried the following URLs without success (username and tokens replaced withmyuser
andmyapitoken
):I've checked https://docs.weblate.org/en/latest/faq.html#how-to-fix-merge-conflicts-in-translations but it didn't help.
Here is a portion of the log when pushing via HTTPS:
I already tried
Steps to reproduce the behavior
git remote add weblate https://hosted.weblate.org/git/pcapdroid/app
git fetch weblate
git checkout -b weblate weblate/master
git remote set-url weblate https://myuser:[email protected]/git/pcapdroid/app/
git push weblate master
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: