From 0288f3d4a350894adee1f3a0a4abce9874c0fa4a Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 31 Jul 2014 11:17:57 +0100 Subject: Add an ignore, and the examples derived for the chunks we're doing initial implementation for --- .gitignore | 1 + examples/linux.yaml | 22 ++++++++++++++++++++++ examples/screen.yaml | 18 ++++++++++++++++++ examples/vim.yaml | 23 +++++++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 .gitignore create mode 100644 examples/linux.yaml create mode 100644 examples/screen.yaml create mode 100644 examples/vim.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/examples/linux.yaml b/examples/linux.yaml new file mode 100644 index 0000000..85def50 --- /dev/null +++ b/examples/linux.yaml @@ -0,0 +1,22 @@ +name: linux +kind: firehose +description: | + This is an example for tracking Linux kernel tags. We attempt to follow any + tag which happens to be made and then we update the chunk listed in the + x86_64 BSP. + +landing: + repo: baserock:baserock/definitions + ref: baserock/firehose + stratum: bsp-x86_64-generic + chunk: linux-x86-64-generic + method: absolute-sha1 + +tracking: + mode: refs + filters: + - ^refs/tags/ + # Turn vX.Y-rcZ into vX.Y~rcZ so that versions can be ordered + transforms: + - match: (.*)-rc(.*) + replacement: $1~rc$2 diff --git a/examples/screen.yaml b/examples/screen.yaml new file mode 100644 index 0000000..e9ffbd7 --- /dev/null +++ b/examples/screen.yaml @@ -0,0 +1,18 @@ +name: screen +kind: firehose +description: | + This example is for tracking Screen's master branch. This is because + the screen project doesn't seem to tag releases in their repo. + +landing: + repo: baserock:baserock/definitions + ref: baserock/firehose + stratum: tools + chunk: screen + method: absolute-sha1 + +tracking: + mode: follow-tip + ref: refs/heads/master + + diff --git a/examples/vim.yaml b/examples/vim.yaml new file mode 100644 index 0000000..b48dc09 --- /dev/null +++ b/examples/vim.yaml @@ -0,0 +1,23 @@ +name: vim +kind: firehose +description: | + This is an example for tracking ViM tags. We attempt to follow any + tag which happens to be made and then we update the chunk listed in the + tools stratum. + +landing: + repo: baserock:baserock/definitions + ref: baserock/firehose + stratum: tools + chunk: vim + method: absolute-sha1 + +tracking: + mode: refs + filters: + - ^refs/tags/v[0-9]-[0-9] + # Turns vX-YaZ into vX-Y~aZ so that tags can be usefully ordered + transforms: + - match: v([0-9]-[0-9])([^-].*) + replacement: $1~$2 + -- cgit v1.2.1