Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

pkgcheck: how to use it with an overlay

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

pkgcheck: how to use it with an overlay

  • Quote

Post by samuelbernardo » Fri Apr 10, 2020 10:44 pm

How can I use pkgcheck with an overlay?

- how to generate the necessary configurations in the overlay profile to follow Gentoo QA
- the necessary parameters to run referenced to an overlay
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Fri Apr 10, 2020 10:59 pm

Just run it from the overlay tree. It's the same as repoman.
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Sat Apr 11, 2020 10:19 pm

I have already done it and it gives the following error with command pkgcheck scan --commits
pkgcheck scan: error: failed running git: fatal: ambiguous argument 'origin': unknown revision or path not in the working tree.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sat Apr 11, 2020 10:21 pm

What does `git status` in the overlay print?
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Sat Apr 11, 2020 10:27 pm

Ant P. wrote:What does `git status` in the overlay print?

Code: Select all

# git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        app-emulation/snapd/
        dev-util/smem/
        eclass/git-2.eclass
        eclass/mozconfig-v6.52.eclass
        eclass/mozconfig-v6.60.eclass
        eclass/mozcoreconf-v4.eclass
        eclass/mozcoreconf-v5.eclass
        eclass/mozcoreconf-v6.eclass
        eclass/mozextension.eclass
        eclass/mozlinguas-v2.eclass
        eclass/obs-download.eclass
        eclass/obs-service.eclass
        eclass/virtualx.eclass
        eclass/wine.eclass
        eclass/xorg-3-r1.eclass

nothing added to commit but untracked files present (use "git add" to track)
[Moderator edit: added [code] tags to preserve output layout. -Hu]
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Sat Apr 11, 2020 10:31 pm

Ant P. wrote:What does `git status` in the overlay print?
In another overlay the same result

Code: Select all

pkgcheck scan --commits
pkgcheck scan: error: failed running git: fatal: ambiguous argument 'origin': unknown revision or path not in the working tree.

Code: Select all

# git status
On branch master
Your branch is up to date with 'origin-https/master'.

nothing to commit, working tree clean
This overlay is at git+ssh://git@git.gentoo.org/repo/user/ssnb.git

The other overlay is local.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sat Apr 11, 2020 10:59 pm

Everything looks ok in that output. The pkgcheck manpage says .git/refs/remotes/origin/HEAD should exist and to run `git fetch origin` if not, have you tried that?
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic