summaryrefslogtreecommitdiff
path: root/examples/vim.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vim.yaml')
-rw-r--r--examples/vim.yaml23
1 files changed, 23 insertions, 0 deletions
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
+