Re: New feature for 0.6.103
Hi Andreas,
Andreas Tille <tille@debian.org> writes:
> On Mon, Apr 09, 2018 at 02:02:12PM +0200, Ole Streicher wrote:
>> What I did not yet do is to reparate a "[debian.]blends" Python 3
>> package from it -- this should be done only after inspection/re-doing of
>> the web page, to ensure it is really usable there.
>
> I admit I would love to re-use it for tasks_diff - so if you could find
> some temporary solution how I could somehow cleanly get Deb822List that
> would help but it should be no real blocker.
Deb822List is a special thing, since it should IMO not go to a
(debian.)blends package, but to debian.deb822. What prevents me from
writing a Merge Request on salsa is that the constructor should either
take a (unicode resp. normal) string, a file-like object, or a list of
deb822.Deb822 or dicts to be a universal class.
For the moment, I would recommend just to cut&paste Deb822List from
blends-gen-control. However, tasks_diff may also benefit from a blends
Python package, and it could make the handling much easier (no json), as
if the blends package is in git with a standard tagging:
* git worktree could check out the latest debian/<version> tag to some
temporary dir
* one can create a blends.Blend object from that dir
* one can create a blends.Blend object from the actual dir
* compare them, write out, and you are done.
If you like, I could try that as next step; then I would however just
create a "python3-blends" package (to not interfer with the
python3-debian package).
Cheers
Ole
Reply to: