unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Revised generate multiple package pages.
@ 2016-11-29 23:22 Alex Sassmannshausen
  2016-11-29 23:22 ` [PATCH] Generate multiple paginated packages pages Alex Sassmannshausen
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Sassmannshausen @ 2016-11-29 23:22 UTC (permalink / raw)
  To: guix-devel; +Cc: Alex Sassmannshausen

Hello,

Here a revised patch generating multiple package pages.

Since the last version I've:
* added CSS styling
* rebased on master
* incorporated ludo's feedback
* tested it locally

Local testing seems to work a charm, except for the appearance of #f in
the software table, the emission of warnings during site compilation
and the failure of the Javascript folding scripts.

All of those problems seemed to happen on master too, so I concluded
they were artifacts from local testing.

Finally, please note that the paginated pages page is wrapped in an
additional lambda.  This is to make the commented section in (www)
work, but might be incorrect in how those pages are actually generated
using cron scripts…

Best wishes,

Alex

Alex Sassmannshausen (1):
  Generate multiple paginated packages pages.

 website/static/base/css/packages.css |  8 ++-
 website/www.scm                      |  8 ++-
 website/www/packages.scm             | 96 ++++++++++++++++++++++++++++--------
 3 files changed, 89 insertions(+), 23 deletions(-)

-- 
2.10.2

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH] A patch to generate paginated packages page
@ 2016-11-11 20:03 Alex Sassmannshausen
  2016-11-11 20:03 ` [PATCH] Generate multiple paginated packages pages Alex Sassmannshausen
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Sassmannshausen @ 2016-11-11 20:03 UTC (permalink / raw)
  To: guix-devel; +Cc: Alex Sassmannshausen

Hello,

Following from repeated discussions on the mailing list about the
packages page, here a rough attempt at fixing the issue.

The patch below adds/modifies procedures so we can generate a packages
page for each "starting character" of package names.

The idea would be that we have a page for all packages starting with
"A", with "B", etc.

There will also still be a page with all packages on it.

The logic is basically there I think — but the CSS will need some
tweaking, and I'm also not 100% sure on testing it.

I wanted to get it out here for comments first of all.

What do you think?

Cheers,

Alex

Alex Sassmannshausen (1):
  Generate multiple paginated packages pages.

 website/www.scm          | 12 +++++++-
 website/www/packages.scm | 74 +++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 69 insertions(+), 17 deletions(-)

-- 
2.10.1

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

end of thread, other threads:[~2016-12-08 12:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 23:22 [PATCH] Revised generate multiple package pages Alex Sassmannshausen
2016-11-29 23:22 ` [PATCH] Generate multiple paginated packages pages Alex Sassmannshausen
2016-12-04 20:51   ` Ludovic Courtès
2016-12-05 10:16     ` Alex Sassmannshausen
2016-12-08 10:00       ` Ludovic Courtès
2016-12-08 10:54         ` Jan Synáček
2016-12-08 11:29         ` Alex Sassmannshausen
2016-12-08 11:36           ` John Darrington
2016-12-08 12:02             ` Alex Sassmannshausen
  -- strict thread matches above, loose matches on Subject: below --
2016-11-11 20:03 [PATCH] A patch to generate paginated packages page Alex Sassmannshausen
2016-11-11 20:03 ` [PATCH] Generate multiple paginated packages pages Alex Sassmannshausen
2016-11-12 14:34   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).