Re: [gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-16 Thread Georgy Yakovlev
On Sunday, December 16, 2018 2:18:33 PM PST Toralf Förster wrote:
> On 12/15/18 3:00 AM, Georgy Yakovlev wrote:
> > that should be enough to provide a bit more to initial information without
> > going crazy and clobbering output too much.
> > 
> > Thoughts?
> 
> At least for the tinderbox image issues I was asked by devs in the past to
> include bits for the following software in #comment0:
> 
>   cat << EOF >> $issuedir/issue
> gcc-config -l:
> $(gcc-config -l   )
> $( [[ -x /usr/bin/llvm-config ]] && echo llvm-config: && llvm-config
> --version ) $(eselect python  list 2>/dev/null)
> $(eselect rubylist 2>/dev/null)
> $(eselect rustlist 2>/dev/null)
> $( [[ -x /usr/bin/java-config ]] && echo java-config: && java-config
> --list-available-vms --nocolor ) $(eselect java-vm list 2>/dev/null)
> 
> ...
Actually after conversation with you on some rust related bug It occurred to 
me that there should be a more central location for similar info, so every 
reported bug that has --info output can show it right away, not only tinderbox 
bugs.
-- 
Georgy Yakovlev
Gentoo Linux Developer

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-16 Thread Toralf Förster
On 12/15/18 3:00 AM, Georgy Yakovlev wrote:
> that should be enough to provide a bit more to initial information without 
> going crazy and clobbering output too much.
> 
> Thoughts?
At least for the tinderbox image issues I was asked by devs in the past to 
include bits for the following software in #comment0:

  cat << EOF >> $issuedir/issue
gcc-config -l:
$(gcc-config -l   )
$( [[ -x /usr/bin/llvm-config ]] && echo llvm-config: && llvm-config --version )
$(eselect python  list 2>/dev/null)
$(eselect rubylist 2>/dev/null)
$(eselect rustlist 2>/dev/null)
$( [[ -x /usr/bin/java-config ]] && echo java-config: && java-config 
--list-available-vms --nocolor )
$(eselect java-vm list 2>/dev/null)

...



-- 
Toralf
PGP 23217DA7 9B888F45



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-16 Thread Georgy Yakovlev
On Saturday, December 15, 2018 3:57:02 AM PST Mikle Kolyada wrote:
> On 15.12.2018 5:00, Georgy Yakovlev wrote:
> > Hi,
> > 
> > while lurking on bugzilla lately I noticed that package part of
> > "emerge --info" output may be lacking in some cases.
> > 
> > Good candidates for adding to that file are:
> > 
> > virtual/rust
> > llvm ?
> > dev-util/meson
> > dev-util/ninja
> > 
> > that should be enough to provide a bit more to initial information without
> > going crazy and clobbering output too much.
> > 
> > Thoughts?
> > 
> > Regards,
> > Georgy Yakovlev
> > Gentoo Linux Developer
> 
> They all are not way too much spread, especially rust.
> 
> Do not think it worth to include them.
> 
> meson can be reconsidered later, as more and more people are using this one.

meson and ninja come in pair, and:
systemd already depends on both
openrc wants to switch to meson.
many xorg parts depend on meson
mesa & co depends on meson
cmake-utils.eclass defaults to ninja as default makefile generator for EAPI=7

those are damn  good reasons for inclusion, those tools becoming essential.
and it's only couple of lines of text, not a big deal.
and the lines are not shown if package in question is not installed.

having rust in output of initial  --info also can be quite handy as recent 
cargo/rust issue showed but yeah, pkg_info probably could deal with that for 
now at least. not a very popular ebuild function, never knew it existed. 
Thanks  Kent for pointing it out.




-- 
Georgy Yakovlev
Gentoo Linux Developer

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-15 Thread Mikle Kolyada

On 15.12.2018 5:00, Georgy Yakovlev wrote:
> Hi,
>
> while lurking on bugzilla lately I noticed that package part of 
> "emerge --info" output may be lacking in some cases.
>
> Good candidates for adding to that file are:
>
> virtual/rust
> llvm ?
> dev-util/meson
> dev-util/ninja
>
> that should be enough to provide a bit more to initial information without 
> going crazy and clobbering output too much.
>
> Thoughts?
>
> Regards,
> Georgy Yakovlev
> Gentoo Linux Developer


They all are not way too much spread, especially rust.

Do not think it worth to include them.

meson can be reconsidered later, as more and more people are using this one.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-15 Thread Kent Fredric
On Fri, 14 Dec 2018 18:00:55 -0800
Georgy Yakovlev  wrote:

> Good candidates for adding to that file are:
> 
> virtual/rust
> llvm ?
> dev-util/meson
> dev-util/ninja

I'm really not sure these are widespread enough to justify putting
those details in the ouput of every emerge --info.

Instead, it seems to make more sense to have them displayed via the
pkg_info() function[1], which can be provided by eclasses where need be.

1: https://devmanual.gentoo.org/ebuild-writing/functions/pkg_info/index.html


pgpZaUwWdfHFB.pgp
Description: OpenPGP digital signature


[gentoo-dev] [RFC] adding more entries to profiles/info_pkgs

2018-12-14 Thread Georgy Yakovlev
Hi,

while lurking on bugzilla lately I noticed that package part of 
"emerge --info" output may be lacking in some cases.

Good candidates for adding to that file are:

virtual/rust
llvm ?
dev-util/meson
dev-util/ninja

that should be enough to provide a bit more to initial information without 
going crazy and clobbering output too much.

Thoughts?

Regards,
Georgy Yakovlev
Gentoo Linux Developer

signature.asc
Description: This is a digitally signed message part.