summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-17 11:57:56 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-17 12:01:32 +0100
commit9e3a21021459c5027fa8be75263f9c243e5fef7c (patch)
tree21f1aecc9d5b3d1ea61d2157250d47fb88b21b0f
parentbf1e22f4dabcef248c2c7538375f003a28b022a0 (diff)
downloadappstream-glib-9e3a21021459c5027fa8be75263f9c243e5fef7c.tar.gz
trivial: Add example scripts for Fedora and Ubuntu
-rwxr-xr-xcontrib/fedora-20.sh12
-rwxr-xr-xcontrib/fedora-rawhide.sh14
-rwxr-xr-xcontrib/ubuntu-utopic.sh8
3 files changed, 34 insertions, 0 deletions
diff --git a/contrib/fedora-20.sh b/contrib/fedora-20.sh
new file mode 100755
index 0000000..25349d6
--- /dev/null
+++ b/contrib/fedora-20.sh
@@ -0,0 +1,12 @@
+time client/appstream-builder \
+ --api-version=0.41 \
+ --log-dir=../createrepo_as_logs \
+ --temp-dir=./contrib/tmp \
+ --cache-dir=./contrib/cache \
+ --packages-dir=../fedora-appstream/fedora-20/packages/ \
+ --extra-appstream-dir=../fedora-appstream/appstream-extra \
+ --extra-appdata-dir=../fedora-appstream/appdata-extra \
+ --extra-screenshots-dir=../fedora-appstream/screenshots-extra \
+ --output-dir=./contrib \
+ --basename=fedora-20 \
+ --screenshot-uri=http://alt.fedoraproject.org/pub/alt/screenshots/f20/
diff --git a/contrib/fedora-rawhide.sh b/contrib/fedora-rawhide.sh
new file mode 100755
index 0000000..9058470
--- /dev/null
+++ b/contrib/fedora-rawhide.sh
@@ -0,0 +1,14 @@
+#sudo mount -t tmpfs -o size=1G,nr_inodes=5k tmpfs /mnt/
+time client/appstream-builder \
+ --api-version=0.7 \
+ --use-package-cache \
+ --log-dir=../createrepo_as_logs \
+ --temp-dir=./contrib/tmp \
+ --cache-dir=./contrib/cache \
+ --packages-dir=../fedora-appstream/fedora-rawhide/packages/ \
+ --extra-appstream-dir=../fedora-appstream/appstream-extra \
+ --extra-appdata-dir=../fedora-appstream/appdata-extra \
+ --extra-screenshots-dir=../fedora-appstream/screenshots-extra \
+ --output-dir=./contrib \
+ --basename=fedora-21 \
+ --screenshot-uri=http://alt.fedoraproject.org/pub/alt/screenshots/f21/
diff --git a/contrib/ubuntu-utopic.sh b/contrib/ubuntu-utopic.sh
new file mode 100755
index 0000000..2287983
--- /dev/null
+++ b/contrib/ubuntu-utopic.sh
@@ -0,0 +1,8 @@
+time client/appstream-builder \
+ --log-dir=./contrib/logs-ubu \
+ --temp-dir=./contrib/tmp-ubu \
+ --cache-dir=./contrib/cache-ubu \
+ --packages-dir=/media/raid/Archive/Ubuntu/ \
+ --extra-appdata-dir=../fedora-appstream/appdata-extra \
+ --output-dir=./contrib \
+ --basename=ubuntu-utopic