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

Bug#907337: WIP packaging VCS



Control: tags -1 +pending +patch

On 2018-08-26 15:27:49, David Bremner wrote:
> In case someone is interested, there is some beginnings of packaging at
>
>    https://salsa.debian.org/bremner/dateparser.git
>
> it is not currently in a state suitable for the archive, but it might be
> a place to start.
>
> Or you could run debmake yourself.

I needed this package as a new dependency for undertime, so I started
from your package and fixed up some stuff. I published the source
package here:

https://salsa.debian.org/python-team/modules/dateparser

... and uploaded the result to NEW.

My main problem was dealing with the test suite, which was failing
at build time. I disabled the build-time test suite and moved it to
autopkgtest, where it *also* was failing. Unfortunately, the test suite
actually fails with the dependency versions that are shipped in Debian
(they are too new!). I reported this a bug upstream and fixed the test
suite to download the dependencies on the fly...

https://github.com/scrapinghub/dateparser/issues/489

It's clearly sub-par: autopkgtest should normally be ran against the
*installed* package, not the source code. But that's the best I could do
while still running the test suite at all. Eventually, the unit tests
could be ran against the dependencies shipped by Debian, once upstream
gets their stuff together, and some smoke tests could be added to
autopkgtest.

I haven't audited or reviewed the source code. At 57k SLOC, it seems
unreasonable to expect that so I just trust that the git repository is
not hostile, unfortunately.

A.

-- 
You are absolutely deluded, if not stupid, if you think that a
worldwide collection of software engineers who can't write operating
systems or applications without security holes, can then turn around
and suddenly write virtualization layers without security holes.
                        - Theo de Raadt


Reply to: