Closed Bug 1669735 Opened 4 years ago Closed 4 years ago

Please import l10n-central in searchfox

Categories

(Webtools :: Searchfox, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: kats)

References

(Blocks 1 open bug)

Details

https://dxr.mozilla.org/l10n-central/ is still key for l10n but not in searchfox yet.

The DXR link looks like it's a conglomerate of the individual language repos at https://hg.mozilla.org/l10n-central - is that correct? If we combine it into a single repo it will be like the current mozilla-mobile repo on searchfox - i.e. will only have text search and not blame or permalinks.

Blocks: byebye-dxr

Using our usual approach of creating a git superproject with submodules for the source repos doesn't work out of the box here, because the submodules would be cinnabar repos and git doesn't like that. See linked issue for details. I should be able to find a workaround.

Assignee: nobody → kats

https://searchfox.org/l10n/source

It'll show up on the main repo list later today when the main release indexer finishes

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Sorry, one follow-up question: we add new repositories to l10n-central from time to time (maybe 2-3 per year). What's the process in this case? DXR would pick them up automatically, what about searchfox?

Flags: needinfo?(kats)

Searchfox will not pick them up automatically, but it should be relatively easy to add them manually as needed. If you file a bug against searchfox we can do that.

Flags: needinfo?(kats)

(In reply to Francesco Lodolo [:flod] from comment #5)

Sorry, one follow-up question: we add new repositories to l10n-central from time to time (maybe 2-3 per year). What's the process in this case? DXR would pick them up automatically, what about searchfox?

Do you know how DXR did this? Like is there some kind of super-wrapper script one can use to check out all of the repo's?

Flags: needinfo?(francesco.lodolo)

(In reply to Andrew Sutherland [:asuth] (he/him) from comment #7)

(In reply to Francesco Lodolo [:flod] from comment #5)

Sorry, one follow-up question: we add new repositories to l10n-central from time to time (maybe 2-3 per year). What's the process in this case? DXR would pick them up automatically, what about searchfox?

Do you know how DXR did this? Like is there some kind of super-wrapper script one can use to check out all of the repo's?

No idea, unfortunately, and not sure who would know at this point.

We had internal documentation, when creating repos, to ask to get that new repo indexed. At some point, we got told this was completely automated, but no details.
https://bugzilla.mozilla.org/show_bug.cgi?id=1534889

Flags: needinfo?(francesco.lodolo)

If it's a huge burden to do it manually I don't think it would be super hard to update the searchfox setup script for this repo to check for new folders in l10n-central and add them automatically. I just didn't bother with it when I was getting the repo set up.

You need to log in before you can comment on or make changes to this bug.