Re: [PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-06 Thread Markus Armbruster
罗勇刚(Yonggang Luo) writes: > On Tue, Oct 6, 2020 at 6:33 PM Peter Maydell > wrote: >> >> On Mon, 5 Oct 2020 at 20:51, Yonggang Luo wrote: >> > >> > The sh script are harder to maintain for compatible different >> > xsh environment so convert it to python script >> > Also incorporate the fixes in

Re: [PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-06 Thread Yonggang Luo
On Tue, Oct 6, 2020 at 6:33 PM Peter Maydell wrote: > > On Mon, 5 Oct 2020 at 20:51, Yonggang Luo wrote: > > > > The sh script are harder to maintain for compatible different > > xsh environment so convert it to python script > > Also incorporate the fixes in > > https://patchew.org/QEMU/20200929

Re: [PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-06 Thread Peter Maydell
On Mon, 5 Oct 2020 at 20:51, Yonggang Luo wrote: > > The sh script are harder to maintain for compatible different > xsh environment so convert it to python script > Also incorporate the fixes in > https://patchew.org/QEMU/20200929143654.518157-1-marcandre.lur...@redhat.com/ > > Testing args lengt

Re: [PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-06 Thread Paolo Bonzini
On 05/10/20 21:51, Yonggang Luo wrote: > The sh script are harder to maintain for compatible different > xsh environment so convert it to python script > Also incorporate the fixes in > https://patchew.org/QEMU/20200929143654.518157-1-marcandre.lur...@redhat.com/ > > Testing args length and if not

Re: [PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-05 Thread Marc-André Lureau
On Mon, Oct 5, 2020 at 11:52 PM Yonggang Luo wrote: > The sh script are harder to maintain for compatible different > xsh environment so convert it to python script > Also incorporate the fixes in > > https://patchew.org/QEMU/20200929143654.518157-1-marcandre.lur...@redhat.com/ > > Testing args l

[PATCH v3] scripts: Convert qemu-version.sh to qemu-version.py

2020-10-05 Thread Yonggang Luo
The sh script are harder to maintain for compatible different xsh environment so convert it to python script Also incorporate the fixes in https://patchew.org/QEMU/20200929143654.518157-1-marcandre.lur...@redhat.com/ Testing args length and if not enough, setting pkgversion and version to '' Sign