[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie questions on packaging opencpn



Hi Sebastiaan,

On 05/09/18 09:05, Sebastiaan Couwenberg wrote:
> On 9/4/18 8:59 PM, Alec Leamas wrote:
>> On 04/09/18 20:13, Andreas Tille wrote:
>>> Hi Alec,
>>>
>>> On Tue, Sep 04, 2018 at 06:25:29PM +0200, Alec Leamas wrote:
>>>>> I started using
>>>>>
>>>>>    opts="mode=git,pretty=0.0+git%cd.%h"
>>>>
>>>> Have you got a more complete example? Or just a pointer to the actual
>>>> project(s)?
>>>
>>> The first package I was using mode=git was
>>>
>>>    https://salsa.debian.org/med-team/libsmithwaterman
>>>
>>> and I admit if I'm switching a package to this mode I'm always sneaking
>>> into this.
>>
>> Thanks - I have tested and it works.
>>
>> But, I stumble on the line endings, the first thing failing is the
>> patches. And we cannot possibly have patches with dos crlf.
> 
> Why not?
> 
> quilt doesn't care about the line endings of files it patches.

I just foresee all sorts of trouble walking this path. On linux, text
files (even diffs) are supposed to use lf.

The question becomes what is the lesser evil: using a get-orig-source to
retrieve the sources, or messing with crlf patches and who-knows-what
with crlf sources.

My opinion should be clear from how I phrase this question ;)

That said, using the watch file and rework get-orig-source to use uscan
to download the sources is a nobrainer.

Cheers!

--alec


Reply to: