ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Bergman Andrey <vkni@yandex.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: Веб-ресурсы Deepsolver
Date: Tue, 17 Apr 2012 11:04:22 +0400
Message-ID: <393001334646262@web27.yandex.ru> (raw)
In-Reply-To: <m3fwc298qa.fsf@blard.localdomain>

> Понятно, спасибо. Пока сходу кажется, что это всё равно недостаточная
> структурированность. В нашей разработке операции все однотипные -
> загрузить, поставить, удалить и т. д. Пока думаю, что информации для
> машинночитаемого формата должно быть больше, т.е. должно быть указано,
> откуда сливали, что ставили, и т. д. Это должно быть не просто в
> текстовом виде для человека, а полностью однозначно фильтруемо для
> машины.

Ну значит сочините этот код сами. Совершенно же необязательно его делать
именно в DECовском виде. :-) Главная идея - это то, что в одном сообщении есть
как машиночитаемая метка (причём легче-лёгкого читаемая) и человеко-читаемый
текст, который легко соотносится с меткой.

Чем это хорошо - захотите вы поменять формат лога, но оставите метку на месте,
никакие скрипты не поломаете.

А примерный формат метки с указанием формата пакета:

$DS_E_PKGNFOU_<имя пакета>$ Ошибка Deepsolver'а - пакет <имя пакета> не найден.

То есть, явно указываете начало и конец метки + придерживаетесь её формата.

Андрей.


  reply	other threads:[~2012-04-17  7:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  4:09 Michael Pozhidaev
2012-04-16 10:07 ` Bergman Andrey
2012-04-17  6:24   ` Michael Pozhidaev
2012-04-17  7:04     ` Bergman Andrey [this message]
2012-04-17 14:21     ` Денис Смирнов
2012-04-17 15:20       ` Alexander Bokovoy
2012-04-18  1:11         ` Michael Pozhidaev
2012-04-18  1:10       ` Michael Pozhidaev
2012-04-18 13:19         ` Денис Смирнов
2012-04-18 18:55           ` Sergey Vlasov
2012-04-18 21:14             ` Michael Pozhidaev

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=393001334646262@web27.yandex.ru \
    --to=vkni@yandex.ru \
    --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