Re: gnats help

Hans-Albert Schneider <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----

On Friday 27 June 2003 21:21, Iqbal Saima wrote:
> Hi all,
>
> I've been having some trouble with gnats.  Using the advanced query
> option, I enter a date in the "Required Before" field.  I also
> select the "Date Required" column to be displayed.  However, the
> result shows the date 'Dec 31, 1969' for all PRs in the "Date
> Required" column.

I guess that none of your reports has a "Date Required:" field set.
In this case, the UNIX "epoch" seems to be displayed (that is,
Jan 01, 1970, 00:00:00 GMT = Dec 31, 1969, 20:00:00 in your current 
timezone).

Try this:
1) Edit/view one of the reports and check what is in that field.
2) Create a test report with that field set (let's assume, to July 01, 
2003--you may need to write it as "2003-07-01"), and place it into a 
category that has only a few reports in it ("pending" may be a good 
choice). Search this category with some variations of "Required 
Before" (and/or "Required After") that either include or exclude that 
report (e.g., "Required Before: 2003-06-01", "Required Before: 
2003-08-01"--the former should exclude the test report, the latter 
should include it).

> And the Required Before query doesn't seem to be
> working because I'm getting all the PRs listed before and after the
> date I specified.  Help please.

Once more, this sounds like none of your reports specifies a "Date 
Required" field.  To make absolutely sure, cd to the directory of 
your database, and run this command:
	fgrep Required: */*

Note that the "Date Required" field is not a required field; I think 
that in 3.1xx, it was only present when some compile-time option was 
selected.

If you need more info, please also tell us which version of GNATS and 
Gnatsweb you are using, as a lot has changed with the 4.0pre versions 
(not much in the format of the reports, though).


Hans-Albert

- -- 
Hans-Albert Schneider
Munich, Germany
EMail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQEVAwUBPv8f9L5/YryrhGWVAQGlZQf/Sh/p7FhlLdcqBV6RVnfQ/YZ7HQdxZQh1
mMv17DHjKkMO+pPC479SvsiV8GF5FotdnyPxKoiMNHZ3C8l3AVa4ozVp0sjDRfu5
HHS0c92O9eoQhcR8uo8IxHuzs74+lGHg26IG/0c1eNgYcA1z1S+Ha/VrKXiNU6u1
dbg8jW9jFYxUiQirGSsKx6LWxGe7AmPHfn+9m9nfQzT7Ah01p8f2kFj6PUDwUlmP
qGhkLd/KpzQFjfUvbCiquFws5XeR8lv6YkucHyfD5i3M0FiiqX+C8Hh+fEHRGbwY
6Pv01OCC5Q6gNWLIoLqy/wQxcidtLRHaovdUWNXxdmbItPuAuKjCgQ==
=V5RA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.