Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Alexandros Afentoulis-3
Package: wnpp
Severity: wishlist
Owner: Alexandros Afentoulis <[hidden email]>
X-Debbugs-Cc: [hidden email], [hidden email]

* Package name    : pystemd
  Version         : 0.5.0
  Upstream Author : Alvaro Leiva <[hidden email]>
* URL             : https://github.com/facebookincubator/pystemd
* License         : BSD
  Programming Lang: Python
  Description     : Cython-based wrapper on top of libsystemd

pystemd is a thin Cython-based wrapper on top of libsystemd, focused on
exposing the dbus API via sd-bus in an automated and easy to consume way.

It allows talking to systemd over dbus from python, programmatically
start/stop/restart/kill and verify services status from systemd point of
view, avoiding executing "subprocess.Popen(['systemctl', ..." and then
parsing the output to know the result. pystemd also includes a
systemd-run equivalent as well as provides an interface to sd_notify.

===

The presence of the PATENTS file in pystemd troubled me a bit. I was not
sure if it complies with DFSG. Digging through the debian-legal list,
and considering similar cases [1] [2], I assume that this legal thing is
not blocking packaging of pystemd.

[1]: https://lists.debian.org/debian-legal/2014/10/msg00064.html
[2]: https://lists.debian.org/debian-legal/2017/05/msg00008.html

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Benjamin Drung-6
Hi,

On Sun, 21 Oct 2018 23:18:29 +0300 Alexandros Afentoulis <
[hidden email]> wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Alexandros Afentoulis <[hidden email]>

what is the current status of packaging pystemd? I am interested in the
Debian package of it and can offer to sponsor the package if needed.

Upstream changed the license to LGPL-2.1+ (from BSD+Patents). So the
possible licensing issues has been resolved.

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: [hidden email] | Web: www.ionos.de

Head Office: Berlin, Germany
District Court Berlin Charlottenburg, Registration number: HRB 125506 B
Executive Management: Christoph Steffens, Matthias Steinberg, Achim
Weiss

Member of United Internet

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Alexandros Afentoulis-3
On 8/30/19 6:25 PM, Benjamin Drung wrote:
> Hi,
>
>
> what is the current status of packaging pystemd? I am interested in the
> Debian package of it and can offer to sponsor the package if needed.
>
> Upstream changed the license to LGPL-2.1+ (from BSD+Patents). So the
> possible licensing issues has been resolved.
>

Hello Benjamin,

thanks for asking!

I've already made some packaging work found here:
https://salsa.debian.org/python-team/modules/pystemd

Current status of package in salsa repo:
- contains latest upstream release v0.6. Said version does indeed change
the license to LGPL-2.1+ , yay.
- successfully builds working binary packages
- successfully passes upstream's unitests during dpkg build
- autopkgtest fails since it cannot find a dbus.service, as seen here:
https://salsa.debian.org/python-team/modules/pystemd/-/jobs/227636 . I'm
confident we'll be able to make this work as well. Perhaps moving away
from docker in Salsa's CI may help, e.g. switching to autopkgtest-lxc.
- lintian reports no major issues

I would certainly appreciate sponsorship for that package :) I'll take a
look into fixing autopkgtest in Salsa next week.

Regards,
Alex

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Alexandros Afentoulis-3
In reply to this post by Benjamin Drung-6
I actually fixed autopkgtest in Salsa by simply using CI team's pipeline
predefined jobs. They've done great work there.

https://salsa.debian.org/python-team/modules/pystemd/pipelines/68325

So please take a look at the package and let me know how to proceed.

Cheers,
Alex

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Benjamin Drung-6
Hi,

Am Samstag, den 31.08.2019, 16:08 +0300 schrieb Alexandros Afentoulis:
> I actually fixed autopkgtest in Salsa by simply using CI team's
> pipeline
> predefined jobs. They've done great work there.
>
> https://salsa.debian.org/python-team/modules/pystemd/pipelines/68325
>
> So please take a look at the package and let me know how to proceed.

I had a look at it and pushed three smaller commits. I left two points
for you before uploading it:

1) Please update debian/copyright to reflect the license change

2) Please upgrade debhelper 11 to version 12

Besides that, lintian found some spelling issues. Please report them
upstream so that they are repaired in their next release.

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: [hidden email] | Web: www.ionos.de

Head Office: Berlin, Germany
District Court Berlin Charlottenburg, Registration number: HRB 125506 B
Executive Management: Christoph Steffens, Matthias Steinberg, Achim
Weiss

Member of United Internet

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Alexandros Afentoulis-4
On 9/2/19 12:42 PM, Benjamin Drung wrote:

> Hi,
>
>
> I had a look at it and pushed three smaller commits. I left two points
> for you before uploading it:
>
> 1) Please update debian/copyright to reflect the license change
>
> 2) Please upgrade debhelper 11 to version 12
>

done, commits in Salsa

> Besides that, lintian found some spelling issues. Please report them
> upstream so that they are repaired in their next release.
>
done, https://github.com/facebookincubator/pystemd/pull/34

Cheers

Reply | Threaded
Open this post in threaded view
|

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Benjamin Drung-6
Hi,

Am Montag, den 02.09.2019, 20:12 +0300 schrieb Alexandros Afentoulis:

> On 9/2/19 12:42 PM, Benjamin Drung wrote:
> > Hi,
> >
> >
> > I had a look at it and pushed three smaller commits. I left two
> > points
> > for you before uploading it:
> >
> > 1) Please update debian/copyright to reflect the license change
> >
> > 2) Please upgrade debhelper 11 to version 12
> >
>
> done, commits in Salsa

Thanks. I had to correct the license name. I created a release commit
and uploaded it to Debian. Now let's wait for it to pass the NEW queue.

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: [hidden email] | Web: www.ionos.de

Head Office: Berlin, Germany
District Court Berlin Charlottenburg, Registration number: HRB 125506 B
Executive Management: Christoph Steffens, Matthias Steinberg, Achim
Weiss

Member of United Internet