[Debian-med-packaging] Bug#1106513: Bug#1106513: routine-update: --64 / ONLY_64_BITS should also amend existings debian/salsa-ci.yml

Charles Plessy plessy at debian.org
Mon May 26 11:50:26 BST 2025


Hi Alexandre,

excellent suggestion!

>"sed -z s/variables:\n/variables:\n  SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1\n/"

This does not seeem to add the variable in the absence of the variables
map.

>But proper YAML editing tools can be prefered.

The following one works but does not preserve order and comments:

yq -iy  '.variables +={SALSA_CI_DISABLE_BUILD_PACKAGE_I386:1}' salsa-ci.yml

I will continue to search for a better solution tomorrow if nobody posts
one…

Have a nice Sunday,

Charles

-- 
Charles Plessy                         Nagahama, Yomitan, Okinawa, Japan
Debian Med packaging team         http://www.debian.org/devel/debian-med
Tooting from work,               https://fediscience.org/@charles_plessy
Tooting from home,                 https://framapiaf.org/@charles_plessy



More information about the Debian-med-packaging mailing list