user/dev discussion of public-inbox itself
 help / color / Atom feed
* [PATCH] TODO: remove done items, add some more
@ 2019-07-13 21:54 Eric Wong
  2019-11-03  9:02 ` HTTP::Date replacing Date::Parse [was: TODO: remove done items, add some more] Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2019-07-13 21:54 UTC (permalink / raw)
  To: meta

It never ends...
---
 TODO | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index 2d20bad..9f58342 100644
--- a/TODO
+++ b/TODO
@@ -21,8 +21,6 @@ all need to be considered for everything we introduce)
   yet storing large amounts of data on computers without a
   public IP behind a home Internet connection.
 
-* TLS support for various daemons (including STARTTLS for NNTP and POP3)
-
 * optional Cache::FastMmap support so production deployments won't
   need Varnish (Varnish doesn't protect NNTP, either)
 
@@ -105,5 +103,8 @@ all need to be considered for everything we introduce)
 
 * support hooks, since low-level git-fast-import does not run them
   https://public-inbox.org/meta/20190405174329.GA21472@chatter.qube.local/
+  (note: may not be needed since we do grokmirror manifest.js.gz, now)
 
-* investigate native grokmirror support/integration
+* consider using HTTP::Date instead of Date::Parse, since we need the
+  former is capable of parsing RFC822-ish dates, used by Plack, and
+  the latter is missing from OpenBSD and maybe other distros.
-- 
EW


^ permalink raw reply	[flat|nested] 2+ messages in thread

* HTTP::Date replacing Date::Parse [was: TODO: remove done items, add some more]
  2019-07-13 21:54 [PATCH] TODO: remove done items, add some more Eric Wong
@ 2019-11-03  9:02 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2019-11-03  9:02 UTC (permalink / raw)
  To: meta

> +* consider using HTTP::Date instead of Date::Parse, since we need the
> +  former is capable of parsing RFC822-ish dates, used by Plack, and
> +  the latter is missing from OpenBSD and maybe other distros.

Ugh, HTTP::Date will try to use Time::Zone under the hood if
available for non-conformant dates.  And Time::Zone is part of
the same TimeDate package as Date::Parse, which I was trying to
stop depending on...

At least one incompatibility I've found is the inability of
HTTP::Date to handle the "+1" (yes, single digit) timezone
offset which we have a test case for in t/msgtime.t

There's probably a few more wacky historical cases which we lack
test cases for.  Hell, there's even a case of 3-digit years in
LKML history which we special-case for.

So, I'm not sure it's worth it...  The good thing is that going
forward, dates seem to much more conformant as clients got
better.  So there's only a finite set of historical special
cases which we'd need to deal with.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 21:54 [PATCH] TODO: remove done items, add some more Eric Wong
2019-11-03  9:02 ` HTTP::Date replacing Date::Parse [was: TODO: remove done items, add some more] Eric Wong

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror http://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.org/gmane.mail.public-inbox.general

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git