Hi,

well this is an old bug. How have you worked around it being open for the past
six years?

Quoting Santiago Vila (2024-04-04 12:57:13)
> I've simplified the proposed patch to the one in the attach, and now it is
> probably as small as it can be without losing readability (two lines).
> 
> It works for me, I have been using it for eight years now, and it's
> still my preferred way to tell sbuild the filename that I want to use
> for the build log.
> 
> [ If the environment variable name is not good enough, just use one which
> makes sense. I will gladly adapt my scripts ]

I'm not happy with using an environment variable for this. Sbuild only has a
single environment variable that is specific to it: SBUILD_CONFIG. The usual
way to customize an sbuild run is via the config or command line arguments, not
via environment variables. Also, your patch is missing documentation.

I also think that there is a more elegant solution to this. If this is just
about the timestamp, why not add a new configuration option which allows
customizing the default strftime format %FT%TZ to be anything else? You could
use such a mechanism to store your own timestamp. This is what you suggested
doing earlier in this bug report.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to