summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Andy Grover [Fri, 14 Dec 2012 17:27:36 +0000 (09:27 -0800)]
Update README
Last update changed API slightly:
* loaded_modules renamed to modules
* returns a module object instead of (name, size)
Signed-off-by: Andy Grover <agrover@redhat.com>
W. Trevor King [Sat, 20 Oct 2012 01:57:18 +0000 (21:57 -0400)]
MANIFEST.in: add AUTHORS to distibuted source files.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:56:02 +0000 (21:56 -0400)]
Ran update-copyright.py.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:54:20 +0000 (21:54 -0400)]
.update-copyright.conf: update to pipe separators.
This brings the config file up to speed with the following
update-copyright commit:
commit
3c68a1a48419d8b2bbc2ce0e7f1700b996ec30e9
Author: W. Trevor King <wking@tremily.us>
Date: Fri Oct 19 21:52:48 2012 -0400
project: for consistency, also separate ignored paths with pipes.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:31:00 +0000 (21:31 -0400)]
.update-copyright.conf: add MANIFEST.in to ignored files.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:25:46 +0000 (21:25 -0400)]
.update-copyright.conf: add Red Hat alias for Andy Grover.
He seems to be assigning copyright of files he writes to Red Hat.
Avoiding .mailmap so the git log will still attribute changes to him.
I'm not sure which name should go in the AUTHORS file.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:22:33 +0000 (21:22 -0400)]
.update-copyright.conf: add README.rst to ignored files.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 01:02:25 +0000 (21:02 -0400)]
.mailmap: consolidate Andy Grover email addresses.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Sat, 20 Oct 2012 00:16:21 +0000 (20:16 -0400)]
.update-copyright.conf: add copyright configuration.
Use my external update-copyright package to maintain copyright blurbs.
http://pypi.python.org/pypi/update-copyright/
Signed-off-by: W. Trevor King <wking@tremily.us>
Andy Grover [Mon, 22 Oct 2012 18:10:09 +0000 (11:10 -0700)]
Merge pull request #3 from wking/cython
Convert from a raw C extension to Cython and flesh out Module attributes.
W. Trevor King [Fri, 19 Oct 2012 13:10:53 +0000 (09:10 -0400)]
module: fix versions -> info typo in Module._info_get() error message.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 11:49:16 +0000 (07:49 -0400)]
Initialize Kmod.mod_dir to None in __cinit__().
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 11:18:58 +0000 (07:18 -0400)]
Use an OrderedDict for Module.info (preserving modinfo ordering).
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 05:07:42 +0000 (01:07 -0400)]
Add Module.info attribute.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:50:21 +0000 (00:50 -0400)]
Use Cython's libc.errno for EEXIST.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:47:51 +0000 (00:47 -0400)]
Add Module.versions attribute.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:20:31 +0000 (00:20 -0400)]
README.rst: add .rst symlink for GitHub.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:11:17 +0000 (00:11 -0400)]
README: mention Cython dependency.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:10:20 +0000 (00:10 -0400)]
README: cleanup reStructuredText syntax.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:08:00 +0000 (00:08 -0400)]
Add missing copyright blurbs.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:07:39 +0000 (00:07 -0400)]
Add docstrings to kmod.kmod and kmod.kmod.Kmod.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 04:00:53 +0000 (00:00 -0400)]
MANIFEST.in: add missing source to the sdist tarball.
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 03:57:30 +0000 (23:57 -0400)]
Add additional out Module attributes (path, refcnt, ...).
Signed-off-by: W. Trevor King <wking@tremily.us>
W. Trevor King [Fri, 19 Oct 2012 03:30:30 +0000 (23:30 -0400)]
Convert to Cython.
With Cython we get easier memory handling and Python 3 compatibility.
Signed-off-by: W. Trevor King <wking@tremily.us>
Andy Grover [Tue, 17 Apr 2012 18:35:30 +0000 (11:35 -0700)]
update FSF address in COPYING and COPYING.LESSER
Please FSF, never move again.
Signed-off-by: Andy Grover <agrover@redhat.com>
Andy Grover [Mon, 19 Mar 2012 04:53:26 +0000 (21:53 -0700)]
whitespace
Andy Grover [Mon, 19 Mar 2012 04:49:07 +0000 (21:49 -0700)]
add proper error handling to loaded_modules()
We need to check the result of basically all Py* calls and cleanup
properly if they fail.
Signed-off-by: Andy Grover <andy@groveronline.com>
Andy Grover [Tue, 13 Mar 2012 22:06:37 +0000 (15:06 -0700)]
Improve README's description of kmod
Based on text from kmod's README.
Signed-off-by: Andy Grover <agrover@redhat.com>
Andy Grover [Tue, 13 Mar 2012 22:01:03 +0000 (15:01 -0700)]
Make setup.py version match version in .c
Signed-off-by: Andy Grover <agrover@redhat.com>
Andy Grover [Tue, 13 Mar 2012 22:00:37 +0000 (15:00 -0700)]
Add README
Signed-off-by: Andy Grover <agrover@redhat.com>
Andy Grover [Tue, 13 Mar 2012 07:42:22 +0000 (00:42 -0700)]
More cleanup and renaming of stuff. Add docstrings.
Signed-off-by: Andy Grover <andy@groveronline.com>
Andy Grover [Tue, 13 Mar 2012 06:16:35 +0000 (23:16 -0700)]
Add support for listing loaded modules, modprobe, rmmod
And other misc. cleanups and changes.
Signed-off-by: Andy Grover <andy@groveronline.com>
Andy Grover [Mon, 12 Mar 2012 17:41:51 +0000 (10:41 -0700)]
use c99 init for struct init
move casts of pyobject -> kmodobject to the functions from the struct
init.
Andy Grover [Sun, 11 Mar 2012 00:51:49 +0000 (16:51 -0800)]
a skeleton that compiles
Signed-off-by: Andy Grover <andy@groveronline.com>
Andy Grover [Sat, 10 Mar 2012 01:15:42 +0000 (17:15 -0800)]
initial checkin
Signed-off-by: Andy Grover <andy@groveronline.com>