Hi Sean,

Sean Whitton <[email protected]> writes:

> Hello,
>
> Simon Josefsson [12/Jan  7:55pm +01] wrote:
>> Sean Whitton <[email protected]> writes:
>>
>>> Hello,
>>>
>>> Ian Jackson [12/Jan  6:17pm GMT] wrote:
>>>> I note that the uscan(1) manpage discourages the use of mode=git.
>>>> That seems like bad advice to me.
>>>
>>> If you only want notifications of the availability of new upstream
>>> versions, and won't use uscan to actually obtain them, then because
>>> mode=git is substantially heavier on our infrastructure and upstream's,
>>> it's more considerate not to use it.
>>
>> Isn't that mostly an artifact of the implementation, though?
>>
>> I suppose the PTS watch tracker performs a heavy 'git clone' somehow,
>> and this is the problem?  I got complaints for >512MB git repositories
>> (or some similar limit), so this seems likely.
>>
>> Fetching all tags or the latest git commit on a particular branch is
>> inexpensive.  It doesn't have to do a full clone.
>
> Right.  But so long as that's the implementation, the discouragement is
> apt.

I think recently in uscan `Git-Mode' now defaults to `shallow' when
using `Mode: git' according to `man debian-watch' (version 5 format, and
I think the same applies to version 4 as well), which means it uses
`--depth=1' and hence will be much more lightweight.  I hope this means
that `Mode: git' is not really a heavy operation anymore.

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to