Re: d-i repo at dillon

2018-06-16 Thread Christian PERRIER
(/me still reading this thread in case I can help at some point) Quoting Cyril Brulebois (k...@debian.org): > Also wondering if it makes sense to keep $git a variable instead of just > using git everywhere. Maybe we used to require a specific $svn, but I > won't be doing any archeology tonight.

Re: d-i repo at dillon

2018-06-16 Thread Ian Campbell
On Sat, 2018-06-16 at 08:36 +0200, Holger Wansing wrote: > > The original/final lines are a bit strange, though, instead of having: > > > > if $($git foo bar); then … fi > > > > I suppose it should only be: > > > > if $git foo bar; then … fi > > However, with this simplified variant it

Re: d-i repo at dillon

2018-06-16 Thread Holger Wansing
Hi, Holger Wansing wrote: > > This morning, I performed a l10n-sync run with my latest modifications, and > it went through so far. But when committing, I had to give username and > password to commit. What's the way to make it non-interactive? > (I am somewhat confused: I gave "holgerw" as

Re: How to make git push quiet? [ Re: d-i repo at dillon ]

2018-06-16 Thread Holger Wansing
Hi, Holger Wansing wrote: > Holger Wansing wrote: > > > This morning, I performed a l10n-sync run with my latest modifications, > > > and > > > it went through so far. But when committing, I had to give username and > > My first run this morning was ok, because there were two files to

Re: d-i repo at dillon

2018-06-16 Thread Holger Wansing
Hi, Cyril Brulebois wrote: > Hey, > > Holger Wansing (2018-06-15): > > Some cron jobs still fail. Until the reasons have been investigated, I > > have disabled those (3) jobs for now. > > > > Then I started to test the l10n-sync script. > > And it turns out, that there is some changed

How to make git push quiet? [ Re: d-i repo at dillon ]

2018-06-16 Thread Holger Wansing
Hi, Holger Wansing wrote: > Hi, > > Holger Wansing wrote: > > > > This morning, I performed a l10n-sync run with my latest modifications, and > > it went through so far. But when committing, I had to give username and My first run this morning was ok, because there were two files to commit.

Re: d-i repo at dillon

2018-06-16 Thread Holger Wansing
Hi Ian, Ian Campbell wrote: > It seems there is an interesting (and new to me, or at least I'd never > fully appreciated the behaviour) corner case of the `if $(foo); then` > syntax, which is that if `foo` exits producing no output then its exit > code is apparently used for the condition. If

Re: d-i repo at dillon

2018-06-16 Thread Ian Campbell
On Sat, 2018-06-16 at 10:17 +0100, Ian Campbell wrote: > On Sat, 2018-06-16 at 08:36 +0200, Holger Wansing wrote: > > > The original/final lines are a bit strange, though, instead of > having: > > > > > > if $($git foo bar); then … fi > > > > > > I suppose it should only be: > > > > > > if

Re: How to make git push quiet? [ Re: d-i repo at dillon ]

2018-06-16 Thread Henrique de Moraes Holschuh
On Sat, 16 Jun 2018, Holger Wansing wrote: > Untracked files: > ../../.l10n.lock > ../../l10n-sync.log > ../../scripts/dose.tmp/ > ../../scripts/testing-summary/age-policy-dates > ../../scripts/testing-summary/hints/ > > nothing added to commit but untracked files

Re: d-i repo at dillon

2018-06-16 Thread Holger Wansing
Hi, Holger Wansing wrote: > Ian Campbell wrote: > > For perhaps less git magic you could also just write it as: > >if [ -z "$(git status -s -uno path/to/something)" ] ; then clean ; else > > dirty ; fi > > or inversely: > >if [ -n "$(git status -s -uno path/to/something)" ] ; then

Re: d-i repo at dillon

2018-06-16 Thread Cyril Brulebois
Holger Wansing (2018-06-16): > It works this way. > > I have also replaced $git by git. > > And I did some tests, if the l10n-sync script works as it should: > everything looks fine AFAICS. Thanks! > Remaining points are: > - authentication does not work non-interactively (?) > - script