From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Cc: W-Mark Kubacki <wmark@hurrikane.de>
Subject: Re: [gentoo-portage-dev] [PATCH 3/3] Add CPU model name to output of getportageversion as fifth element
Date: Thu, 15 Aug 2013 10:00:57 +0200 [thread overview]
Message-ID: <20130815080057.GZ29797@gentoo.org> (raw)
In-Reply-To: <1376511040-15874-4-git-send-email-wmark@hurrikane.de>
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
On 14-08-2013 22:10:40 +0200, Mark Kubacki wrote:
> From: W-Mark Kubacki <wmark@hurrikane.de>
>
> It will read like this:
> > Portage 2.1.13.7 (default/linux/amd64/13.0, gcc-4.6.2, glibc-2.18,
> > 3.9.0-rc8-mark-signed+ x86_64, Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz)
>
> That new fifth element will be the CPU model name of the host
> running Portage. It is not the target architecture!
FYI:
% python3
Python 3.3.2 (default, Jul 24 2013, 11:14:02)
[GCC 4.2.1 (Gentoo 4.2.1_p5666-r1, Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.release()
'12.4.0'
>>> platform.machine()
'x86_64'
>>> platform.processor()
'i386'
>>>
% python
Python 3.2.3 (default, May 6 2013, 21:19:05)
[GCC 4.7.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.release()
'5.11'
>>> platform.machine()
'i86pc'
>>> platform.processor()
'i386'
>>>
% python
Python 3.3.2 (default, Jul 15 2013, 13:51:24)
[GCC 4.7.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.release()
'5.10'
>>> platform.machine()
'sun4u'
>>> platform.processor()
'sparc'
>>>
% python
Python 3.2.5 (default, Jul 15 2013, 11:37:08)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.release()
'3.8.13-gentoo'
>>> platform.machine()
'x86_64'
>>> platform.processor()
'AMD Athlon(tm) 64 X2 Dual Core Processor 3800+'
>>>
e.g. it seems to me only on Linux it gives fancy model output. Note
that the first and second system were running a 64-bit Python as well as
kernel.
Fabian
--
Fabian Groffen
Gentoo on a different level
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
next prev parent reply other threads:[~2013-08-15 8:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 20:10 [gentoo-portage-dev] [PATCH 0/3] Implement a more verbose User-Agent HTTP-header Mark Kubacki
2013-08-14 20:10 ` [gentoo-portage-dev] [PATCH 1/3] Send exact version with " Mark Kubacki
2013-08-14 20:10 ` [gentoo-portage-dev] [PATCH 2/3] Send output of ```emerge --version``` as " Mark Kubacki
2013-08-15 6:25 ` Zac Medico
2013-08-14 20:10 ` [gentoo-portage-dev] [PATCH 3/3] Add CPU model name to output of getportageversion as fifth element Mark Kubacki
2013-08-14 20:27 ` [gentoo-portage-dev] " Mark Kubacki
2013-08-15 8:00 ` Fabian Groffen [this message]
2013-08-24 22:39 ` [gentoo-portage-dev] " Mike Frysinger
2013-08-15 10:58 ` Alexander Berntsen
2013-08-24 22:38 ` Mike Frysinger
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=20130815080057.GZ29797@gentoo.org \
--to=grobian@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
--cc=wmark@hurrikane.de \
/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