ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] linux_distribution() из  Python
Date: Thu, 3 May 2018 19:01:08 +0300
Message-ID: <20180503160108.GA29205@altlinux.org> (raw)
In-Reply-To: <db62181d-16b7-1b2e-1c4a-b99c394cc9f8@basealt.ru>

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

On Thu, May 03, 2018 at 05:40:44PM +0300, Anton Farygin wrote:
> 03.05.2018 16:41, Andrey Cherepanov пишет:
> > Предлагается в функции linux_distribution() из Python 2.x и 3.x
> > возвращать первым параметром "alt" для любых дистрибутивов с
> > /etc/altlinux-release.
> >
> > Сейчас оно берёт первое слово из /etc/altlinux-release, что приводит к
> > https://bugzilla.altlinux.org/show_bug.cgi?id=34266
> >
> > Возражения есть?
> >
> Твоё предложение выглядит не очень здраво и может кому-то что-то сломать.
> 
> Вот тут есть ещё одна реализация для тех же целей:
> 
> http://git.altlinux.org/tasks/205194/gears/400/git?p=git;a=commitdiff;h=330fa74425e6728803517bbd84348c0c2b7d921f

А что она реализует?


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2018-05-03 16:01 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 [this message]
2018-05-04 11:30       ` Anton Farygin
2018-05-04 11:37         ` Sergey V Turchin
2018-05-04 11:31       ` Mikhail Efremov
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=20180503160108.GA29205@altlinux.org \
    --to=ldv@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