summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/bundle.cfg15
-rw-r--r--samples/example-mirrors.txt5
-rw-r--r--samples/example-package.cfg24
-rw-r--r--samples/testpackage.cfg1
4 files changed, 45 insertions, 0 deletions
diff --git a/samples/bundle.cfg b/samples/bundle.cfg
new file mode 100644
index 0000000..d2c78b3
--- /dev/null
+++ b/samples/bundle.cfg
@@ -0,0 +1,15 @@
+
+name = "example-bundle"
+version = [0,1,10]
+location = "/bundleinfo/example/os-arch/example-os-arch-0.1.10.txt"
+os = "os"
+arch = "arch"
+
+Package(name="example",
+ version=[0,1,2],
+ path="/pkginfo/example/rpm/example.txt",
+ order=(10,10,10),
+ optional=False)
+ShortGloss("en", "Example package is needed to make the ossifrage squeamish.")
+LongGloss("en", "You wouldn't want an unsqueamish ossifrage, would you?")
+
diff --git a/samples/example-mirrors.txt b/samples/example-mirrors.txt
new file mode 100644
index 0000000..c02583e
--- /dev/null
+++ b/samples/example-mirrors.txt
@@ -0,0 +1,5 @@
+
+Mirror(name="moria",
+ urlbase="http://moria.seul.org/thandy-example/",
+ contents=[ "**" ],
+ weight=1)
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.""")
+
diff --git a/samples/testpackage.cfg b/samples/testpackage.cfg
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/samples/testpackage.cfg
@@ -0,0 +1 @@
+