|
From: | John Snow |
Subject: | Re: QEMU release tagging script? |
Date: | Fri, 30 Oct 2020 09:47:04 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 10/30/20 9:38 AM, Peter Maydell wrote:
On Fri, 30 Oct 2020 at 13:32, John Snow <jsnow@redhat.com> wrote:Is there a script that's public that you use for tagging the QEMU release? I see make-release in scripts/, but that's for creating the tarballs after the tagging has been done.I use this script: https://git.linaro.org/people/peter.maydell/misc-scripts.git/tree/qemu-tag-release
Thanks!
I am looking into being able to cut releases for our Python QMP library, but due to constraints in the Python packaging ecosystem I have not yet been able to solve, it requires its own VERSION file. It would be nice if when 5.2.0 is tagged that "0.5.2.0" could be written into ./python/VERSION as well.I'm pretty strongly against having the version hardcoded anywhere except the top level VERSION file. Everything else should read the information from there.
Yeah, I know. I don't want to do it either, but I don't see an alternative that works with Python packaging tooling right now.
The problem is that whenever you run an install, (which runs a python "build"), the source is copied out into a temp directory where it loses all access to the parent directory and any knowledge of .git.
Perhaps someone has a solution, but I've not found one yet. The authors of pip are aware of the problem and are working on a solution, but we don't have one yet.
thanks -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |