From patchwork Mon Nov 12 15:02:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 12811 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D8B1D23E28 for ; Mon, 12 Nov 2012 15:02:15 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 76CE7A18091 for ; Mon, 12 Nov 2012 15:02:15 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so8736379iej.11 for ; Mon, 12 Nov 2012 07:02:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=xHBqLWAtDizu+no4HS0EqnImJA7dZrqGlFJaz9hyMQY=; b=o0ihP2g1TfR1yzd4NLugNC638EpHtDbf0sDUviODdY8gx9ysHC2RkcFlAvCRkuuVbK tie7dXr9U7801PFEZqTWqEpW04QgNmgqLsXS+EvmtiZ6m0sP9ichEPggCy6kI7YgNXkY ywISqLPNVDoLy3yuPjtjBvvSsl+BTdTM7scMaxg3KAK42JSqBkIrLpkXYD1K9GiBEJTF r/zomC5vlekkBu1V4fuw1NwnvCLzUj0O44Ljm5pZ56lmgkqBgPVagB6yEteWrDdJMqaK oW4rh/cDyvCPxg3Wlq7f/lcaFRVg0pxG6H4VCskPfO/dXE4b43kWKMwkUMcD/ZFTJCo5 UjNA== Received: by 10.50.187.197 with SMTP id fu5mr7497326igc.70.1352732534887; Mon, 12 Nov 2012 07:02:14 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp369412igt; Mon, 12 Nov 2012 07:02:14 -0800 (PST) Received: by 10.180.97.72 with SMTP id dy8mr15437217wib.6.1352732533272; Mon, 12 Nov 2012 07:02:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id t20si3587445wei.153.2012.11.12.07.02.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 07:02:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TXvWe-0004wO-9A for ; Mon, 12 Nov 2012 15:02:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 2C206E0101 for ; Mon, 12 Nov 2012 15:02:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 444 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 444: update docs to automatically pull the version Message-Id: <20121112150212.20448.82580.launchpad@ackee.canonical.com> Date: Mon, 12 Nov 2012 15:02:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16251"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 1bf2ae45df528c4eba6e3e0e4c2f17cae1a1d413 X-Gm-Message-State: ALoCoQlymMgC+BNX4lOzOb91RFG3jOgjGiEOpZtyIaJcQw/IIrK7EPGVqHVp8Fi+t8L5+m4lpg0g ------------------------------------------------------------ revno: 444 committer: Andy Doan branch nick: lava-dispatcher timestamp: Mon 2012-11-12 09:00:40 -0600 message: update docs to automatically pull the version modified: doc/conf.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'doc/conf.py' --- doc/conf.py 2012-04-23 05:51:22 +0000 +++ doc/conf.py 2012-11-12 15:00:40 +0000 @@ -58,10 +58,12 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = '0.4' +import versiontools +import lava_dispatcher +version = "%d.%d" % lava_dispatcher.__version__[0:2] # The full version, including alpha/beta/rc tags. -release = '0.6' +release = versiontools.format_version(lava_dispatcher.__version__) + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.