Right now we deprecate and ban old EAPIs in layout.conf. However, we have no way of making repoman refuse non-standard EAPIs or new EAPIs. I'd say we introduce a new variable stating which EAPIs are allowed, i.e.: allowed-eapis = 0 1 2 3 4 5 6 which would effectively ban EAPIs 7 as well as 5-progress, etc. (CC-ing qa@ for opinion)
Maybe it makes sense to support boolean attribute, or EAPI categories of some sort, so that we don't have to explicitly list all of the "official gentoo" EAPIs. Boolean example: official-gentoo-eapis-only = true official-gentoo-eapi-max = 6 Category example: allowed-eapi-categories = official-gentoo official-gentoo-eapi-max = 6 The official-gentoo-eapi-max attribute is only needed if we want to prevent new official EAPIs from being automatically allowed.