ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: extending task ls output
Date: Fri, 23 Oct 2020 10:03:00 +0300
Message-ID: <20201023100300.9730b68cb527a1631f765108@altlinux.org> (raw)
In-Reply-To: <a9539d14-bade-4461-dbe2-4c4fa14cb37d@basealt.ru>

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

On Fri, 23 Oct 2020 09:00:29 +0300 Anton Farygin wrote:
> On 22.10.2020 22:27, Alexey V. Vissarionov wrote:
> > On 2020-10-22 20:08:19 +0300, Dmitry V. Levin wrote:
> >
> >   > В https://bugzilla.altlinux.org/38957 предлагают добавить в
> >   > вывод task ls информацию, которую сейчас task ls не показывает,
> >   > но показывает task show --brief.
> >   > Само по себе изменение тривиальное, но возникает вопрос, это
> >   > никому не сломает никаких действующих скриптов?
> >   > Тогда можно будет поменять вывод по-умолчанию и не заводить
> >   > новый параметр --print-subtask-id.
> >
> > Там предложен вариант
> >
> >   >> #258286 BUILDING #1 [locked] sisyphus 100:ocaml-time_now.git=0.14.0-alt3
> >
> > Мне он не нравится тем, что нужна дополнительная обработка поля с
> > именем пакета. Лучше сделать немного по-другому:
> >
> > #258286 BUILDING #1 [locked] sisyphus:100 ocaml-time_now.git=0.14.0-alt3
> >
> >
> Так, к сожалению, не получится:
> 
> #258811 FAILED #3 [test-only] sisyphus 
> ocaml-compiler-libs.git=0.12.3-alt1 ocaml-ppxlib.git=0.15.0-alt1 
> ocaml-ppx_here.git=0.14.0-alt2 ocaml-ppx_cold.git=0.14.0-alt1 
> ocaml-ppx_let.git=0.14.0-alt2 ocaml-time_now.git=0.14.0-alt4 
> ocaml-ppx_inline_test.git=0.14.1-alt2 
> ocaml-ppx_sexp_conv.git=0.14.1-alt1 ocaml-yaml.git=2.1.0-alt1 
> ocaml-ppx_custom_printf.git=0.14.0-alt1 
> ocaml-ppx_sexp_value.git=0.14.0-alt1 
> ocaml-ppx_sexp_message.git=0.14.0-alt1 
> ocaml-ppx_pipebang.git=0.14.0-alt1 ocaml-ppx_compare.git=0.14.0-alt2 
> ocaml-ppx_hash.git=0.14.0-alt2 ocaml-ppx_assert.git=0.14.0-alt2 
> ocaml-jst-config.git=0.14.0-alt2 ocaml-ppx_optional.git=0.14.0-alt1 
> ocaml-ppx_js_style.git=0.14.0-alt2 ocaml-ppx_fields_conv.git=0.14.1-alt1 
> ocaml-ppx_optcomp.git=0.14.0-alt2 
> ocaml-ppx_variants_conv.git=0.14.1-alt1 
> ocaml-ppx_typerep_conv.git=0.14.1-alt1 
> ocaml-ppx_enumerate.git=0.14.0-alt1 ocaml-ppx_base.git=0.14.0-alt2 
> ocaml-ppx_string.git=0.14.1-alt1 ocaml-ppx_module_timer.git=0.14.0-alt2 
> ocaml-ppx_expect.git=0.14.0-alt2 js_of_ocaml.git=3.7.0-alt2 
> ocaml-ppx_fixed_literal.git=0.14.0-alt2
> 
> Ещё как вариант - сделать вывод в однострочный JSON, что бы было удобно 
> и парсерам (jq, например) и людям.

Я не знаю людей, которым однострочники json читать удобно.
Возможно, такие существуют, но я к ним не отношусь и думаю, что не
только я.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-10-23  7:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 17:08 Dmitry V. Levin
2020-10-22 19:27 ` Alexey V. Vissarionov
2020-10-23  6:00   ` Anton Farygin
2020-10-23  7:03     ` Andrey Savchenko [this message]
2020-10-23  7:36       ` Anton Farygin
2020-10-23  7:39         ` Vladislav Zavjalov
2020-10-23  8:16           ` Anton Farygin
2020-10-23  9:02             ` Andrey Savchenko
2020-10-23 10:19               ` Anton Farygin

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=20201023100300.9730b68cb527a1631f765108@altlinux.org \
    --to=bircoph@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