Circling back and quoting a (relatively) old message since the thread went
from discussing our website to discussing different mail archive sites.

Den sön 2 jan. 2022 kl 12:27 skrev Daniel Sahlberg <
daniel.l.sahlb...@gmail.com>:

> Den sön 2 jan. 2022 kl 04:29 skrev Nathan Hartman <
> hartman.nat...@gmail.com>:
>
>> On Sat, Jan 1, 2022 at 10:18 PM <hartmannat...@apache.org> wrote:
>> >
>> > Author: hartmannathan
>> > Date: Sun Jan  2 03:18:55 2022
>> > New Revision: 1896611
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1896611&view=rev
>> > Log:
>> > * staging/mailing-lists.html:
>> >   (#list-list): Remove links to mail-archives.apache.org. This service
>> is
>> >    shut down as of 31 Dec 2021 in favor of lists.apache.org.
>> >
>> > Modified:
>> >     subversion/site/staging/mailing-lists.html
>> >
>> > Modified: subversion/site/staging/mailing-lists.html
>> > URL:
>> http://svn.apache.org/viewvc/subversion/site/staging/mailing-lists.html?rev=1896611&r1=1896610&r2=1896611&view=diff
>
>
> The commit LGTM, thanks!
>
>
>> ASF shut down the oldie but goodie mail-archives.apache.org in favor
>> of lists.apache.org today.
>>
>
> :-(
>
> This commit updates the staging site. It will need a follow-up, but I
>> don't (yet) know what that follow-up should be:
>>
>> Currently on our mailing lists page, we have the Google SiteSearch box
>> for user convenience to search the archives. This searches in the
>> mail-archives.apache.org domain and uses inurl:subversion as explained
>> in the comment there to search only in Subversion's list archives.
>>
>> With the retirement of mail-archives.apache.org, clearly this will not
>> work anymore.
>>
>> Maybe it'll work if I just substitute the URLs, but I'm a bit
>> skeptical because of the query string; i.e., whereas mail-archives
>> URLs looked like this:
>>
>>     https://mail-archives.apache.org/mod_mbox/subversion-users/
>>
>> lists.apache.org URLs look like this:
>>
>>     https://lists.apache.org/list.html?us...@subversion.apache.org
>
>
> I can't find this documented anywhere but I was poking around the code [1]
> and it is seems to work like this. The request string consists of three
> parts separated by colon:
> - The list name (us...@subversion.apache.org etc.). It seems it can also
> be *@subversion.apache.org, which is probably reasonable for the search
> widget.
> - The time period. If empty it defaults to the last month, no way of
> saying "since forever" except faking a date long ago. For example lte=100y.
> - The search keyword(s).
>
> For example
> https://lists.apache.org/list?*@subversion.apache.org:lte=100y:site+cleanup
>
> I'm not fond of the URLs since it is impossible (at least for me) to make
> a plain form that translate into that kind of URL. I've sent a question to
> users@ponymail.a.o [2]. I can do it using javascript, see the attached
> patch.
>

Someone on the ponymail ML suggested the same link as above except gte=0d
(which of course is better).

I'm using the Vanilla JS[3] framework which I hope should be acceptable to
everyone.

During our last overhaul of the page, we tried hard to make the form
> useable for users without javascript. However lists.a.o require javascript
> so that point is probably moot if we go this way, in which case the
> attached patch is probably ok.
>

I believe the percentage of users having a non-JavaScript browser these
days is fairly small. I've added a <noscript> section linking to the table
further down the page.

A downside of lists.a.o is that it doesn't contain the oldest part of the
> archive (neither did mail-archives.a.o). It is still searchable on
> svn.haxx.se.
>

This issue is now resolved with the recent backfill.

marc.info is both textfriendly and non-javascript-friendly, is up-to-date
> and has the older mails not in lists.a.o (except a hole in users@s.a.o
> between 2003-08 and 2006-04 which is only served by svn.haxx.se). It is
> probably a lot easier to create a form in our site linking to this site.
> But I'm not fond of using yet another external service.
>

I'm not sure if there was formal consensus regarding which archive to use
but I'm sticking my neck out and committing r1896702. Feel free to merge to
trunk if you think this looks alright. (However be aware that site/staging
also has a change to download.html which I'm not entirely happy about -
more on that in a separate mail).

Kind regards,
Daniel Sahlberg

[1] https://github.com/apache/incubator-ponymail-foal
> [2] https://lists.apache.org/thread/n47hcfdt6z70tqxvnhgn3zrdwqgg36yl
>
[3] http://vanilla-js.com/

Reply via email to