[MERGED] osmo-ci[master]: jobs: yml files: set vim expandtab (and shiftwidth)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Oct 30 04:04:18 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: jobs: yml files: set vim expandtab (and shiftwidth)
......................................................................


jobs: yml files: set vim expandtab (and shiftwidth)

Having tabs in the yml files cause parse errors. For vim convenience, add
comments that instruct vim to expand the tabs to spaces.

Change-Id: I5f0598a31e30d1a9440c40935644bb782f645664
---
M jobs/gerrit-verifications.yml
M jobs/osmocom-nightly-nitb-split.yml
M jobs/osmocom-obs-latest.yml
3 files changed, 6 insertions(+), 0 deletions(-)



diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index cabd5ca..abde21e 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -265,3 +265,5 @@
            console-log-parsers:
              - 'GNU C Compiler 4 (gcc)'
            resolve-relative-paths: true
+
+# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/jobs/osmocom-nightly-nitb-split.yml b/jobs/osmocom-nightly-nitb-split.yml
index 7dbf46f..4c64de4 100644
--- a/jobs/osmocom-nightly-nitb-split.yml
+++ b/jobs/osmocom-nightly-nitb-split.yml
@@ -20,3 +20,5 @@
           git-config-email: 'jenkins at osmocom.org'
     triggers:
       - timed: "@midnight"
+
+# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/jobs/osmocom-obs-latest.yml b/jobs/osmocom-obs-latest.yml
index 337e067..def633f 100644
--- a/jobs/osmocom-obs-latest.yml
+++ b/jobs/osmocom-obs-latest.yml
@@ -20,3 +20,5 @@
           git-config-email: 'jenkins at osmocom.org'
     triggers:
       - timed: "@midnight"
+
+# vim: expandtab tabstop=2 shiftwidth=2

-- 
To view, visit https://gerrit.osmocom.org/4586
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f0598a31e30d1a9440c40935644bb782f645664
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list