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

Weblate could not push changes to the upstream repository #7129

Closed
2 tasks done
ManeraKai opened this issue Jan 20, 2022 · 7 comments
Closed
2 tasks done

Weblate could not push changes to the upstream repository #7129

ManeraKai opened this issue Jan 20, 2022 · 7 comments
Labels
question This is more a question for the support than an issue.

Comments

@ManeraKai
Copy link

Describe the issue

It was working fine yesterday. It's now unable to push to my Repo. I have authorization setup and everything working fine. The only think I may did in that time was resetting it in the Maintenance tab.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

I don't know how

Expected behavior

To just push normally as yesterday.

Screenshots

image

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

@ManeraKai ManeraKai added the question This is more a question for the support than an issue. label Jan 20, 2022
@github-actions
Copy link

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!

@nijel
Copy link
Member

nijel commented Jan 20, 2022

The push to https without credentials could never work, so most likely some configuration was changed. Follow the hints in the alert to fix that.

@ManeraKai
Copy link
Author

ManeraKai commented Jan 20, 2022

Thanks! For anyone who is still struggling:
Generate A Personal access token, give it the repos permission. Copy the token to use it in the next step.

image

In the Settings for a component in Weblate, use this Repository push URL:
https://username:tokenxxxxxxxxxx@github.com/username/repo.git

Ex: https://ManeraKai:tokenxxxxxxxxxx@github.com/ManeraKai/simplytranslate_mobile.git

image

Hopefully it works for you.

@ManeraKai
Copy link
Author

ManeraKai commented Jan 21, 2022

Problem with this now is that it doesn't make a pull request, it just pushes them directly to the Repo.

@nijel
Copy link
Member

nijel commented Jan 21, 2022

That is expected with "Git" as version control, you need "GitHub" for that. See https://docs.weblate.org/en/latest/admin/continuous.html#pushing-changes-from-weblate

@ManeraKai
Copy link
Author

ManeraKai commented Jan 21, 2022

So there is no need for credentials if I selected GitHub in Vesion Control. Yeah, I'm so smart to not notice that!
It was like that before. I may changed it without noticing.

@github-actions
Copy link

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.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants