summaryrefslogtreecommitdiff
path: root/samples/example-package.cfg
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-10-14 05:04:40 +0000
committerNick Mathewson <nickm@torproject.org>2008-10-14 05:04:40 +0000
commitfb5a6115a6f3ea0216e3ca0645ba1eb31fb02876 (patch)
tree76a0b3276b5d60eb7ed5d4a783a1cb41ec89c664 /samples/example-package.cfg
parent047f0117bf3ccf5b7e1a36b760a5c75f988bc72e (diff)
Implement all of signing-side and server-side for updater, and the core loops of client-side. More downloader support is needed, and more polishing. See TODO for details. This no longer matches glider-spec.txt exactly. Notably, it uses json instead of sexp.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17084 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'samples/example-package.cfg')
-rw-r--r--samples/example-package.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/samples/example-package.cfg b/samples/example-package.cfg
new file mode 100644
index 0000000..527211b
--- /dev/null
+++ b/samples/example-package.cfg
@@ -0,0 +1,24 @@
+
+
+# This is package is name 'example'
+name = "example"
+
+# Encodes version 0.1.2.
+version = [0, 1, 2]
+
+# What kind of package is this?
+format = "rpm"
+
+# Where in the repository does it go?
+location = "/pkginfo/example/rpm/example.txt"
+
+# Where in the repository does its underlying rpm file go?
+relpath = "/data/example-0.1.2.rpm"
+
+# Decriptions of the package.
+ShortDesc('en', "Example package")
+LongDesc('en',
+"""This is an example package.
+
+Its description is not quite so long as it might be, but hey.""")
+