[Yum-devel] [PATCH] Adds documentation for the yum.callbacks module.

2011-07-22 Thread Nick Jacek
--- yum/callbacks.py | 101 + 1 files changed, 63 insertions(+), 38 deletions(-) diff --git a/yum/callbacks.py b/yum/callbacks.py index 7ad25ce..a9a8e53 100644 --- a/yum/callbacks.py +++ b/yum/callbacks.py @@ -13,6 +13,8 @@ # along with this p

[Yum-devel] [PATCH] Adds documentation for the yum-updatesd module.

2011-07-22 Thread Nick Jacek
--- yum-updatesd.py | 259 --- 1 files changed, 246 insertions(+), 13 deletions(-) mode change 100644 => 100755 yum-updatesd.py diff --git a/yum-updatesd.py b/yum-updatesd.py old mode 100644 new mode 100755 index 1ce4720..25e3022 --- a/yum-upd

[Yum-devel] [PATCH] Adds documentation for the callback module.

2011-07-22 Thread Nick Jacek
--- callback.py | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/callback.py b/callback.py index 2f6154e..2e5a052 100644 --- a/callback.py +++ b/callback.py @@ -27,10 +27,7 @@ from yum.constants import * class RPMInstallCallback: - -""" -Yum

[Yum-devel] (no subject)

2011-07-22 Thread Nick Jacek
This set of patches adds a script that automatically generates the .rst files for sphinx. However, when sphinx generates documentation for a module, it imports the module, and this is causing a few issues. A few source code files have dashes in their names, e.g. yum-updatesd.py. This means that t

[Yum-devel] [PATCH 1/2] Specifies the encoding of the pygettext.py source file, so the it can be imported without errors.

2011-07-22 Thread Nick Jacek
--- po/pygettext.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/po/pygettext.py b/po/pygettext.py index 276a433..7f13138 100644 --- a/po/pygettext.py +++ b/po/pygettext.py @@ -1,4 +1,5 @@ #!/usr/bin/python +# coding=utf-8 # Originally written by Barry Warsaw # # m

[Yum-devel] [PATCH 2/2] This adds configuration files so that Sphinx can automatically generate html documentation for yum. So far, the default settings for Sphinx are mostly used. To generate the doc

2011-07-22 Thread Nick Jacek
--- docs/sphinxdocs/Makefile| 130 ++ docs/sphinxdocs/conf.py | 228 +++ docs/sphinxdocs/rstgenerator.py | 222 + 3 files changed, 580 insertions(+), 0 deletions(-) create mode 100644 do