public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Bob Manson <bmanson@juniper.net>
To: Rick Macdonald <rickm@vsl.com>
Cc: gnats-devel@sourceware.cygnus.com, bug-gnats@gnu.org,
	bmanson@juniper.net
Subject: Re: proclamation of intent
Date: Mon, 23 Aug 1999 12:12:00 -0000	[thread overview]
Message-ID: <199908231912.MAA12266@tristam.juniper.net> (raw)
In-Reply-To: <Pine.GSO.4.10.9908231158010.20253-100000@sys4>

In message < Pine.GSO.4.10.9908231158010.20253-100000@sys4 >, Rick Macdonald writ
es:
>The fields and enums should have human-readable Help strings (multi-line
>allowed?), and these strings need to be available to the client.

Agreed. I haven't done this yet but it's a trivial thing to add; I'll
probably just put it to the grammar after I'm done with this message.
Nothing will actually use it yet.

>I would like that all configuration stuff is read and parsed by GNATS, and
>when sent to the client, it is formatted and written by GNATS (gnatsd)
>such that the client just parses it and doesn't have to check for errors

I had little intention of just dumping out a config file, although it
may make a bit of sense to do this for the network protocol.  The
parser's already in the network client, so there's little to be gained
to split it all apart in N different ways.  But none of this is
"written in stone"; I'm certainly open to other people's suggestions!

I honestly don't have any idea what the configuration info as sent to
clients will look like.  I think now would be a great time for people
to make suggestions as to what they'd like to see.

The info that needs to be presented is really in two parts.  The first part
will simply be field definitions, including but not limited to:

	name
	(optional) internal field designation
	type of data stored in field
	additional per-data-type options:
		enum list
		regexp qualifier
		default match type
	default value
	help string

name:	The name of the field. This will not include the '>' or ':' separator
	characters.  This may be different from the name used in the PR
	to mark the field (and if so, the PR field string would need to
	be included as well).

internal field designation: Some fields are internally used by GNATS, such
	as Category, PR Number, etc.  There needs to be a mechanism to
	relate these internal fields to their actual definitions.

type of data:  text, enum, date, multitext.  Some text fields may be
	further qualified by a regexp that they must match.

	I've given some thought to adding a "numeric" type as well, and I 
	think it's essential to limit this basic information to a manageable
	set, so any other ideas need to be implemented soon.

per-data-type options:  This should be fairly obvious; for an enum, the
	possible values need to be listed, etc.

	"default match type" simply refers to the type of search that is done
	by default.  Currently some fields in GNATS are set up as "must match
	entire field" when a regexp is used on that field, while others are
	"may match any part of field".

default value: Obvious.

help string: A human-readable description of the field.

The second part would be the actual "presentation format" of the PR,
at least in terms of field order.  This may optionally include a
template such as that used by edit-pr, although this would be fairly
useless for a web-based client; it might also include suggested field
headings for a forms-based client.  I'm leaving this part rather
vague, since I don't honestly know what would be most useful.

Again, I am certainly not proposing any particular format; I'm totally
open to suggestions for this.  I'm also trying very hard to not break
existing clients that have hard-coded field information.
						Bob

  parent reply	other threads:[~1999-08-23 12:12 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-18 11:21 Bob Manson
1999-08-18 12:36 ` Rick Macdonald
1999-08-18 13:13   ` Bob Manson
1999-08-18 13:37     ` Stephen Dahmen
1999-08-18 14:15     ` Rick Macdonald
1999-08-23 10:21     ` Rick Macdonald
1999-08-23 10:27       ` Paul Traina
1999-08-23 10:28         ` Rick Macdonald
1999-08-24  5:23         ` Mike Sutton
1999-08-24  9:56           ` Michael Richardson
1999-08-23 10:38       ` Bob Manson
1999-08-23 10:48         ` Paul Traina
1999-08-23 10:52           ` Bob Manson
1999-08-23 10:54             ` Paul Traina
1999-08-23 11:13           ` Rick Macdonald
1999-08-23 11:32             ` Tony Parent
1999-08-23 11:41               ` Rick Macdonald
1999-08-23 12:12             ` Bob Manson [this message]
1999-08-23 15:54               ` client info format ideas Rick Macdonald
1999-08-24  5:35             ` proclamation of intent Mike Sutton
1999-08-23 10:58         ` gnatsd accepting new PRs Rick Macdonald
1999-08-23 11:03           ` Bob Manson
1999-08-23 11:28             ` Tony Parent
     [not found] <Pine.LNX.4.04.9908241439580.17979-100000@intern.snow.nl>
1999-08-24  7:30 ` proclamation of intent Rick Macdonald

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=199908231912.MAA12266@tristam.juniper.net \
    --to=bmanson@juniper.net \
    --cc=bug-gnats@gnu.org \
    --cc=gnats-devel@sourceware.cygnus.com \
    --cc=rickm@vsl.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).