ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] linux_distribution() из Python
Date: Fri, 4 May 2018 14:31:32 +0300
Message-ID: <20180504143132.7f8963b1@sem-notebook> (raw)
In-Reply-To: <88fc9642-57c4-edab-1d9d-18ad98b59958@altlinux.org>

On Fri, 4 May 2018 14:15:04 +0300 Andrey Bychkov wrote:
> Использует файл идентификации /etc/os-release (если он имеется) для 
> полочения информации о дистрибутиве. Парсит поля файла, а именно
> NAME, VERSION_ID, ID. Если нет, то информация извлекается старым
> способом.

И такой патч вполне можно отправлять в апстрим, кстати.
Хотя у нас можно учитывать и наличие /etc/altlinux-release, если
нет /etc/os-release.

-- 
WBR, Mikhail Efremov


  parent reply	other threads:[~2018-05-04 11:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 13:41 Andrey Cherepanov
2018-05-03 13:53 ` Dmitry V. Levin
2018-05-03 14:03   ` Andrey Cherepanov
2018-05-03 14:40 ` Anton Farygin
2018-05-03 14:52   ` Andrey Cherepanov
2018-05-03 15:26     ` Sergey V Turchin
2018-05-03 16:01   ` Dmitry V. Levin
2018-05-04 11:30       ` Anton Farygin
2018-05-04 11:37         ` Sergey V Turchin
2018-05-04 11:31       ` Mikhail Efremov [this message]
2018-05-04 11:37         ` Sergey V Turchin
2018-05-04 22:27           ` Mikhail Efremov
2018-05-07  7:24             ` Sergey V Turchin

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=20180504143132.7f8963b1@sem-notebook \
    --to=sem@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git