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 curre

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 pre

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 dirty

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 `fo

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: 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 fail

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 commit.

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.