Wednesday 6 December 2017

Recommending people Snap things in response to valid packaging problems (WAS: Re: need help resolving python-setuptools backport fail)

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJaKICsAAoJEOJ/LPhFjC+kgFsP/2cmai5slEK1n3XyvpOkzjjP
lyChqfaoFlQ4G272w0rOWEOjgOSIM9W52CWeLvcj5EbVvoHso6sHl1ki2XOeUOcT
yozMBCPraXjlu2pY1Hk45Sf+zRhd6zhmp5cmaGjkdnhlkJtV1eT4gwNzPYfCnamX
TaIfWUnZmXTm1cWAgAV19MQ0N+ucPEpRit0FaA7tYCxGL2mbjMnEPD7oFHQ4E46V
TPkE01gUcfFIsdgiaqTlRGjT7AXasvCp8qFG2MAu+sMB6oJARZqLivhMRytt/5tr
MILwazO2Qp6gSN3m5KBUn4NNk3c8EE9jAJjTW9Onotg4SBoi90aNqdfDZVqOlASV
FjFbNAG9GJ7eFmLUP9vuVStMksOiv+aoH+fNiH7s/hQM1/dwvjQtyiMjd0gAD55J
LTpqkPhCTgVACuBzw75Vjy5Nd4d6V3mVi/eQKus41DX/7hG9mrSitRJj6Zk4XrcL
9S4BEt1afZ248slyD0zv2tEw16Ppd6+5pOyfPMm9zcTbhhxwECSWf1P8UWkjSqbr
Myqb47+3HYwzNJXF6rgHaUQV0mSJz4mt6tBGHG/gr7WMF7b3LSUTCkyYpGGOc7u7
vcaSTG8tojnhQzY/tC3wEppXCax1FZVbvbCXc/wxFg6HnTRoSrT9ZdJS6jLk2ew+
6gnuvsW+9OeL0aaaj84C
=YboJ
-----END PGP SIGNATURE-----
Hey,

On 12/06/2017 04:32 AM, Oliver Grawert wrote:
> Yes, if the original question was about a python backport exercise it
> definitely does not answer this and i'm sorry if i de-railed the track
> with the answer ... it is just that creating a 20 line snapcraft.yaml
> file to backport something is a lot easier than having to manage a
> whole python stack :)

The difference here is that in order to figure out that 20 line yaml
file it often takes a fair bit of time (several hours in my experience),
to get all the isolation bits etc. working properly.

I guess maybe I'm not a fan of the fact that now apparently the standard
solution to "I'm having this interesting packaging problem, any ideas?"
is now "have you tried packaging the thing in this completely different
packaging format that oversimplifies things?" because it doesn't really
help the people who want to learn and work on actual packaging (as
opposed to putting everything in a yaml file) and it completely avoids
the actual problem at hand.

But maybe this is just me who has noticed that this is an increasing
trend in responses to emails like this...

>> I
>> find it quite possible that the question will still stand regardless
>> of
>> whether or not I considered a snap. This is a build-level issue, from
>> what I can tell, not necessarily a matter of the packaging framework.
>> That said, do you have any relevant advice?
>>
> not for doing a backport of the whole python stack as deb packages,
> no... i disagree that this is no build level issue though, given that
> snapcraft will simply care for getting the right deps for you without
> any additional backport work when packaging offlineimap with it though
> ... 
>
> anyway, sorry for hijacking the thread, i was just trying to point out
> an easy way here to achieve the same goal ...

"I know how to package in this one format that just involves throwing it
all into a yaml file and it will automagically figure out all the deps
for you" -- doesn't really solve the problem, but as I said above, seems
to be the "blanket solution" nowadays.

Just my two cents, my opinions are my own.

Thanks,
--
Simon Quigley
tsimonq2@ubuntu.com
tsimonq2 on freenode and OFTC
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4