This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree".
The branch, master has been updated via 1ae0d8cd29145138c4afa1a816b04bdd93990527 (commit) from 311910244d10dbc6a8f7428e3cd8396721fc93e4 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 1ae0d8cd29145138c4afa1a816b04bdd93990527 Author: Michael Tremer michael.tremer@ipfire.org Date: Sat Mar 20 23:27:12 2010 +0100
naoki: Fix wiki output.
-----------------------------------------------------------------------
Summary of changes: naoki/__init__.py | 16 ++++++++++++++++ naoki/backend.py | 9 ++++++++- 2 files changed, 24 insertions(+), 1 deletions(-)
Difference in files: diff --git a/naoki/__init__.py b/naoki/__init__.py index 314efff..6a83d36 100644 --- a/naoki/__init__.py +++ b/naoki/__init__.py @@ -124,6 +124,22 @@ class Naoki(object):
def call_package_info(self, args): for package in backend.parse_package_info(args.packages): + if args.wiki: + print package.fmtstr("""\ +====== %(name)s ====== +| **Version:** | %(version)s | +| **Release:** | %(release)s | +| **Group:** | %(group)s | +| **License:** | %(license)s | +| **Maintainer:** | %(maintainer)s | +| **Dependencies:** | %(deps)s | +| **Build dependencies:** | %(build_deps)s | +| %(summary)s || +| %(description)s || +| **Website:** | %(url)s | +""") + continue + if args.long: print package.fmtstr("""\ -------------------------------------------------------------------------------- diff --git a/naoki/backend.py b/naoki/backend.py index 4928b8b..33d04dd 100644 --- a/naoki/backend.py +++ b/naoki/backend.py @@ -218,10 +218,12 @@ class PackageInfo(object): @property def all(self): return { + "build_deps" : [dep.name for dep in self.dependencies_build], + "deps" : [dep.name for dep in self.dependencies], "description" : self.description, "filename" : self.filename, "fingerprint" : self.fingerprint, - "files" : self.files, + "files" : self.package_files, "group" : self.group, "license" : self.license, "maintainer" : self.maintainer, @@ -230,6 +232,7 @@ class PackageInfo(object): "patches" : self.patches, "release" : self.release, "summary" : self.summary, + "url" : self.url, "version" : self.version, }
@@ -347,6 +350,10 @@ class PackageInfo(object): return self._data.get("PKG_SUMMARY")
@property + def url(self): + return self._data.get("PKG_URL") + + @property def version(self): return self._data.get("PKG_VER")
hooks/post-receive -- IPFire 3.x development tree