Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656318 - app-portage/portage-utils: qmerge should respect pkg exclusions
Summary: app-portage/portage-utils: qmerge should respect pkg exclusions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-23 11:08 UTC by Joakim Tjernlund
Modified: 2018-12-21 14:53 UTC (History)
1 user (show)

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 Joakim Tjernlund 2018-05-23 11:08:01 UTC
INSTALL_MASK patterns starting with '-' to indicates that
a specific match is to be excluded from being masked.

details, see:
https://archives.gentoo.org/gentoo-portage-dev/message/29e128a9f41122fa0420c1140f7b7f94
Comment 1 Fabian Groffen gentoo-dev 2018-10-28 10:11:17 UTC
How does this manifest itself?  I might misunderstand this, but '-'-prefixed paths are currently ignored by qmerge -- thus not removed.
Comment 2 Joakim Tjernlund 2018-10-28 10:43:17 UTC
If memory serves right, you can have
  INSTALL_MASK="/some/dir -/some/dir/myfile"
This will exclude everything in /some/dir but the /some/dir/myfile
Comment 3 Fabian Groffen gentoo-dev 2018-10-28 10:46:40 UTC
ah, now I see.  Thanks a lot.
Comment 4 Larry the Git Cow gentoo-dev 2018-12-20 18:24:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e3d45aadf559ba2ff9c929715bbeade5a42e3634

commit e3d45aadf559ba2ff9c929715bbeade5a42e3634
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2018-12-20 18:11:43 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2018-12-20 18:24:30 +0000

    qmerge: support "negative" INSTALL_MASK entries
    
    Reworked qmerge install_mask handling to support negative entries in
    INSTALL_MASK, which "undo" (part of) a previous masking.
    This should implement the same behaviour as
    https://archives.gentoo.org/gentoo-portage-dev/message/29e128a9f41122fa0420c1140f7b7f94
    
    Along the way some behavioural changes were made:
    - pretend mode now prints what would be merged (use with -y to be
      useful)
    - directory objects are recorded and merged again
    
    Bug: https://bugs.gentoo.org/656318
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 qmerge.c | 561 ++++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 393 insertions(+), 168 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2018-12-21 14:53:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff6c805c75168da858bbdd46a76e90fecccb563

commit eff6c805c75168da858bbdd46a76e90fecccb563
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2018-12-21 14:52:44 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2018-12-21 14:53:14 +0000

    app-portage/portage-utils: version bump to v0.74
    
    Closes: https://bugs.gentoo.org/672764
    Closes: https://bugs.gentoo.org/672098
    Closes: https://bugs.gentoo.org/668418
    Closes: https://bugs.gentoo.org/662802
    Closes: https://bugs.gentoo.org/656318
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-portage/portage-utils/Manifest                                      | 2 +-
 .../{portage-utils-0.72.ebuild => portage-utils-0.74.ebuild}            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)