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

Bug#829046: Difficulties in packaging pagure



在 2017年5月18日星期四 +08 上午2:43:33,Shengjing Zhu 写道:
> Hi,
> 
> I tried to build this package and fix the tests errors.
> My work is on:
> https://pagure.io/fork/zhsj/pagure/blob/debian/f/debian
> 
> Now, it can build 2.15 successfully.
> There still needs three patches. one of them is applied
> in trunk.

There are some problems: this packaging uses upstream source code directly 
from from Git repository, not the tarball upstream released on https://
pagures.io.

The tarballs contain different distributed files than git repo because tarballs 
are generated by "python setup.py sdist", which would drop some scripts. Among 
the dropped files there is the "runtest.sh" script, on which this packaging 
instruction relies.

There is a known workaround: we could switch the upstream from https://
pagures.io/pagures to its mirror on GitHub [1]. The tarball provided by GitHub 
is simply a compression of files checked out from git tag. I'm not sure if that 
is acceptable.

[1] https://github.com/pypingou/pagure/

--
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: