Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-10-05 Thread Cédric Le Goater
I'm curious if you go to https://gitlab.com/legoater/qemu/-/settings/ci_cd and expand "General pipelines", what value is set for the "Git shallow clone" setting. In my fork it is 0 which means unlimited depth, but in gitlab docs I see reference to repos getting this set to 50 since a pa

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-10-05 Thread Daniel P . Berrangé
On Tue, Oct 05, 2021 at 10:40:00AM +0200, Cédric Le Goater wrote: > > I'm curious if you go to > > > >https://gitlab.com/legoater/qemu/-/settings/ci_cd > > > > and expand "General pipelines", what value is set for the > > > >"Git shallow clone" > > > > setting. In my fork it is 0 which

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Philippe Mathieu-Daudé
On 9/1/21 6:47 PM, Daniel P. Berrangé wrote: > On Wed, Sep 01, 2021 at 06:27:37PM +0200, Cédric Le Goater wrote: >> On 9/1/21 6:24 PM, Philippe Mathieu-Daudé wrote: >>> On 9/1/21 5:53 PM, Daniel P. Berrangé wrote: On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: > On

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Daniel P . Berrangé
On Wed, Sep 01, 2021 at 06:27:37PM +0200, Cédric Le Goater wrote: > On 9/1/21 6:24 PM, Philippe Mathieu-Daudé wrote: > > On 9/1/21 5:53 PM, Daniel P. Berrangé wrote: > >> On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: > >>> On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: > >>>

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Cédric Le Goater
On 9/1/21 6:24 PM, Philippe Mathieu-Daudé wrote: > On 9/1/21 5:53 PM, Daniel P. Berrangé wrote: >> On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: >>> On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: On Wed, Sep 01, 2021 at 04:17:48PM +0100, Peter Maydell wrote: > On We

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Philippe Mathieu-Daudé
On 9/1/21 6:27 PM, Cédric Le Goater wrote: > On 9/1/21 6:24 PM, Philippe Mathieu-Daudé wrote: >> On 9/1/21 5:53 PM, Daniel P. Berrangé wrote: >>> On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: > On Wed, Sep 01, 2021 at 0

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Philippe Mathieu-Daudé
On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: > On Wed, Sep 01, 2021 at 04:17:48PM +0100, Peter Maydell wrote: >> On Wed, 1 Sept 2021 at 15:59, Daniel P. Berrangé wrote: >>> >>> On Wed, Sep 01, 2021 at 04:52:29PM +0200, Philippe Mathieu-Daudé wrote: Properly escape git-describe 'match' pattern

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Philippe Mathieu-Daudé
On 9/1/21 5:53 PM, Daniel P. Berrangé wrote: > On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: >> On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: >>> On Wed, Sep 01, 2021 at 04:17:48PM +0100, Peter Maydell wrote: On Wed, 1 Sept 2021 at 15:59, Daniel P. Berrangé wrot

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Daniel P . Berrangé
On Wed, Sep 01, 2021 at 05:35:42PM +0200, Philippe Mathieu-Daudé wrote: > On 9/1/21 5:21 PM, Daniel P. Berrangé wrote: > > On Wed, Sep 01, 2021 at 04:17:48PM +0100, Peter Maydell wrote: > >> On Wed, 1 Sept 2021 at 15:59, Daniel P. Berrangé > >> wrote: > >>> > >>> On Wed, Sep 01, 2021 at 04:52:29P

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Peter Maydell
On Wed, 1 Sept 2021 at 15:59, Daniel P. Berrangé wrote: > > On Wed, Sep 01, 2021 at 04:52:29PM +0200, Philippe Mathieu-Daudé wrote: > > Properly escape git-describe 'match' pattern to avoid (MinGW): > > > > $ if grep -q "EXESUF=.exe" config-host.mak; then make installer; > > version="$(git d

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Daniel P . Berrangé
On Wed, Sep 01, 2021 at 04:17:48PM +0100, Peter Maydell wrote: > On Wed, 1 Sept 2021 at 15:59, Daniel P. Berrangé wrote: > > > > On Wed, Sep 01, 2021 at 04:52:29PM +0200, Philippe Mathieu-Daudé wrote: > > > Properly escape git-describe 'match' pattern to avoid (MinGW): > > > > > > $ if grep -q "

Re: [PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Daniel P . Berrangé
On Wed, Sep 01, 2021 at 04:52:29PM +0200, Philippe Mathieu-Daudé wrote: > Properly escape git-describe 'match' pattern to avoid (MinGW): > > $ if grep -q "EXESUF=.exe" config-host.mak; then make installer; > version="$(git describe --match v[0-9]*)"; > mv -v qemu-setup*.exe qemu-setup-${

[PATCH] gitlab: Escape git-describe match pattern on Windows hosts

2021-09-01 Thread Philippe Mathieu-Daudé
Properly escape git-describe 'match' pattern to avoid (MinGW): $ if grep -q "EXESUF=.exe" config-host.mak; then make installer; version="$(git describe --match v[0-9]*)"; mv -v qemu-setup*.exe qemu-setup-${version}.exe; fi fatal: No names found, cannot describe anything. ERROR: Job f