Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Aurora to Central mirror

2 views
Skip to first unread message

Michal Stanke

unread,
Jan 31, 2016, 9:49:19 AM1/31/16
to dev-l10n
Hi.

Hopefully I am not the only one, who might consider this helpful. Is there
any option how to make Aurora l10n repository to be automatically mirrored
to Central? I have already created a post-pull and post-push hooks, but
they depends on my HG activity.

As a second option, I think about running a small VPS with XX minutes
periodical cron job, automatically pulling from Aurora and pushing to
Central. Is it safe to give VPS an SSH certificate, essentially giving the
VPS commit access?
--
Michal Stanke

Francesco Lodolo

unread,
Jan 31, 2016, 10:01:20 AM1/31/16
to Mozilla l10n Mailing List
> Hopefully I am not the only one, who might consider this helpful. Is there
> any option how to make Aurora l10n repository to be automatically mirrored
> to Central? I have already created a post-pull and post-push hooks, but
> they depends on my HG activity.
>

Hi Michal,
there's no way to automatically do that. I periodically run a script during
the the cycle for some locales (I did it this weekend), but that's it.

The fact that they're tied to your activity makes also sense, since there
will be something to update only when you commit to mozilla-aurora. Even if
there are other people committing to the repo, doing it a few times during
the cycle is more than enough.

Some more notes:
* Not all locales have Nightly builds, only a few of them.
* We might reach a point where we only have one repository instead of 4
(still a lot of discussion happening about this),


As a second option, I think about running a small VPS with XX minutes
> periodical cron job, automatically pulling from Aurora and pushing to
> Central. Is it safe to give VPS an SSH certificate, essentially giving the
> VPS commit access?
>

That's a very bad idea from a security point of view: not only you'll have
to put your certificate on the machine, you also have to load it into the
ssh agent with your certificate's password. I really wouldn't do that.

If you really want, you can setup a cronjob on your machine that runs
periodically when it's on, instead of depending on hg commits to
mozilla-aurora.

Francesco

Michal Stanke

unread,
Jan 31, 2016, 1:15:38 PM1/31/16
to Francesco Lodolo, Mozilla l10n Mailing List
Thank you Francesco. I had doubts about the security. :)

--
Michal Stanke
> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n
>
0 new messages