pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Properly retrieve latest commit id from empty repositories

Open bugzilla-to-github opened this issue 8 years ago • 4 comments

This issue was created automatically by a script.

Bug 1396357

Bug Reporter: @flodolo CC: @mathjazz

I've added Interlingua (ia) this morning https://pontoon.mozilla.org/ia/

Repository is available on BitBucket https://bitbucket.org/mozilla-l10n/ia

Added Firefox, but it's stuck on "Not synced yet".

bugzilla-to-github avatar Sep 02 '17 17:09 bugzilla-to-github

Comment Author: @mathjazz

Pontoon uses https://api.bitbucket.org/2.0/repositories/mozilla-l10n/{locale_code}/commit/default to get the latest commit id from.

In the case of the ia repository, there aren't any commits yet, so https://api.bitbucket.org/2.0/repositories/mozilla-l10n/ia/commit/default 404s.

bugzilla-to-github avatar Sep 02 '17 19:09 bugzilla-to-github

Comment Author: @flodolo

Should I wait for a fix on Pontoon's side, or just push one file to the repository in the meantime?

bugzilla-to-github avatar Sep 02 '17 19:09 bugzilla-to-github

Comment Author: @mathjazz

You can go ahead and push something.

bugzilla-to-github avatar Sep 02 '17 19:09 bugzilla-to-github

Lowering priority, since we're no longer adding new per-locale repositories.

mathjazz avatar Apr 04 '24 08:04 mathjazz