This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Talk:Gentoo ebuild tree from scratch

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

Suggested verification script

Talk status
This discussion is still ongoing as of August 7, 2018.

I use the following script in /etc/portage/repo.postsync.d/ in conjunction with the recently added app-portage/gverify package.

CODE gentoo_verify.sh
#!/bin/bash

repository_name="${1}"
repository_path="${3}"

[[ ${repository_name} == "gentoo" ]] || exit 0

source /lib/gentoo/functions.sh

ebegin "Verifying gentoo repository"
cd "${repository_path}"
gverify ORIG_HEAD..HEAD
eend $?

Maybe this is an approach worth adding to this page?

--Poncho (talk) 07:40, 7 August 2018 (UTC)

Looks great to me, Poncho (Poncho) . Go for it! --Maffblaster (talk) 17:10, 7 August 2018 (UTC)