~canonical-kernel/+git/kteam-tools:juergh/lint-and-fix-yamls

Last commit made on 2023-10-30
Get this branch:
git clone -b juergh/lint-and-fix-yamls https://git.launchpad.net/~canonical-kernel/+git/kteam-tools
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
juergh/lint-and-fix-yamls
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

d8ab469... by Juerg Haefliger

lint: Add yamllint pre-commit hook

Signed-off-by: Juerg Haefliger <email address hidden>

8676f05... by Juerg Haefliger

info/kernel-series: Fix more yamllint errors

Fix the following error:
  error too many spaces inside brackets (brackets)

Signed-off-by: Juerg Haefliger <email address hidden>

cf2807c... by Juerg Haefliger

info/kernel-series: Fix yamllint errors

Fix the following errors:
  error too many spaces after colon (colons)
  error too many spaces after comma (commas)
  error too few spaces after comma (commas)

Signed-off-by: Juerg Haefliger <email address hidden>

977a0d5... by Juerg Haefliger

info/kernel-series: Use 4 spaces for indentation everywhere

Indentation is inconsistent, fix that and use 4 spaces everywhere.

Check that the content didn't change:

import yaml
with open("kernel-series.yaml.old", encoding="utf-8") as fh:
  o = yaml.safe_load(fh)
with open("kernel-series.yaml.new", encoding="utf-8") as fh:
  n = yaml.safe_load(fh)
if o != n:
  print("HELP!")

Signed-off-by: Juerg Haefliger <email address hidden>

b8a28e7... by Juerg Haefliger

info/signing-config: Use 4 spaces for indentation

Be consistent with the other yamls in this directory and use 4 spaces
for indentation.

Signed-off-by: Juerg Haefliger <email address hidden>

5515333... by Juerg Haefliger

info/security-cycle: Fix indentation

Signed-off-by: Juerg Haefliger <email address hidden>

d47933e... by Thadeu Lima de Souza Cascardo

security-cycle: add s2023.10.02 cycle info

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

b018d74... by Thadeu Lima de Souza Cascardo

security-cycle: add s2023.10.02 cycle info

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

45cfbcb... by Andy Whitcroft

cranky: promote-snap -- handle latest with branches

Handle removing latest/ correctly when we have stream branches present.

Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

21d13e5... by Andy Whitcroft

cranky: promote-snap -- handle latest with branches

The current channel sanitisation will map both latest/candidate and
latest/candidate/stream2 to candidate leading us to promote to the wrong
channel.

Handle removing latest/ correctly when we have stream branches present.
Also anchor the latest/ prefix check to the start of the channel name.

Signed-off-by: Andy Whitcroft <email address hidden>