pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Changing repo URLs may break sync

Open bugzilla-to-github opened this issue 10 years ago • 1 comments

This issue was created automatically by a script.

Bug 1216671

Bug Reporter: @Osmose CC: @mathjazz

Our code for detecting where the locale repos are on the filesystem does a search within the checkout_path of a project to find likely directories. If a project changes its repo URL, the files will be checked out in a new directory, but the old directory will still exist until the worker dies, meaning we might mis-identify the old folders as they're still on the filesystem.

Our source resource detection is probably vulnerable to a similar issue as well.

bugzilla-to-github avatar Oct 20 '15 04:10 bugzilla-to-github

Comment Author: @mathjazz

We haven't hit this for a while, lowering priority.

bugzilla-to-github avatar Dec 28 '15 08:12 bugzilla-to-github

This is not solved by #3312. A project's media/projects/[slug]/ directory should be wiped clean when a repo URL is changed.

eemeli avatar Nov 27 '24 13:11 eemeli