Re: Release process

Gary Buhrmaster <[email protected]> Tue, 19 Apr 2022 18:27:18 +0000
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <CAMfXtQzZoZxsh2BWUmZiO20OJOHXUEeFG4zQdPE2QKCTJdJ8tA@mail.gmail.com>
On Tue, Apr 19, 2022 at 4:58 PM Robert Eden <[email protected]> wrote:

> Works great!  I may be out of the alpha-exe job!
>
> Two comments:
> 1. xmltv.exe --version displays the current version and doesn't mention
> it's an "unreleased nightly".  Any idea how/if that should be addressed
> or how other projects deal with it?

No idea in the general case (too many projects,
too many options).  In the projects I tend to
participate in the version displayed is derived
from the git describe that indicates the distance
from the most recent annotated tag, which
can itself cause confusion (because many
consumers of the builds have no idea about
internal git naming).

Currently, the version is in the Makefile.PL,
where that value could (in theory, have not
checked) be set accordingly (if we can decide
on the according), at least for these builds
from a git checkout (obviously tarballs do
not have the git describe available to them
for users of the tarballs).

That may be the most logical way forward?

> 2. The initial run took almost a minute on my system.  That's a normal
> artifact of the size of our image and Par::Packer.  In the wiki, I
> mention a patch to Par::Packer that prints a message on first run.  Not
> sure if you can add that to your setup.. it's already quite impressive,
> but it may avoid panicking folks on first run.  :)

Adding a step to patch par should be possible
if you can create an appropriate patch file.  The
patch utility is installed in the windows runners
(not sure it is in the path, or one needs to invoke
directly; there is some mixed comments around
the interwebs).