Project:PostgreSQL/Slot Bump

When to Bump
Slot bumping happens in parallel with the beta release of a new major version. The new slot will match the major version of the next anticipated version beyond the current beta.

This document will walk through the changes required when upstream does the fictional beta release of version 11 -- this will probably be a reality some day, but not at the time of this writing -- and it anticipates the next major version will be 12.

What needs to be bumped
Everything that follows must be committed individually without pushing.

Copy postgresql-10.*.ebuild to postgresql-11_beta?.ebuild
Copy the highest versioned ebuild to be the beta ebuild. The live version (postgresql-9999.ebuild) is not suitable for this as it does not support building just the client programs and libraries.

You will most likely need to create a new no-server.patch file.

Beta and RC packages must be masked. Add the following to profiles/package.mask:

dev-db/postgresql-9999
Bump slot to the next anticipated major version

profiles/base/make.defaults
Change the default POSTGRES_TARGETS to the highest slot with a stable version.

profiles/desc/postgres_targets.desc
Add to the new slot to the description file

eclass/postgres.eclass
Add the new slot to the eclass so simple sorting can keep working. This change of the eclass does not require permission or checking in with anyone.

Push it!
Once you have completed all the changes, you can push the changes.