WeblateOrg / WeblateOrg/weblate

Renamed repo loses access to GitHub

Open
#21,487 0 comments 0 reactions 1 assignee Claimed by @amCap1712 View on GitHub
Area: VCS Waiting for: Implementation
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the issue

When using GitHub App and the repository is renamed, the integration correctly updates available repos, but the existing components are not updated to reflect this change.

This caused the component to point to non-existing URL. As the repo is read-only with GitHub App, there is no way to recover for the user.

### I already tried

- [x] I've read and searched [the documentation](https://docs.weblate.org/).
- [x] I've searched for similar filed issues in this repository.

### Steps to reproduce the behavior

1. Create repo on GitHub
2. Add componnent for it in Weblate using GitHub App
3. Rename the repo on GitHub
4. Observe the component cannot be updated.

### Expected behavior

The repo URL should be updated accordingly.

### Screenshots

_No response_

### Exception traceback

```pytb

```

### How do you run Weblate?

weblate.org service

### Weblate version

main

### Weblate deploy checks

```shell

```

### Additional context

https://care.weblate.org/#ticket/zoom/13460

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.