From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0047158094 for ; Tue, 30 Aug 2022 21:48:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E493EE0867; Tue, 30 Aug 2022 21:48:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD331E0867 for ; Tue, 30 Aug 2022 21:48:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C54C8341222 for ; Tue, 30 Aug 2022 21:48:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 102D0569 for ; Tue, 30 Aug 2022 21:48:30 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1661896095.6af24133782dc5b5455cc0a419002d85c0cdb22b.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/godot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/godot/godot-4.0_alpha14.ebuild X-VCS-Directories: dev-games/godot/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 6af24133782dc5b5455cc0a419002d85c0cdb22b X-VCS-Branch: master Date: Tue, 30 Aug 2022 21:48:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f4c37006-6be2-4e20-a8e6-def886e5ef3e X-Archives-Hash: 85e2128297f7f61b15c65e45feafd78d commit: 6af24133782dc5b5455cc0a419002d85c0cdb22b Author: Ionen Wolkens gentoo org> AuthorDate: Tue Aug 30 19:32:44 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Aug 30 21:48:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af24133 dev-games/godot: give postinst elog about migration to 4 Not super important given imagine devs would know this well, and need to launch as "godot4" so won't be a surprise. But still won't hurt for when this gets keyworded. Signed-off-by: Ionen Wolkens gentoo.org> dev-games/godot/godot-4.0_alpha14.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev-games/godot/godot-4.0_alpha14.ebuild b/dev-games/godot/godot-4.0_alpha14.ebuild index 9844ed38787e..2e22a6f9fe5a 100644 --- a/dev-games/godot/godot-4.0_alpha14.ebuild +++ b/dev-games/godot/godot-4.0_alpha14.ebuild @@ -244,3 +244,13 @@ src_install() { newins misc/dist/shell/_godot.zsh-completion _${s} dosym _${s} /usr/share/zsh/site-functions/_${s}-runner } + +pkg_postinst() { + xdg_pkg_postinst + + if [[ ! ${REPLACING_VERSIONS} ]] && has_version ${CATEGORY}/${PN}:3; then + elog + elog "Remember to make backups before opening any Godot <=3.x projects in Godot 4." + elog "Automated migration is only partial, and it would be difficult to revert." + fi +}