Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 693096

Summary: sys-apps/portage: deprecate emerge --changelog option
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: dschridde+gentoobugs
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 146896, 691278, 699256    

Description Zac Medico gentoo-dev 2019-08-29 23:08:44 UTC
Since the gentoo repository no longer has ChangeLog files, the emerge --changelog option should be deprecated. Eventually, the -l short option could re-purposed as a short option of --load-average (same as make).
Comment 2 Larry the Git Cow gentoo-dev 2019-08-31 05:58:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=3cb5c78ccdd39644093d627afe3f9942e44f3ab4

commit 3cb5c78ccdd39644093d627afe3f9942e44f3ab4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-08-30 00:05:25 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-08-31 05:27:51 +0000

    emerge: deprecate --changelog option (bug 693096)
    
    The emerge --changelog option is not very useful since the
    gentoo repository no longer includes ChangeLog files.
    
    Bug: https://bugs.gentoo.org/693096
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/_emerge/actions.py | 5 +++++
 man/emerge.1           | 2 ++
 2 files changed, 7 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2019-08-31 06:21:45 UTC
The bug has been referenced in the following commit(s):

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

commit 05d4de36535c74df5e27784886a7de8d0d8afddb
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-08-31 06:13:47 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-08-31 06:21:36 +0000

    sys-apps/portage: Bump to version 2.3.74
    
     #587930 glsa-check: add exit code for affected GLSAs
     #688902 Add FEATURES=pkgdir-index-trusted
     #690758 Use RTNETLINK to configure the loopback interface
     #692872 glsa-check: forward port --quiet option from gentoolkit
     #693026 rsync: proxychains compatibility
     #693088 glsa-check: forward port remaining changes from gentoolkit
     #693096 emerge: deprecate --changelog option
    
    Bug: https://bugs.gentoo.org/691278
    Bug: https://bugs.gentoo.org/587930
    Bug: https://bugs.gentoo.org/688902
    Bug: https://bugs.gentoo.org/690758
    Bug: https://bugs.gentoo.org/692872
    Bug: https://bugs.gentoo.org/693026
    Bug: https://bugs.gentoo.org/693088
    Bug: https://bugs.gentoo.org/693096
    Package-Manager: Portage-2.3.74, Repoman-2.3.17
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-2.3.74.ebuild | 261 +++++++++++++++++++++++++++++++++
 2 files changed, 262 insertions(+)
Comment 4 Dennis Schridde 2021-12-15 08:52:33 UTC
What is the proposed alternative?  Is there a command that can show me the git log of a certain package (preferably only changes between PV x and y)?
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-15 21:31:12 UTC
(In reply to Dennis Schridde from comment #4)
> What is the proposed alternative?  Is there a command that can show me the
> git log of a certain package (preferably only changes between PV x and y)?

git-log(1) can, but there's also packages.gentoo.org which also has a command line client (app-portage/pgo) that might be able to handle that as well.
Comment 6 Dennis Schridde 2021-12-15 22:00:29 UTC
(In reply to John Helmert III from comment #5)
> (In reply to Dennis Schridde from comment #4)
> > What is the proposed alternative?  Is there a command that can show me the
> > git log of a certain package (preferably only changes between PV x and y)?
> 
> git-log(1) can, but there's also packages.gentoo.org which also has a
> command line client (app-portage/pgo) that might be able to handle that as
> well.

For git-log I need the git repository, right?  And the default (also used by me) is to use rsync.

app-portage/pgo looks interesting and it also appears to support what I want at first glance, except it does not work as expected: https://github.com/arzano/pgo/issues/8

Thanks for the hint, though.  I will follow-up with the author about this.