Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380459 - MERGE_TYPE phases aren't defined
Summary: MERGE_TYPE phases aren't defined
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 10:08 UTC by Brian Harring
Modified: 2019-11-25 08:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring gentoo-dev 2011-08-24 10:08:11 UTC
We never locked down the phases MERGE_TYPE were available during; src_* technically is valid right now, although I've seen no such usage.

Offhand, pkg_setup, pkg_{pre,post}* come to mind; I'm wary of it being available in pkg_pretend since I could see an ebuild author blocking merging something as a binpkg via it (while that's insane, folks due insane shit in ebuilds, no interest in enabling the more special usages).

Thoughts/comments?  I'd prefer this to be retroactive for EAPI4, although it depends on the fallout- likely none, but still.
Comment 1 Ulrich Müller gentoo-dev 2011-08-24 13:20:36 UTC
(In reply to comment #0)
> We never locked down the phases MERGE_TYPE were available during;

Yes we did.
It's legal in pkg_*: <http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-119002>

> I'm wary of it being available in pkg_pretend since I could see an ebuild
> author blocking merging something as a binpkg via it

See bug 347351 comment #1 on why the variable can be useful in pkg_pretend().
Comment 2 Brian Harring gentoo-dev 2011-08-24 17:33:45 UTC
One of these days I'm going to figure out why my ability to search pms rendered doc sucks oh-so-very-much.

pkg_config for MERGE_TYPE (same for pkg_info) is kind of redundant, unless it's mandated we track that level of info (vs tracking the repo it originated from)...
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-08-24 17:46:42 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > We never locked down the phases MERGE_TYPE were available during;
> 
> Yes we did.
> It's legal in pkg_*: <http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-119002>

Er, in pkg_config and pkg_info as well?
Comment 4 Ciaran McCreesh 2011-08-24 17:51:29 UTC
We need to refactor PMS to have some classification of phases so we can stop saying pkg_*... "Source phases", "Install phases", "Uninstall phases", "Special Installed phases", "Special Not Installed phases" or something.
Comment 5 Ulrich Müller gentoo-dev 2019-11-25 08:54:08 UTC
No progress since 2011.
Feel free to reopen with a patch attached.