diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-07-31 11:17:57 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-07-31 11:17:57 +0100 |
commit | 0288f3d4a350894adee1f3a0a4abce9874c0fa4a (patch) | |
tree | 7645fd3f87081eb87e78d00025c7b0cdf0da054b | |
parent | 8820957f747e9b07d9fa32dad5bd774917b65aa4 (diff) | |
download | firehose-0288f3d4a350894adee1f3a0a4abce9874c0fa4a.tar.gz |
Add an ignore, and the examples derived for the chunks we're doing initial implementation for
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | examples/linux.yaml | 22 | ||||
-rw-r--r-- | examples/screen.yaml | 18 | ||||
-rw-r--r-- | examples/vim.yaml | 23 |
4 files changed, 64 insertions, 0 deletions
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 + |