GNU bug report logs - #50695
Sorting by columns broken on NonGNU/GNU ELPA web pages

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Mon, 20 Sep 2021 06:10:01 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50695 in the body.
You can then email your comments to 50695 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#50695; Package emacs. (Mon, 20 Sep 2021 06:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Mon, 20 Sep 2021 06:10:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Sorting by columns broken on NonGNU/GNU ELPA web pages
Date: Sun, 19 Sep 2021 23:09:43 -0700
Severity: minor

We used to have the capability to sort by columns on the NonGNU/GNU ELPA
web pages:

    https://elpa.gnu.org/packages/

But now it seems broken.  The JavaScript that ran this is still in the
HTML header of that page:

        <script src="../javascript/jquery.min.js"
type="text/javascript"></script>
        <script src="../javascript/jquery.filtertable.min.js"
type="text/javascript"></script>
        <script src="../javascript/package-search.js"
type="text/javascript"></script>

But the URL's themselves give 404:

    ~ $ curl https://elpa.gnu.org/javascript/jquery.min.js
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL was not found on this server.</p>
    <hr>
    <address>Apache/2.4.48 (Debian) Server at elpa.gnu.org Port 443</address>
    </body></html>
    ~ $ curl https://elpa.gnu.org/javascript/jquery.filtertable.min.js
    [same as above]
    ~ $ curl https://elpa.gnu.org/javascript/package-search.js
    [same as above]

So I guess the JavaScript directory for some reason is no longer where
it should be.




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Fri, 01 Oct 2021 19:56:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Kangas <stefan <at> marxist.se>:
bug acknowledged by developer. (Fri, 01 Oct 2021 19:56:02 GMT) Full text and rfc822 format available.

Message #10 received at 50695-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50695-done <at> debbugs.gnu.org
Subject: Re: bug#50695: Sorting by columns broken on NonGNU/GNU ELPA web pages
Date: Fri, 01 Oct 2021 15:55:41 -0400
> So I guess the JavaScript directory for some reason is no longer where
> it should be.

Somehow a /etc/apache2/conf-enabled/javascript-common.conf
symlink appeared which redirected /javascript to some other directory.
I believe it's been restored now,


        Stefan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50695; Package emacs. (Fri, 01 Oct 2021 23:07:01 GMT) Full text and rfc822 format available.

Message #13 received at 50695-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 50695-done <at> debbugs.gnu.org
Subject: Re: bug#50695: Sorting by columns broken on NonGNU/GNU ELPA web pages
Date: Sat, 2 Oct 2021 01:06:24 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> > So I guess the JavaScript directory for some reason is no longer where
> > it should be.
>
> Somehow a /etc/apache2/conf-enabled/javascript-common.conf
> symlink appeared which redirected /javascript to some other directory.
> I believe it's been restored now,

Thanks, the JavaScript seems to have been restored correctly on both
elpa.gnu.org and elpa.nongnu.org.

But sorting by column is still not working, so I guess that was just
me misremembering (a.k.a. "wishful thinking").




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50695; Package emacs. (Sat, 02 Oct 2021 02:51:02 GMT) Full text and rfc822 format available.

Message #16 received at 50695 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50695 <at> debbugs.gnu.org
Subject: Re: bug#50695: Sorting by columns broken on NonGNU/GNU ELPA web pages
Date: Fri, 01 Oct 2021 22:50:40 -0400
> But sorting by column is still not working, so I guess that was just
> me misremembering (a.k.a. "wishful thinking").

I'm not 100% sure, but I think so, indeed.  Especially since the data
currently present in the "other columns" (version number and
description) doesn't lend itself to useful sorting, IMO.
If/when we add some kind of popularity info, this may change, tho.


        Stefan





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Oct 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.