public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect:master commit in: libs/, /
Date: Sat, 10 Dec 2016 08:18:18 +0000 (UTC)	[thread overview]
Message-ID: <1480854121.eb8e92c757d14ed3c1769d622a5588a5d47f3a3e.ulm@gentoo> (raw)

commit:     eb8e92c757d14ed3c1769d622a5588a5d47f3a3e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 06:04:34 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 12:22:01 2016 +0000
URL:        https://gitweb.gentoo.org/proj/eselect.git/commit/?id=eb8e92c7

Fix pkgcore support.

* libs/package-manager.bash.in (get_repositories)
(get_repo_news_dir): Fix pinspect calls, bug 304011.

 ChangeLog                    | 3 +++
 libs/package-manager.bash.in | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4d12473..0d77f5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-12-04  Ulrich Müller  <ulm@gentoo.org>
 
+	* libs/package-manager.bash.in (get_repositories)
+	(get_repo_news_dir): Fix pinspect calls, bug 304011.
+
 	* modules/news.eselect (find_items, find_repo_dir): Check return
 	status of package manager calls, bug 601506.
 

diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index b6d8218..aececfd 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -180,7 +180,7 @@ has_version() {
 get_repositories() {
 	case $(package_manager) in
 		portage) portageq get_repos "${EROOT:-/}" ;;
-		pkgcore) pinspect portageq get_repositories ;;
+		pkgcore) pinspect portageq get_repos "${ROOT:-/}" ;;
 		paludis) run_paludis print-repositories ;;
 	esac
 }
@@ -193,7 +193,7 @@ get_repo_news_dir() {
 	case $(package_manager) in
 		portage) echo "$(portageq get_repo_path \
 			"${EROOT:-/}" "${repo}")/metadata/news" ;;
-		pkgcore) pinspect portageq get_repo_news_path "${repo}" ;;
+		pkgcore) pinspect portageq get_repo_news_path "${ROOT:-/}" "${repo}" ;;
 		paludis) run_paludis print-repository-metadata ${repo} \
 			--raw-name newsdir --format '%v\n' ;;
 	esac


             reply	other threads:[~2016-12-10  8:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-10  8:18 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-12 16:44 [gentoo-commits] proj/eselect:master commit in: libs/, / Ulrich Müller
2023-03-14 16:53 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-06-18 19:32 Ulrich Müller
2017-03-21  6:33 Ulrich Müller
2016-11-01  6:43 Ulrich Müller
2016-10-30  9:17 Ulrich Müller
2016-06-01 19:43 Ulrich Müller
2014-03-14 19:43 Ulrich Müller
2014-01-19 16:36 Ulrich Müller
2013-11-19 12:54 Ulrich Müller
2013-11-19  8:17 Ulrich Müller
2013-11-10 20:24 Ulrich Müller
2013-06-17 15:26 Ulrich Mueller
2013-01-05 13:47 Ulrich Mueller

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=1480854121.eb8e92c757d14ed3c1769d622a5588a5d47f3a3e.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-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