Please import l10n-central in searchfox
Categories
(Webtools :: Searchfox, task)
Tracking
(Not tracked)
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.
Assignee | ||
Comment 1•4 years ago
|
||
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.
Reporter | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
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 | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
https://github.com/mozsearch/mozsearch-mozilla/pull/112 adds the l10n meta-repo. Currently test-deployed to https://kats.searchfox.org/l10n/source
Assignee | ||
Comment 4•4 years ago
|
||
https://searchfox.org/l10n/source
It'll show up on the main repo list later today when the main release indexer finishes
Comment 5•4 years ago
|
||
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?
Assignee | ||
Comment 6•4 years ago
|
||
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.
Comment 7•4 years ago
|
||
(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?
Comment 8•4 years ago
|
||
(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
Assignee | ||
Comment 9•4 years ago
|
||
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.
Description
•