From: Alexander Berntsen <alexander@plaimi.net>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask
Date: Sat, 25 Jan 2014 20:07:33 +0100 [thread overview]
Message-ID: <52E40B75.80609@plaimi.net> (raw)
In-Reply-To: <CAJ0EP408ncVB5zMF92upG+eQ0K2JT8WJbchm3XJFzrWj=c2_sw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 19/01/14 17:49, Mike Gilbert wrote:
> Please give me a way to shut off autounmask entirely no mater what
> other options I pass to emerge.
Here you go.
I don't have time to figure out how send-email's --in-reply-to option
works right now. If someone wants to tell me how to find the
Message-ID (using Thunderbird), I would be grateful for the effort.
- --
Alexander
alexander@plaimi.net
http://plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlLkC3UACgkQRtClrXBQc7Un7gD8DFjXDZzWypJiCD7GFdXIiGEg
Gbzl2rZb3b9JOssNC8sA/3JdcsQI315GJ8szKYBsadmcZVC/k2/gZE8ZnW2qXtK+
=SJ9h
-----END PGP SIGNATURE-----
[-- Attachment #2: 0001-emerge-Let-autounmask-n-override-other-options.patch --]
[-- Type: text/x-patch, Size: 1266 bytes --]
From 3a4cd65e97d7323562fba9669a14f5caa5523eeb Mon Sep 17 00:00:00 2001
From: Alexander Berntsen <alexander@plaimi.net>
Date: Sat, 25 Jan 2014 20:03:00 +0100
Subject: [PATCH] emerge: Let --autounmask=n override other options
---
pym/_emerge/depgraph.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index e8b680d..2d32190 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -427,7 +427,8 @@ class _dynamic_depgraph_config(object):
self._backtrack_infos = {}
self._buildpkgonly_deps_unsatisfied = False
- self._autounmask = True
+ self._autounmask = \
+ depgraph._frozen_config.myopts.get("--autounmask") != 'n'
self._success_without_autounmask = False
self._traverse_ignored_deps = False
self._complete_mode = False
@@ -6808,7 +6809,7 @@ class depgraph(object):
ask = "--ask" in self._frozen_config.myopts
autounmask_write = ask or \
- self._frozen_config.myopts.get("--autounmask", "n") == True
+ self._frozen_config.myopts.get("--autounmask", "y")
autounmask_unrestricted_atoms = \
self._frozen_config.myopts.get("--autounmask-unrestricted-atoms", "n") == True
quiet = "--quiet" in self._frozen_config.myopts
--
1.8.3.2
next prev parent reply other threads:[~2014-01-25 19:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 0:21 [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask Alexander Berntsen
2014-01-19 0:21 ` [gentoo-portage-dev] [PATCH 2/3] emerge: Rename --autounmask-write to --autounmask Alexander Berntsen
2014-01-19 2:14 ` Mike Gilbert
2014-01-19 2:15 ` Alec Warner
2014-01-19 10:18 ` Alexander Berntsen
2014-01-19 9:20 ` Mike Frysinger
2014-01-19 10:48 ` Alexander Berntsen
2014-01-20 5:45 ` Mike Frysinger
2014-01-19 0:21 ` [gentoo-portage-dev] [PATCH 3/3] emerge: Make --autounmask=y if --ask=y Alexander Berntsen
2014-01-19 8:01 ` [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask Pacho Ramos
2014-01-19 10:23 ` Alexander Berntsen
2014-01-19 10:26 ` Alexander Berntsen
2014-01-19 10:32 ` Pacho Ramos
2014-01-19 10:47 ` Alexander Berntsen
2014-01-19 16:49 ` Mike Gilbert
2014-01-19 18:27 ` Alexander Berntsen
2014-01-25 19:07 ` Alexander Berntsen [this message]
2014-01-27 22:00 ` Tom Wijsman
2014-01-27 22:13 ` Alexander Berntsen
2014-01-27 22:26 ` Tom Wijsman
2014-01-27 22:54 ` Alexander Berntsen
2014-01-25 3:10 ` Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52E40B75.80609@plaimi.net \
--to=alexander@plaimi.net \
--cc=gentoo-portage-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox