罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> writes: > On Tue, Oct 6, 2020 at 6:33 PM Peter Maydell <peter.mayd...@linaro.org> > wrote: >> >> On Mon, 5 Oct 2020 at 20:51, Yonggang Luo <luoyongg...@gmail.com> 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 enough, setting pkgversion and version > to '' >> > >> > +# >> > +# Script for retrieve qemu git version information >> > +# >> > +# Author: Yonggang Luo <luoyongg...@gmail.com> >> > +# >> > +# This work is licensed under the terms of the GNU GPL, version 2. See >> > +# the COPYING file in the top-level directory. >> >> Does this have to be GPL-v2-only ? We strongly prefer >> v2-or-later... > Directly copy from other python script, do you have a template for this?
Copy from scripts/qapi-gen.py: # This work is licensed under the terms of the GNU GPL, version 2 or later. # See the COPYING file in the top-level directory.