Open GoogleCodeExporter opened 9 years ago
Ciao Sandro,
have you also tried to run the test suite?
Original comment by g.rodola
on 7 Jun 2012 at 10:45
You're right, I hadn't , but I suppose the fellow debian developer had, even if
he didn't reported in the bug log. I'll ask him for the output or i'll run them
myself.
Original comment by sandro.tosi
on 8 Jun 2012 at 9:00
[deleted comment]
Well, the patch as-is can't work as it only includes the C posix extension
module [1].
The remaining part concerning process management is missing.
I don't know anything about GNU/Hurd. Is it a Linux-like OS? Does it support
/proc filesystem? If so can we use the existing Linux implementation[2]?
[1]
http://code.google.com/p/psutil/source/browse/tags/release-0.4.1/psutil/_psutil_
posix.c
[2]
http://code.google.com/p/psutil/source/browse/tags/release-0.4.1/psutil/_pslinux
.py
Original comment by g.rodola
on 9 Jun 2012 at 1:42
GNU/Hurd is a linux-like environment, where the working env is the same (GNU),
but the kernel is different: instead of using Linux it uses Hurd. It seems
there's a basic support to /proc but it probably misses all the info psutil
uses.
I noticed that too, so I asked the developer that opened the bug to investigate
further and at least get to run the tests.
I'll update this bug as soon as I have some updated info.
Original comment by sandro.tosi
on 9 Jun 2012 at 10:35
I've started working on a GNU/Hurd port. Should I keep on working on it ? Do
you mind getting a huge patch ?
Original comment by tipec...@gmail.com
on 2 Nov 2012 at 1:09
Sure go on, although I'm not sure when I'll have time to look into it.
Original comment by g.rodola
on 2 Nov 2012 at 2:30
once we have a patch I can try to run the code on a Debian porterbox and see
how it goes. But I can't commit too much time, but Debian uses would love to
have a port on GNU/Hurd :)
Original comment by sandro.tosi
on 2 Nov 2012 at 6:42
I pushed my work at https://gitorious.org/python-psutil-hurd .
Currently, out of the 93 tests, I get:
- 50 working
- 5 skipped
- 2 failed
- 36 errors
I'll try and keep improving this port.
Original comment by tipec...@gmail.com
on 6 Nov 2012 at 12:34
Original comment by g.rodola
on 2 May 2013 at 2:49
Original issue reported on code.google.com by
sandro.tosi
on 7 Jun 2012 at 10:06Attachments: