gentoo / releng

[MIRROR] Content related to production of releases
https://gitweb.gentoo.org/proj/releng.git
16 stars 16 forks source link

Release/spec*: Replace snapshot with snapshot_treeish #10

Closed immolo closed 6 months ago

immolo commented 1 year ago

To aid with the transition to Catalyst 4 for users this patch replaces the old snapshot option to snapshot_treeish to avoid confusion.

immolo commented 1 year ago

I have left sed -i -e "s|snapshot:.*|snapshot_treeish: ${TREEISH}|g" "${i}" in catalyst-auto for now as I can't see it causing any damage with this patch and seems like a reasonable failback if someone uses the old format by mistake.

https://github.com/gentoo/releng/blob/master/tools/catalyst-auto#L408 shows this in more detail but I'm happy to remove it if preferred.