Hi,
On 12/2/26 1:30 AM, Agustin Martin wrote:
Yes, because now tests/ is a submodule in the current working directory --
but that is local state influencing the output of uscan, when all we want is
to use the cached objects -- and what's probably worse, uscan also changes
local state by attempting to deinitialize and reinitialize the submodules.
Seems you are completely right. With all the above info I think that the
sensible choice is to always use a cloned git repo if submodules are
requested in debian/watch. As you say, even in the best case local state
will be changed.
That, or a workdir, but we need to take care to clean it up properly.
Most of my packages use git-describe, so they need full clones, making
this a rather expensive and slow operation (that could possibly be fixed
by making it a treeless clone using "--filter=tree:0").
What do you think?
I'll probably look into it over the weekend, depending on how much I'm
in the mood to deal with the AI fanboys after a relaxing week at work
with the luddites. :)
Simon