* [gentoo-portage-dev] [PATCH] portageq pquery: Search ebuilds in all repositories be default
@ 2014-12-13 16:06 Arfrever Frehtes Taifersar Arahesis
2014-12-13 17:35 ` Zac Medico
0 siblings, 1 reply; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2014-12-13 16:06 UTC (permalink / raw
To: Gentoo Portage Development
[-- Attachment #1.1: Type: Text/Plain, Size: 258 bytes --]
[[[
portageq pquery: Search ebuilds in all repositories be default.
--all-repos option is no longer supported.
1 call to deprecated portage.repository.config.RepoConfigLoader.mainRepo() function
has been deleted.
]]]
--
Arfrever Frehtes Taifersar Arahesis
[-- Attachment #1.2: portage.patch --]
[-- Type: text/x-patch, Size: 887 bytes --]
--- bin/portageq
+++ bin/portageq
@@ -1075,14 +1075,10 @@
herds.extend(x.split(","))
xml_matchers.append(HerdMatcher(herds))
- repos = []
- if opts.all_repos:
- repos.extend(portdb.repositories.get_repo_for_location(location)
- for location in portdb.porttrees)
- elif opts.repo is not None:
- repos.append(portdb.repositories[opts.repo])
+ if opts.repo is not None:
+ repos = [portdb.repositories[opts.repo]]
else:
- repos.append(portdb.repositories.mainRepo())
+ repos = list(portdb.repositories)
if not atoms:
names = None
@@ -1220,12 +1216,8 @@
},
{
"longopt": "--repo",
- "help": "repo to use (default is PORTDIR if omitted)"
+ "help": "repository to use (all repositories are used by default)"
},
- {
- "longopt": "--all-repos",
- "help": "search all repos"
- }
)
),
(
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] [PATCH] portageq pquery: Search ebuilds in all repositories be default
2014-12-13 16:06 [gentoo-portage-dev] [PATCH] portageq pquery: Search ebuilds in all repositories be default Arfrever Frehtes Taifersar Arahesis
@ 2014-12-13 17:35 ` Zac Medico
2014-12-15 14:13 ` Brian Dolbec
0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2014-12-13 17:35 UTC (permalink / raw
To: gentoo-portage-dev
On 12/13/2014 08:06 AM, Arfrever Frehtes Taifersar Arahesis wrote:
> [[[
> portageq pquery: Search ebuilds in all repositories be default.
>
> --all-repos option is no longer supported.
> 1 call to deprecated portage.repository.config.RepoConfigLoader.mainRepo() function
> has been deleted.
> ]]]
>
> --
> Arfrever Frehtes Taifersar Arahesis
>
LGTM.
--
Thanks,
Zac
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] [PATCH] portageq pquery: Search ebuilds in all repositories be default
2014-12-13 17:35 ` Zac Medico
@ 2014-12-15 14:13 ` Brian Dolbec
0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2014-12-15 14:13 UTC (permalink / raw
To: gentoo-portage-dev
On Sat, 13 Dec 2014 09:35:47 -0800
Zac Medico <zmedico@gentoo.org> wrote:
> On 12/13/2014 08:06 AM, Arfrever Frehtes Taifersar Arahesis wrote:
> > [[[
> > portageq pquery: Search ebuilds in all repositories be default.
> >
> > --all-repos option is no longer supported.
> > 1 call to deprecated
> > portage.repository.config.RepoConfigLoader.mainRepo() function has
> > been deleted. ]]]
> >
> > --
> > Arfrever Frehtes Taifersar Arahesis
> >
>
> LGTM.
+1
--
Brian Dolbec <dolsen>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-15 14:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-13 16:06 [gentoo-portage-dev] [PATCH] portageq pquery: Search ebuilds in all repositories be default Arfrever Frehtes Taifersar Arahesis
2014-12-13 17:35 ` Zac Medico
2014-12-15 14:13 ` Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox