all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26006: [Website] Integral update proposal
@ 2017-03-07  2:02 sirgazil
  2017-03-07 11:16 ` ng0
                   ` (3 more replies)
  0 siblings, 4 replies; 45+ messages in thread
From: sirgazil @ 2017-03-07  2:02 UTC (permalink / raw)
  To: 26006

[-- Attachment #1: Type: text/plain, Size: 4484 bytes --]

Hi,

I'd like to propose some changes to the website based on my current perception of it and some comments I've read from users:


Navigation bar
==============

Bar mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-menu-2017-03-06.png

The current navigation bar is growing, so I think it may be good to define a style so that people can build more complex menus if necessary (but I hope it won't get too complex).

I propose the graphic change you see in the mockup—thin black line at the bottom, navigation items are white while idle, and yellow with a black indicator at the bottom when active— as well as the actual items and their ordering.



Home page
=========

Home mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-home-view-2017-03-06.png

I propose the changes in the mockup above because of the following reasons:

1. Some people still confuse Guix with GuixSD.
2. Some people still ask if Guix can be used on top of other distributions.
3. Some people think pitching GuixSD and Guix to specific crowds is good (of course it is). [1]

To address the first two points, I changed the order of the content so that information refers to GuixSD first, Guix as a part of it, and then added a section that mentions specifically the use of Guix in other distros.

For point three, I added a section that links to blog posts that explain GuixSD and Guix in the context of a particular field (this part requires the current News pages to become a Blog instead. See below).

Finally, Ricardo Wurmus commented that there were too many styles of buttons, and I agree with him, so I made them homogeneous.


News pages
==========

News list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-list-2017-03-06.png
News details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-post-2017-03-06.png

I suggest to convert News into a blog instead. This could make it easier to add information targeted at different audiences without making the website more complex. Additionally, we could move to the blog content like talks, papers, and posts currently listed in the Help page.

I remember that Ludovic commented in #guix that he would like a better way to display talks in the website... [2] With the design in the mockup above, you just click on the "Talks" tag, and you have a nice preview and summary of all talks.

Also, Haunt, the current static site generator used to build the website, can create an atom feed for every tag in the blog, so people can subscribe to whatever topic is more interesting to them. Personally, I'd like to subscribe to a "Security" feed to keep informed about important security updates (see bug #25852). [3]


Packages pages
==============

Package list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-list-2017-03-06.png
Package details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-detail-2017-03-06.png

I actually proposed this update in bug #25227,[4] but decided to review the whole website design, so I put it here for reference.


Help page
=========

* Move talks, papers, and posts to the Blog.
* Allow little boxes to be distributed along the whole width of the screen.


Contribute page
===============

* Allow little boxes to be distributed along the whole width of the screen.


Infrastructure
==============

Personally, I'd like to be able to access the website at "guixsd.org", and use a git repository for deployment of the static website.

However, we are currently using the resources provided by Savannah for hosting, which means we have to use a CVS repository to deploy the website. As mentioned in bug #25227, using CVS could block the implementation of the packages pages as shown in the mockups above (and maybe filtering blog posts by tag) because CVS could choke on the thousands of pages that would be generated (if we keep using a static website).

To find a solution to this issue, Ludovic sent an email to Savannah admins asking for the possibility of using a dynamic website instead. I don't remember if there was an answer.

And that's all I'd like to modify regarding the current website.

What do you think?


[1]: https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00873.html
[2]: https://gnunet.org/bot/log/guix/2016-02-27#T934268
[3]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25852
[4]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25227



---
https://sirgazil.bitbucket.io/

[-- Attachment #2: Type: text/html, Size: 6715 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-03-07  2:02 bug#26006: [Website] Integral update proposal sirgazil
@ 2017-03-07 11:16 ` ng0
  2017-03-07 12:53 ` Catonano
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 45+ messages in thread
From: ng0 @ 2017-03-07 11:16 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hi,

I don't have very much to comment on, but I just want to express that I
like the Navigation bar and Home page section changes.
On 17-03-06 21:02:39, sirgazil wrote:
> Hi,
> 
> I'd like to propose some changes to the website based on my current perception of it and some comments I've read from users:
> 
> 
> Navigation bar
> ==============
> 
> Bar mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-menu-2017-03-06.png
> 
> The current navigation bar is growing, so I think it may be good to define a style so that people can build more complex menus if necessary (but I hope it won't get too complex).
> 
> I propose the graphic change you see in the mockup—thin black line at the bottom, navigation items are white while idle, and yellow with a black indicator at the bottom when active— as well as the actual items and their ordering.
> 

I like this proposed style and the possibility of sub navigation
items.
 
> 
> Home page
> =========
> 
> Home mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-home-view-2017-03-06.png
> 
> I propose the changes in the mockup above because of the following reasons:
> 
> 1. Some people still confuse Guix with GuixSD.
> 2. Some people still ask if Guix can be used on top of other distributions.
> 3. Some people think pitching GuixSD and Guix to specific crowds is good (of course it is). [1]
> 
> To address the first two points, I changed the order of the content so that information refers to GuixSD first, Guix as a part of it, and then added a section that mentions specifically the use of Guix in other distros.
> 
> For point three, I added a section that links to blog posts that explain GuixSD and Guix in the context of a particular field (this part requires the current News pages to become a Blog instead. See below).
> 
> Finally, Ricardo Wurmus commented that there were too many styles of buttons, and I agree with him, so I made them homogeneous.
> 

This is very good!

> News pages
> ==========
> 
> News list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-list-2017-03-06.png
> News details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-post-2017-03-06.png
> 
> I suggest to convert News into a blog instead. This could make it easier to add information targeted at different audiences without making the website more complex. Additionally, we could move to the blog content like talks, papers, and posts currently listed in the Help page.

Good idea!

> I remember that Ludovic commented in #guix that he would like a better way to display talks in the website... [2] With the design in the mockup above, you just click on the "Talks" tag, and you have a nice preview and summary of all talks.
> 
> Also, Haunt, the current static site generator used to build the website, can create an atom feed for every tag in the blog, so people can subscribe to whatever topic is more interesting to them. Personally, I'd like to subscribe to a "Security" feed to keep informed about important security updates (see bug #25852). [3]
> 
> 
> Packages pages
> ==============
> 
> Package list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-list-2017-03-06.png
> Package details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-detail-2017-03-06.png

If single packages could have a page or some unique link (similar to
what debian, archlinux, Gentoo etc does), this would be THE solution
for upstreams who link to the sourcecode in cgit instead currently.

I like the style!

> I actually proposed this update in bug #25227,[4] but decided to review the whole website design, so I put it here for reference.
> 
> 
> Help page
> =========
> 
> * Move talks, papers, and posts to the Blog.
> * Allow little boxes to be distributed along the whole width of the screen.
> 
> 
> Contribute page
> ===============
> 
> * Allow little boxes to be distributed along the whole width of the screen.
> 
> 
> Infrastructure
> ==============
> 
> Personally, I'd like to be able to access the website at "guixsd.org", and use a git repository for deployment of the static website.
> 
> However, we are currently using the resources provided by Savannah for hosting, which means we have to use a CVS repository to deploy the website. As mentioned in bug #25227, using CVS could block the implementation of the packages pages as shown in the mockups above (and maybe filtering blog posts by tag) because CVS could choke on the thousands of pages that would be generated (if we keep using a static website).
> 
> To find a solution to this issue, Ludovic sent an email to Savannah admins asking for the possibility of using a dynamic website instead. I don't remember if there was an answer.
> 
> And that's all I'd like to modify regarding the current website.
> 
> What do you think?
> 
> 
> [1]: https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00873.html
> [2]: https://gnunet.org/bot/log/guix/2016-02-27#T934268
> [3]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25852
> [4]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25227
> 
> 
> 
> ---
> https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-03-07  2:02 bug#26006: [Website] Integral update proposal sirgazil
  2017-03-07 11:16 ` ng0
@ 2017-03-07 12:53 ` Catonano
  2017-03-07 14:13 ` Ludovic Courtès
  2017-06-08 19:06 ` sirgazil
  3 siblings, 0 replies; 45+ messages in thread
From: Catonano @ 2017-03-07 12:53 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Overall, I like all your proposals.

The one I like best is the proposal about packages. I hope I won't hurt
your feelings if I state that the new layout makes the packages thing
somewhat similar to the "Software" application in Fedora.
And I think that a degree of resemblance is good both for GuixSD and for
the users.

Too bad there's this roadblock due to csv but I really can't help with that

Thanks for your work !

[-- Attachment #2: Type: text/html, Size: 517 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-03-07  2:02 bug#26006: [Website] Integral update proposal sirgazil
  2017-03-07 11:16 ` ng0
  2017-03-07 12:53 ` Catonano
@ 2017-03-07 14:13 ` Ludovic Courtès
  2017-03-10 16:46   ` sirgazil
  2017-10-01 11:02   ` ng0
  2017-06-08 19:06 ` sirgazil
  3 siblings, 2 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-03-07 14:13 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hello sirgazil!

It’s always a pleasure to read you.  :-)  Basically, I like all of your
proposals.  Some comments below.

sirgazil <lizagris@protonmail.com> skribis:

> Navigation bar
> ==============
>
> Bar mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-menu-2017-03-06.png
>
> The current navigation bar is growing, so I think it may be good to define a style so that people can build more complex menus if necessary (but I hope it won't get too complex).
>
> I propose the graphic change you see in the mockup—thin black line at the bottom, navigation items are white while idle, and yellow with a black indicator at the bottom when active— as well as the actual items and their ordering.

Very good idea, definitely an improvement.

> Home page
> =========
>
> Home mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-home-view-2017-03-06.png
>
> I propose the changes in the mockup above because of the following reasons:
>
> 1. Some people still confuse Guix with GuixSD.
> 2. Some people still ask if Guix can be used on top of other distributions.
> 3. Some people think pitching GuixSD and Guix to specific crowds is good (of course it is). [1]
>
> To address the first two points, I changed the order of the content so that information refers to GuixSD first, Guix as a part of it, and then added a section that mentions specifically the use of Guix in other distros.
>
> For point three, I added a section that links to blog posts that explain GuixSD and Guix in the context of a particular field (this part requires the current News pages to become a Blog instead. See below).
>
> Finally, Ricardo Wurmus commented that there were too many styles of buttons, and I agree with him, so I made them homogeneous.

Agreed.

> News pages
> ==========
>
> News list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-list-2017-03-06.png
> News details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-blog-post-2017-03-06.png
>
> I suggest to convert News into a blog instead. This could make it easier to add information targeted at different audiences without making the website more complex. Additionally, we could move to the blog content like talks, papers, and posts currently listed in the Help page.

Sounds great.

> I remember that Ludovic commented in #guix that he would like a better way to display talks in the website... [2] With the design in the mockup above, you just click on the "Talks" tag, and you have a nice preview and summary of all talks.

Yes!  There’s also the question of how much work it’ll be to maintain
the talks part (like whether we need to manually make “posters” for each
video and so on.)  The less work, the better.

At the same time, we should reach out to people who’d like to contribute
to Guix in a less-technical way.  There’s a lot that could be done to
keep the web site lively, and it would be great to let more people take
care of that.

> Also, Haunt, the current static site generator used to build the website, can create an atom feed for every tag in the blog, so people can subscribe to whatever topic is more interesting to them. Personally, I'd like to subscribe to a "Security" feed to keep informed about important security updates (see bug #25852). [3]

I agree, we should use tags.  A first step will be to add tags to the
existing posts.

> Packages pages
> ==============
>
> Package list mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-list-2017-03-06.png
> Package details mockup: https://multimedialib.files.wordpress.com/2017/03/guixsd-package-detail-2017-03-06.png
>
> I actually proposed this update in bug #25227,[4] but decided to review the whole website design, so I put it here for reference.

There’s still the issue that we don’t have screenshots, but other than
that it looks great.

> Help page
> =========
>
> * Move talks, papers, and posts to the Blog.
> * Allow little boxes to be distributed along the whole width of the screen.

Good.

> Contribute page
> ===============
>
> * Allow little boxes to be distributed along the whole width of the screen.
>
>
> Infrastructure
> ==============
>
> Personally, I'd like to be able to access the website at "guixsd.org", and use a git repository for deployment of the static website.
>
> However, we are currently using the resources provided by Savannah for hosting, which means we have to use a CVS repository to deploy the website. As mentioned in bug #25227, using CVS could block the implementation of the packages pages as shown in the mockups above (and maybe filtering blog posts by tag) because CVS could choke on the thousands of pages that would be generated (if we keep using a static website).
>
> To find a solution to this issue, Ludovic sent an email to Savannah admins asking for the possibility of using a dynamic website instead. I don't remember if there was an answer.

There was none.

I don’t think we can get the level of support we’d like from the gnu.org
webmasters, who are already swamped.  With Alex S. (Cc’d) and others at
FOSDEM, we discussed this issue and concluded that we should consider
moving the web site to infrastructure we control, where we could do
things in any way we like.

We won’t run a Libreboot-based physical machine for that because with
the current lack of IPMI support, we’d easily end up with downtimes
unacceptable for a web site.  However, we could use some sort of
commercial hosting.

I’m not much of a Web person so you and other Web-savvy people should
consider themselves empowered to come up with a solution.  :-)  We have
some funding that we could probably use for that.

Thoughts?

Thanks,
Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-03-07 14:13 ` Ludovic Courtès
@ 2017-03-10 16:46   ` sirgazil
  2017-03-10 21:05     ` Ludovic Courtès
  2017-10-01 11:02   ` ng0
  1 sibling, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-03-10 16:46 UTC (permalink / raw)
  To: ludo; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 2918 bytes --]

Thank you all for your feedback :)


-------- Original Message --------
Subject: Re: bug#26006: [Website] Integral update proposal
Local Time: 7 de marzo de 2017 9:13 AM
UTC Time: 7 de marzo de 2017 14:13
From: ludo@gnu.org
To: sirgazil <lizagris@protonmail.com>
26006@debbugs.gnu.org, Alex Sassmannshausen <alex@pompo.co>

[...]


> I remember that Ludovic commented in #guix that he would like a better way to display talks in the website... [2] With the design in the mockup above, you just click on the "Talks" tag, and you have a nice preview and summary of all talks.

Yes! There’s also the question of how much work it’ll be to maintain
the talks part (like whether we need to manually make “posters” for each
video and so on.) The less work, the better.

At the same time, we should reach out to people who’d like to contribute
to Guix in a less-technical way. There’s a lot that could be done to
keep the web site lively, and it would be great to let more people take
care of that.


Hm, right. Managing static websites with current static site builders is pretty much a technical, and manual job.



> Infrastructure
> ==============
>
> Personally, I'd like to be able to access the website at "guixsd.org", and use a git repository for deployment of the static website.
>
> However, we are currently using the resources provided by Savannah for hosting, which means we have to use a CVS repository to deploy the website. As mentioned in bug #25227, using CVS could block the implementation of the packages pages as shown in the mockups above (and maybe filtering blog posts by tag) because CVS could choke on the thousands of pages that would be generated (if we keep using a static website).
>
> To find a solution to this issue, Ludovic sent an email to Savannah admins asking for the possibility of using a dynamic website instead. I don't remember if there was an answer.

There was none.

I don’t think we can get the level of support we’d like from the gnu.org
webmasters, who are already swamped. With Alex S. (Cc’d) and others at
FOSDEM, we discussed this issue and concluded that we should consider
moving the web site to infrastructure we control, where we could do
things in any way we like.

We won’t run a Libreboot-based physical machine for that because with
the current lack of IPMI support, we’d easily end up with downtimes
unacceptable for a web site. However, we could use some sort of
commercial hosting.

That sounds good :)



I’m not much of a Web person so you and other Web-savvy people should
consider themselves empowered to come up with a solution. :-) We have
some funding that we could probably use for that.

Thoughts?


Many :)

I'd like to say I will take care of this project, but I can't commit right now. However, life permitting, I intend to implement the proposed changes that can be implemented in the current static site, starting next week.

[-- Attachment #2: Type: text/html, Size: 4287 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-03-10 16:46   ` sirgazil
@ 2017-03-10 21:05     ` Ludovic Courtès
  0 siblings, 0 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-03-10 21:05 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hello,

sirgazil <lizagris@protonmail.com> skribis:

> I'd like to say I will take care of this project, but I can't commit
> right now. However, life permitting, I intend to implement the
> proposed changes that can be implemented in the current static site,
> starting next week.

Anytime is fine.  Your work and dedication is always appreciated!

Thanks,
Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-03-07  2:02 bug#26006: [Website] Integral update proposal sirgazil
                   ` (2 preceding siblings ...)
  2017-03-07 14:13 ` Ludovic Courtès
@ 2017-06-08 19:06 ` sirgazil
  2017-06-13 22:08   ` Ludovic Courtès
  2017-07-01 14:26   ` bug#26006: [Website] Integral update proposal Ludovic Courtès
  3 siblings, 2 replies; 45+ messages in thread
From: sirgazil @ 2017-06-08 19:06 UTC (permalink / raw)
  To: 26006

Hi,

I have an incomplete implementation
(https://bitbucket.org/sirgazil/guixsd-website) of a static website that
includes the features illustrated in the mockups (the features that fit
in a static website).

Compared to the current website, this code has a different organization
(see the "Framework" section below). I'm sending this message because I
think this is as far as I can go with the implementation (found some
problems I haven't figured out how to solve, and I'm not skilled enough
to manipulate packages).

This implementation is missing the following parts:

1. New screenshots
2. Packages pages
   1. Package detail page
   2. Packages issues page
   3. Packages reproducibility page
   4. Packages JSON file

To complete part (1) someone could provide the screenshots (ideally
1920×1080 px) in JPG and add them to the "static/media/img" directory,
and update the list of screenshots in "apps/base/data.scm".

To complete (2), there are some package related procedures missing
(https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open).
I tried to use the code that is already in the current website, but
couldn't figure things out.

To complete part (2.1), there is an issue to solve: package pages go in
paths like "/packages/blender-3.0/", but running "haunt build" with
pages on paths that include "." will render the pages with all the HTML
content inside a pre element. David, the maintainer of Haunt, does not
know yet why this would happen. If this issue is solved, there are
already helper builders in "apps/packages/builders.scm" to generate all
the pages.

So, for now, the packages pages are working as in the current website,
but not using tables (to make it easier to adapt the page to several
screen widths), and packages are distributed in numbered pages to avoid
big HTML pages that take too long to load.

Also, the JavaScript code that gets package build status is not
integrated (couldn't figure this one out either).

To complete (2.2), (2.3), and (2.4) someone could add helper builders to
the packages app, and recycle the related SXML pages already used in the
current website.


Framework
=========

The website is composed by apps; for example, a base app, a blog app, a
packages app. An app is a directory with Scheme modules that *usually*
look like this:

apps/abc
├── builder.scm
├── types.scm
├── data.scm
├── utils.scm
└── templates
    ├── components.scm
    ├── some-page.scm
    └── another-page.scm

The builder file contains a Haunt builder procedure and helper builders
that build the web resources of an app. In the types file there are data
type definitions for the app (for example: screenshot, download,
lint-issue, etc.). The data file contains instances of the defined data
types. The utils file contains helper procedures for an application. The
template directory contains SHTML, SXML, SATOM, SJSON templates to build
the web resources provided by an application. The components module in
the templates directory has template components that are used in several
templates or even in other apps.

All apps are "plugged" to the website by adding their builders to the
site object in the "haunt.scm" file.

Currently, there is also an aux app that contains procedures not
particular to any app.

If you have some time, take a look at it and let me know what you think.
I can change *anything* that you think is inefficient, horrible or
whatever. I hope it is not a mess :)


Best,


-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-06-08 19:06 ` sirgazil
@ 2017-06-13 22:08   ` Ludovic Courtès
  2017-06-14 20:36     ` sirgazil
  2017-07-01 14:26   ` bug#26006: [Website] Integral update proposal Ludovic Courtès
  1 sibling, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-06-13 22:08 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hi sirgazil,

It’s always a pleasure to hear from you.  :-)

sirgazil <sirgazil@zoho.com> skribis:

> I have an incomplete implementation
> (https://bitbucket.org/sirgazil/guixsd-website) of a static website that
> includes the features illustrated in the mockups (the features that fit
> in a static website).

I’ve just built the web site and I like it!  The flat buttons look nice,
the front page looks cleaner, “GuixSD and GNU Guix in your field” sounds
like a good idea, etc.  I really like the blog part with tags and
everything.

I found it a little bit confusing that talks and papers now appear as if
they were blog posts, but after all it’s probably better to have it this
way, especially since tags allow people to find them more easily I guess.

The packages pages look better than what we have (minus the loss of the
JS code to display the build status ;-)).

> Compared to the current website, this code has a different organization
> (see the "Framework" section below). I'm sending this message because I
> think this is as far as I can go with the implementation (found some
> problems I haven't figured out how to solve, and I'm not skilled enough
> to manipulate packages).
>
> This implementation is missing the following parts:
>
> 1. New screenshots
> 2. Packages pages
>    1. Package detail page
>    2. Packages issues page
>    3. Packages reproducibility page
>    4. Packages JSON file
>
> To complete part (1) someone could provide the screenshots (ideally
> 1920×1080 px) in JPG and add them to the "static/media/img" directory,
> and update the list of screenshots in "apps/base/data.scm".
>
> To complete (2), there are some package related procedures missing
> (https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open).
> I tried to use the code that is already in the current website, but
> couldn't figure things out.
>
> To complete part (2.1), there is an issue to solve: package pages go in
> paths like "/packages/blender-3.0/", but running "haunt build" with
> pages on paths that include "." will render the pages with all the HTML
> content inside a pre element. David, the maintainer of Haunt, does not
> know yet why this would happen. If this issue is solved, there are
> already helper builders in "apps/packages/builders.scm" to generate all
> the pages.
>
> So, for now, the packages pages are working as in the current website,
> but not using tables (to make it easier to adapt the page to several
> screen widths), and packages are distributed in numbered pages to avoid
> big HTML pages that take too long to load.
>
> Also, the JavaScript code that gets package build status is not
> integrated (couldn't figure this one out either).
>
> To complete (2.2), (2.3), and (2.4) someone could add helper builders to
> the packages app, and recycle the related SXML pages already used in the
> current website.

Sounds good.  I haven’t looked at this nor have I looked at the new
framework, but I’ll hopefully comment soonish.  Hopefully David can help
for the Haunt part, then people can provide screenshots, and we’ll
figure out the issues with packages pages somehow.  :-)

I think there are a few little changes that were made in the current
site that were lost in the process.  For example, on the front page, we
now have “DOWNLOAD v0.13.0” instead of “TEST v0.13.0”.  I’ve also seen
that links to the package definitions at git.sv.gnu.org from the package
pages no longer include the commit.  Anyway, these are really tiny
issues but we should pay attention to them when we migrate.

Anyway, a big thank you for all this work!  Really impressive work
once again.

Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-06-13 22:08   ` Ludovic Courtès
@ 2017-06-14 20:36     ` sirgazil
  2017-06-15  7:59       ` Ludovic Courtès
  0 siblings, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-06-14 20:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006

On 13/06/17 17:08, Ludovic Courtès wrote:
> Hi sirgazil,
>
> It’s always a pleasure to hear from you.  :-)

Hi, glad to hear that :)

> sirgazil <sirgazil@zoho.com> skribis:
>
>> I have an incomplete implementation
>> (https://bitbucket.org/sirgazil/guixsd-website) of a static website that
>> includes the features illustrated in the mockups (the features that fit
>> in a static website).
> I’ve just built the web site and I like it!  The flat buttons look nice,
> the front page looks cleaner, “GuixSD and GNU Guix in your field” sounds
> like a good idea, etc.  I really like the blog part with tags and
> everything.

Great!

>
> I found it a little bit confusing that talks and papers now appear as if
> they were blog posts, but after all it’s probably better to have it this
> way, especially since tags allow people to find them more easily I guess.
>
> The packages pages look better than what we have (minus the loss of the
> JS code to display the build status ;-)).

About the JS, I couldn't figured out exactly how it works, so that I
could adapt it to the new page structure. Additionally, there is the
problem that the JS looks for packages in the DOM by id, and package ids
are not unique, which confuses me. Also, using duplicated id attributes
is non-valid HTML.

>
>> Compared to the current website, this code has a different organization
>> (see the "Framework" section below). I'm sending this message because I
>> think this is as far as I can go with the implementation (found some
>> problems I haven't figured out how to solve, and I'm not skilled enough
>> to manipulate packages).
>>
>> This implementation is missing the following parts:
>>
>> 1. New screenshots
>> 2. Packages pages
>>    1. Package detail page
>>    2. Packages issues page
>>    3. Packages reproducibility page
>>    4. Packages JSON file
>>
>> To complete part (1) someone could provide the screenshots (ideally
>> 1920×1080 px) in JPG and add them to the "static/media/img" directory,
>> and update the list of screenshots in "apps/base/data.scm".
>>
>> To complete (2), there are some package related procedures missing
>> (https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open).
>> I tried to use the code that is already in the current website, but
>> couldn't figure things out.
>>
>> To complete part (2.1), there is an issue to solve: package pages go in
>> paths like "/packages/blender-3.0/", but running "haunt build" with
>> pages on paths that include "." will render the pages with all the HTML
>> content inside a pre element. David, the maintainer of Haunt, does not
>> know yet why this would happen. If this issue is solved, there are
>> already helper builders in "apps/packages/builders.scm" to generate all
>> the pages.
>>
>> So, for now, the packages pages are working as in the current website,
>> but not using tables (to make it easier to adapt the page to several
>> screen widths), and packages are distributed in numbered pages to avoid
>> big HTML pages that take too long to load.
>>
>> Also, the JavaScript code that gets package build status is not
>> integrated (couldn't figure this one out either).
>>
>> To complete (2.2), (2.3), and (2.4) someone could add helper builders to
>> the packages app, and recycle the related SXML pages already used in the
>> current website.
> Sounds good.  I haven’t looked at this nor have I looked at the new
> framework, but I’ll hopefully comment soonish.  Hopefully David can help
> for the Haunt part, then people can provide screenshots, and we’ll
> figure out the issues with packages pages somehow.  :-)

Sure, no rush.

> I think there are a few little changes that were made in the current
> site that were lost in the process.  For example, on the front page, we
> now have “DOWNLOAD v0.13.0” instead of “TEST v0.13.0”.  I’ve also seen
> that links to the package definitions at git.sv.gnu.org from the package
> pages no longer include the commit.  Anyway, these are really tiny
> issues but we should pay attention to them when we migrate.

I updated the download button.

As for the commit in the links, I tried to add it, but couldn't. I
implemented this website using the Guix API as a user (installing guix
with guix), but it seems that the code to generate the commit part in
the links requires that the guix in the GUILE_LOAD_PATH be a git
repository, right? Since it uses "git describe" on "guix/config.scm".

> Anyway, a big thank you for all this work!  Really impressive work
> once again.
>
> Ludo’.

Thank you for the kind words. I'm glad I can help a bit.

-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-06-14 20:36     ` sirgazil
@ 2017-06-15  7:59       ` Ludovic Courtès
  2017-06-16  2:52         ` sirgazil
  0 siblings, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-06-15  7:59 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hello,

sirgazil <sirgazil@zoho.com> skribis:

> On 13/06/17 17:08, Ludovic Courtès wrote:

[...]

>> I found it a little bit confusing that talks and papers now appear as if
>> they were blog posts, but after all it’s probably better to have it this
>> way, especially since tags allow people to find them more easily I guess.
>>
>> The packages pages look better than what we have (minus the loss of the
>> JS code to display the build status ;-)).
>
> About the JS, I couldn't figured out exactly how it works, so that I
> could adapt it to the new page structure. Additionally, there is the
> problem that the JS looks for packages in the DOM by id, and package ids
> are not unique, which confuses me. Also, using duplicated id attributes
> is non-valid HTML.

The current code that generates the package pages intends to compute
unique anchor names for each package (see ‘packages->anchors’), and I
think it’s those IDs that the JS code uses, isn’t it?

>> I think there are a few little changes that were made in the current
>> site that were lost in the process.  For example, on the front page, we
>> now have “DOWNLOAD v0.13.0” instead of “TEST v0.13.0”.  I’ve also seen
>> that links to the package definitions at git.sv.gnu.org from the package
>> pages no longer include the commit.  Anyway, these are really tiny
>> issues but we should pay attention to them when we migrate.
>
> I updated the download button.
>
> As for the commit in the links, I tried to add it, but couldn't. I
> implemented this website using the Guix API as a user (installing guix
> with guix), but it seems that the code to generate the commit part in
> the links requires that the guix in the GUILE_LOAD_PATH be a git
> repository, right? Since it uses "git describe" on "guix/config.scm".

Indeed, good point.  I guess we could have a fallback case for when ‘git
describe’ fails.

On a more practical level, what would you like the workflow to be like
from there on?  I would prefer hosting the source on gnu.org rather than
{bitbucket,gitlab,github}.com and I would also prefer Git over
Mercurial, but I don’t want to be a hindrance so I’m open to
discussions.  :-)

Thanks!

Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-06-15  7:59       ` Ludovic Courtès
@ 2017-06-16  2:52         ` sirgazil
  2017-06-16  7:05           ` Ludovic Courtès
  0 siblings, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-06-16  2:52 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006

On 15/06/17 02:59, Ludovic Courtès wrote:
> Hello,
>
> sirgazil <sirgazil@zoho.com> skribis:
>
>> On 13/06/17 17:08, Ludovic Courtès wrote:
> [...]
>
>>> I found it a little bit confusing that talks and papers now appear as if
>>> they were blog posts, but after all it’s probably better to have it this
>>> way, especially since tags allow people to find them more easily I guess.
>>>
>>> The packages pages look better than what we have (minus the loss of the
>>> JS code to display the build status ;-)).
>> About the JS, I couldn't figured out exactly how it works, so that I
>> could adapt it to the new page structure. Additionally, there is the
>> problem that the JS looks for packages in the DOM by id, and package ids
>> are not unique, which confuses me. Also, using duplicated id attributes
>> is non-valid HTML.
> The current code that generates the package pages intends to compute
> unique anchor names for each package (see ‘packages->anchors’), and I
> think it’s those IDs that the JS code uses, isn’t it?

Right. My mistake :)

>
>>> I think there are a few little changes that were made in the current
>>> site that were lost in the process.  For example, on the front page, we
>>> now have “DOWNLOAD v0.13.0” instead of “TEST v0.13.0”.  I’ve also seen
>>> that links to the package definitions at git.sv.gnu.org from the package
>>> pages no longer include the commit.  Anyway, these are really tiny
>>> issues but we should pay attention to them when we migrate.
>> I updated the download button.
>>
>> As for the commit in the links, I tried to add it, but couldn't. I
>> implemented this website using the Guix API as a user (installing guix
>> with guix), but it seems that the code to generate the commit part in
>> the links requires that the guix in the GUILE_LOAD_PATH be a git
>> repository, right? Since it uses "git describe" on "guix/config.scm".
> Indeed, good point.  I guess we could have a fallback case for when ‘git
> describe’ fails.
> On a more practical level, what would you like the workflow to be like
> from there on?  I would prefer hosting the source on gnu.org rather than
> {bitbucket,gitlab,github}.com and I would also prefer Git over
> Mercurial, but I don’t want to be a hindrance so I’m open to
> discussions.  :-)

No worries. The idea was to move the useful parts to guix-artwork on
gnu.org.

To be honest, when I started this version of the website I was just
motivated on implementing the designs and exploring a way to organize
modules in a haunt website so that data, builders and templates were
separated. But I was not very interested in dealing with git workflows,
and strict commit messages. Sorry about that :)

So, what do we do? Create a branch on guix-artwork and drop these files
there to complete what is missing? I don't know...


-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-06-16  2:52         ` sirgazil
@ 2017-06-16  7:05           ` Ludovic Courtès
  2017-06-16 14:46             ` sirgazil
  0 siblings, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-06-16  7:05 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Howdy!

sirgazil <sirgazil@zoho.com> skribis:

> On 15/06/17 02:59, Ludovic Courtès wrote:

[...]

>> On a more practical level, what would you like the workflow to be like
>> from there on?  I would prefer hosting the source on gnu.org rather than
>> {bitbucket,gitlab,github}.com and I would also prefer Git over
>> Mercurial, but I don’t want to be a hindrance so I’m open to
>> discussions.  :-)
>
> No worries. The idea was to move the useful parts to guix-artwork on
> gnu.org.
>
> To be honest, when I started this version of the website I was just
> motivated on implementing the designs and exploring a way to organize
> modules in a haunt website so that data, builders and templates were
> separated. But I was not very interested in dealing with git workflows,
> and strict commit messages. Sorry about that :)

No problem, this is perfectly understandable (also I’m fine with relaxed
conventions on guix-artwork.git).

> So, what do we do? Create a branch on guix-artwork and drop these files
> there to complete what is missing? I don't know...

Yes we could do that.  Should we investigate the missing bits first?  I
haven’t taken the time to do it yet, sorry about that.

Thank you!

Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-06-16  7:05           ` Ludovic Courtès
@ 2017-06-16 14:46             ` sirgazil
  2017-06-17  4:57               ` Catonano
  2017-07-29 17:53               ` Ludovic Courtès
  0 siblings, 2 replies; 45+ messages in thread
From: sirgazil @ 2017-06-16 14:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006

On 16/06/17 02:05, Ludovic Courtès wrote:
> Howdy!
>
> sirgazil <sirgazil@zoho.com> skribis:
>
>> On 15/06/17 02:59, Ludovic Courtès wrote:
> [...]
>
>>> On a more practical level, what would you like the workflow to be like
>>> from there on?  I would prefer hosting the source on gnu.org rather than
>>> {bitbucket,gitlab,github}.com and I would also prefer Git over
>>> Mercurial, but I don’t want to be a hindrance so I’m open to
>>> discussions.  :-)
>> No worries. The idea was to move the useful parts to guix-artwork on
>> gnu.org.
>>
>> To be honest, when I started this version of the website I was just
>> motivated on implementing the designs and exploring a way to organize
>> modules in a haunt website so that data, builders and templates were
>> separated. But I was not very interested in dealing with git workflows,
>> and strict commit messages. Sorry about that :)
> No problem, this is perfectly understandable (also I’m fine with relaxed
> conventions on guix-artwork.git).
>
>> So, what do we do? Create a branch on guix-artwork and drop these files
>> there to complete what is missing? I don't know...
> Yes we could do that.  Should we investigate the missing bits first?  I
> haven’t taken the time to do it yet, sorry about that.

Maybe you should learn how to do mitosis. Another civodul would come in
handy. Until that, take your time, no problem :)

I'm fine with investigating the missing parts before or after moving to
guix-artwork.git.

-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-06-16 14:46             ` sirgazil
@ 2017-06-17  4:57               ` Catonano
  2017-06-17  7:16                 ` Catonano
  2017-06-17 15:19                 ` sirgazil
  2017-07-29 17:53               ` Ludovic Courtès
  1 sibling, 2 replies; 45+ messages in thread
From: Catonano @ 2017-06-17  4:57 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:

>

I'm fine with investigating the missing parts before or after moving to
> guix-artwork.git.
>

For what it's worth, I vouch for moving all to gnu.org and possibly
expressing the issues in the appropriate debbugs instance

Then, I might be able to collaborate in sorting out some issues

I never used Mercurial. I should learn from scratch.

Also, I can't access the issues on bitbucket because the login doesn't work
in Icecat (plus some nonsense about upgrading my account and coming mobile
apps that require me some voodoo right now)

So I can't see the issues at
https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open

[-- Attachment #2: Type: text/html, Size: 1425 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17  4:57               ` Catonano
@ 2017-06-17  7:16                 ` Catonano
  2017-06-17 15:46                   ` sirgazil
  2017-06-17 15:19                 ` sirgazil
  1 sibling, 1 reply; 45+ messages in thread
From: Catonano @ 2017-06-17  7:16 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 2388 bytes --]

2017-06-17 6:57 GMT+02:00 Catonano <catonano@gmail.com>:

>
>
> 2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:
>
>>
>
> I'm fine with investigating the missing parts before or after moving to
>> guix-artwork.git.
>>
>
> For what it's worth, I vouch for moving all to gnu.org and possibly
> expressing the issues in the appropriate debbugs instance
>
> Then, I might be able to collaborate in sorting out some issues
>
> I never used Mercurial. I should learn from scratch.
>
> Also, I can't access the issues on bitbucket because the login doesn't
> work in Icecat (plus some nonsense about upgrading my account and coming
> mobile apps that require me some voodoo right now)
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/
> issues?status=new&status=open
>
>
I managed to install mercurial, but I can't build it

[env]$ haunt build
Backtrace:
In ice-9/boot-9.scm:
  2986:16 19 (try-module-autoload _ _)
   2316:4 18 (save-module-excursion #<procedure 11b0d50 at ice-9/boo…>)
  3006:22 17 (_)
In unknown file:
          16 (primitive-load-path "apps/blog/utils" #<procedure 11d0…>)
In ice-9/eval.scm:
   721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
In ice-9/psyntax.scm:
  1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
  1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34 11 (_ #<module (#{ g66}#) 11c2d20>)
In ice-9/boot-9.scm:
   2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2879:24  9 (_)
   230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
   230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
   230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
   230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
   230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
   230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
   230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

[-- Attachment #2: Type: text/html, Size: 3616 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17  4:57               ` Catonano
  2017-06-17  7:16                 ` Catonano
@ 2017-06-17 15:19                 ` sirgazil
  2017-06-17 15:19                   ` Catonano
  1 sibling, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-06-17 15:19 UTC (permalink / raw)
  To: Catonano; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

On 16/06/17 23:57, Catonano wrote:
>
>
> 2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com
> <mailto:sirgazil@zoho.com>>:
>
>      
>
>     I'm fine with investigating the missing parts before or after
>     moving to
>     guix-artwork.git.
>
>
> For what it's worth, I vouch for moving all to gnu.org
> <http://gnu.org> and possibly expressing the issues in the appropriate
> debbugs instance
>
> Then, I might be able to collaborate in sorting out some issues
>
> I never used Mercurial. I should learn from scratch.
>
> Also, I can't access the issues on bitbucket because the login doesn't
> work in Icecat (plus some nonsense about upgrading my account and
> coming mobile apps that require me some voodoo right now)
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>

Sorry about that. The issue tracker was set to private, but I just made
it public. Also, you can use the tracker "anonymously" (i. e. you don't
need a Bitbucket account).

-- 
https://sirgazil.bitbucket.io/


[-- Attachment #2: Type: text/html, Size: 2766 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17 15:19                 ` sirgazil
@ 2017-06-17 15:19                   ` Catonano
  0 siblings, 0 replies; 45+ messages in thread
From: Catonano @ 2017-06-17 15:19 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

2017-06-17 17:19 GMT+02:00 sirgazil <sirgazil@zoho.com>:

> On 16/06/17 23:57, Catonano wrote:
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/
> issues?status=new&status=open
>
>
>
>
>
Sorry about that. The issue tracker was set to private, but I just made it
> public. Also, you can use the tracker "anonymously" (i. e. you don't need a
> Bitbucket account).
>

Ok, I could see the issues

Thanks

[-- Attachment #2: Type: text/html, Size: 1455 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17  7:16                 ` Catonano
@ 2017-06-17 15:46                   ` sirgazil
  2017-06-17 16:09                     ` Catonano
  0 siblings, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-06-17 15:46 UTC (permalink / raw)
  To: Catonano; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 2961 bytes --]

On 17/06/17 02:16, Catonano wrote:
>
>
> 2017-06-17 6:57 GMT+02:00 Catonano <catonano@gmail.com
> <mailto:catonano@gmail.com>>:
>
>
>
>     2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com
>     <mailto:sirgazil@zoho.com>>:
>
>          
>
>         I'm fine with investigating the missing parts before or after
>         moving to
>         guix-artwork.git.
>
>
>     For what it's worth, I vouch for moving all to gnu.org
>     <http://gnu.org> and possibly expressing the issues in the
>     appropriate debbugs instance
>
>     Then, I might be able to collaborate in sorting out some issues
>
>     I never used Mercurial. I should learn from scratch.
>
>     Also, I can't access the issues on bitbucket because the login
>     doesn't work in Icecat (plus some nonsense about upgrading my
>     account and coming mobile apps that require me some voodoo right now)
>
>     So I can't see the issues at
>     https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>     <https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open>
>
>
> I managed to install mercurial, but I can't build it
>
> [env]$ haunt build
> Backtrace:
> In ice-9/boot-9.scm:
>   2986:16 19 (try-module-autoload _ _)
>    2316:4 18 (save-module-excursion #<procedure 11b0d50 at ice-9/boo…>)
>   3006:22 17 (_)
> In unknown file:
>           16 (primitive-load-path "apps/blog/utils" #<procedure 11d0…>)
> In ice-9/eval.scm:
>    721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
> In ice-9/psyntax.scm:
>   1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
>   1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>    284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
> In ice-9/eval.scm:
>    293:34 11 (_ #<module (#{ g66}#) 11c2d20>)
> In ice-9/boot-9.scm:
>    2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
>   2879:24  9 (_)
>    230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
>    230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
>    230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
>    230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
>    230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
>    230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>    230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>    2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>

Catonano, could you try without an environment?

$ cd /path/to/guixsd-website
$ guix package -i git glibc-locales guile@2.2 guile-syntax-highlight
guix haunt

I actually work without environments, and it works, but will try to
reproduce that error.

-- 
https://sirgazil.bitbucket.io/


[-- Attachment #2: Type: text/html, Size: 6305 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17 15:46                   ` sirgazil
@ 2017-06-17 16:09                     ` Catonano
  2017-06-17 16:41                       ` sirgazil
  0 siblings, 1 reply; 45+ messages in thread
From: Catonano @ 2017-06-17 16:09 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 2945 bytes --]

2017-06-17 17:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:

> On 17/06/17 02:16, Catonano wrote:
>
>
>
> 2017-06-17 6:57 GMT+02:00 Catonano <catonano@gmail.com>:
>
>>
>>
>> 2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:
>>
>>>
>>
>> I'm fine with investigating the missing parts before or after moving to
>>> guix-artwork.git.
>>>
>>
>> For what it's worth, I vouch for moving all to gnu.org and possibly
>> expressing the issues in the appropriate debbugs instance
>>
>> Then, I might be able to collaborate in sorting out some issues
>>
>> I never used Mercurial. I should learn from scratch.
>>
>> Also, I can't access the issues on bitbucket because the login doesn't
>> work in Icecat (plus some nonsense about upgrading my account and coming
>> mobile apps that require me some voodoo right now)
>>
>> So I can't see the issues at
>> https://bitbucket.org/sirgazil/guixsd-website/issues?status=
>> new&status=open
>>
>>
> I managed to install mercurial, but I can't build it
>
> [env]$ haunt build
> Backtrace:
> In ice-9/boot-9.scm:
>   2986:16 19 (try-module-autoload _ _)
>    2316:4 18 (save-module-excursion #<procedure 11b0d50 at ice-9/boo…>)
>   3006:22 17 (_)
> In unknown file:
>           16 (primitive-load-path "apps/blog/utils" #<procedure 11d0…>)
> In ice-9/eval.scm:
>    721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
> In ice-9/psyntax.scm:
>   1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
>   1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>    284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
> In ice-9/eval.scm:
>    293:34 11 (_ #<module (#{ g66}#) 11c2d20>)
> In ice-9/boot-9.scm:
>    2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
>   2879:24  9 (_)
>    230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
>    230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
>    230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
>    230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
>    230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
>    230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>    230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>    2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>
>
> Catonano, could you try without an environment?
>
> $ cd /path/to/guixsd-website
> $ guix package -i git glibc-locales guile@2.2 guile-syntax-highlight guix
> haunt
>
> I actually work without environments, and it works, but will try to
> reproduce that error.
>

You're right. Like this, it's working

It's building the pages right now !

[-- Attachment #2: Type: text/html, Size: 6321 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17 16:09                     ` Catonano
@ 2017-06-17 16:41                       ` sirgazil
  2017-06-17 17:12                         ` Catonano
  0 siblings, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-06-17 16:41 UTC (permalink / raw)
  To: Catonano; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 4290 bytes --]

On 17/06/17 11:09, Catonano wrote:
> 2017-06-17 17:46 GMT+02:00 sirgazil <sirgazil@zoho.com
> <mailto:sirgazil@zoho.com>>:
>
>     On 17/06/17 02:16, Catonano wrote:
>>
>>
>>     2017-06-17 6:57 GMT+02:00 Catonano <catonano@gmail.com
>>     <mailto:catonano@gmail.com>>:
>>
>>
>>
>>         2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com
>>         <mailto:sirgazil@zoho.com>>:
>>
>>              
>>
>>             I'm fine with investigating the missing parts before or
>>             after moving to
>>             guix-artwork.git.
>>
>>
>>         For what it's worth, I vouch for moving all to gnu.org
>>         <http://gnu.org> and possibly expressing the issues in the
>>         appropriate debbugs instance
>>
>>         Then, I might be able to collaborate in sorting out some issues
>>
>>         I never used Mercurial. I should learn from scratch.
>>
>>         Also, I can't access the issues on bitbucket because the
>>         login doesn't work in Icecat (plus some nonsense about
>>         upgrading my account and coming mobile apps that require me
>>         some voodoo right now)
>>
>>         So I can't see the issues at
>>         https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>>         <https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open>
>>
>>
>>     I managed to install mercurial, but I can't build it
>>
>>     [env]$ haunt build
>>     Backtrace:
>>     In ice-9/boot-9.scm:
>>       2986:16 19 (try-module-autoload _ _)
>>        2316:4 18 (save-module-excursion #<procedure 11b0d50 at
>>     ice-9/boo…>)
>>       3006:22 17 (_)
>>     In unknown file:
>>               16 (primitive-load-path "apps/blog/utils" #<procedure
>>     11d0…>)
>>     In ice-9/eval.scm:
>>        721:20 15 (primitive-eval (define-module (apps blog utils) #
>>     (…) …))
>>     In ice-9/psyntax.scm:
>>       1234:36 14 (expand-top-sequence ((define-module (apps blog #) #
>>     …)) …)
>>       1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# #
>>     …)) …)
>>        284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e
>>     (eval) …)
>>     In ice-9/eval.scm:
>>        293:34 11 (_ #<module (#{ g66}#) 11c2d20>)
>>     In ice-9/boot-9.scm:
>>        2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _
>>     # _ …)
>>       2879:24  9 (_)
>>        230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt
>>     …)) …))
>>        230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #))
>>     (#) …))
>>        230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi
>>     srfi-1)) …))
>>        230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #))
>>     (#) …))
>>        230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((#
>>     #)) #))
>>        230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>>        230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>>        2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _
>>     # _ …)
>>     In unknown file:
>>                0 (scm-error misc-error #f "~A ~S" ("no code for
>>     modu…" …) …)
>>
>
>     Catonano, could you try without an environment?
>
>     $ cd /path/to/guixsd-website
>     $ guix package -i git glibc-locales guile@2.2 <mailto:guile@2.2>
>     guile-syntax-highlight guix haunt
>
>     I actually work without environments, and it works, but will try
>     to reproduce that error.
>
>
> You're right. Like this, it's working
>
> It's building the pages right now !

Catonano, to avoid building all the packages (3-4 minutes in this
machine), you should run the build like this:

$ GUIX_WEB_SITE_LOCAL=yes haunt build

Also, this way, the website URLs are modified to work locally, and only
300 packages will be built for testing.

If you run:

$ haunt build

It will build the website for production, which uses the gnu.org URL
path for projects, so running "haunt serve" after that won't display the
website correctly. In this case, what I do is use python server, and not
haunt server. Like so:

$ haunt build
$ cd /tmp/gnu/
$ python3 -m http.server

Then you can visit http://localhost:8000/, and the site should work as
if it were in production.

-- 
https://sirgazil.bitbucket.io/


[-- Attachment #2: Type: text/html, Size: 10891 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17 16:41                       ` sirgazil
@ 2017-06-17 17:12                         ` Catonano
  2017-06-17 18:11                           ` sirgazil
  0 siblings, 1 reply; 45+ messages in thread
From: Catonano @ 2017-06-17 17:12 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

2017-06-17 18:41 GMT+02:00 sirgazil <sirgazil@zoho.com>:

>
> Catonano, to avoid building all the packages (3-4 minutes in this
> machine), you should run the build like this:
>
> $ GUIX_WEB_SITE_LOCAL=yes haunt build
>
> Also, this way, the website URLs are modified to work locally, and only
> 300 packages will be built for testing.
>
> If you run:
>
> $ haunt build
>
> It will build the website for production, which uses the gnu.org URL path
> for projects, so running "haunt serve" after that won't display the website
> correctly. In this case, what I do is use python server, and not haunt
> server. Like so:
>
> $ haunt build
> $ cd /tmp/gnu/
> $ python3 -m http.server
>
> Then you can visit http://localhost:8000/, and the site should work as if
> it were in production.
>

All this stuff is good to know, thanks

I attempted to chhange te build pat to ./build and when seeing it in Icecat
I got the html as plain text, not rendered.

I reset it to what it was and it works like a charm

Why ?

Anyway, now I see the site, I like it but I can't be accurate

I will have to re-red the whole thread to consiider all the issues

Thanks !
Ciao

[-- Attachment #2: Type: text/html, Size: 2287 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-17 17:12                         ` Catonano
@ 2017-06-17 18:11                           ` sirgazil
  0 siblings, 0 replies; 45+ messages in thread
From: sirgazil @ 2017-06-17 18:11 UTC (permalink / raw)
  To: Catonano; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]

On 17/06/17 12:12, Catonano wrote:
> 2017-06-17 18:41 GMT+02:00 sirgazil <sirgazil@zoho.com
> <mailto:sirgazil@zoho.com>>:
>
>
>     Catonano, to avoid building all the packages (3-4 minutes in this
>     machine), you should run the build like this:
>
>     $ GUIX_WEB_SITE_LOCAL=yes haunt build
>
>     Also, this way, the website URLs are modified to work locally, and
>     only 300 packages will be built for testing.
>
>     If you run:
>
>     $ haunt build
>
>     It will build the website for production, which uses the gnu.org
>     <http://gnu.org> URL path for projects, so running "haunt serve"
>     after that won't display the website correctly. In this case, what
>     I do is use python server, and not haunt server. Like so:
>
>     $ haunt build
>     $ cd /tmp/gnu/
>     $ python3 -m http.server
>
>     Then you can visit http://localhost:8000/, and the site should
>     work as if it were in production.
>
>
> All this stuff is good to know, thanks

I should write everything in the README.

>
> I attempted to chhange te build pat to ./build and when seeing it in
> Icecat I got the html as plain text, not rendered.
>
> I reset it to what it was and it works like a charm
>
> Why ?

Yeah, for some reason, system paths specified in Haunt objects can't
have dots. See: https://bitbucket.org/sirgazil/guixsd-website/issues/47/ .

>
> Anyway, now I see the site, I like it but I can't be accurate
>
> I will have to re-red the whole thread to consiider all the issues
>
> Thanks !
> Ciao

Anytime!

-- 
https://sirgazil.bitbucket.io/


[-- Attachment #2: Type: text/html, Size: 4791 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-06-08 19:06 ` sirgazil
  2017-06-13 22:08   ` Ludovic Courtès
@ 2017-07-01 14:26   ` Ludovic Courtès
  2017-07-04 20:00     ` sirgazil
  1 sibling, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-07-01 14:26 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006, David Thompson

Hi sirgazil,

Slowly trying to catch up…

sirgazil <sirgazil@zoho.com> skribis:

> This implementation is missing the following parts:
>
> 1. New screenshots
> 2. Packages pages
>    1. Package detail page
>    2. Packages issues page
>    3. Packages reproducibility page
>    4. Packages JSON file
>
> To complete part (1) someone could provide the screenshots (ideally
> 1920×1080 px) in JPG and add them to the "static/media/img" directory,
> and update the list of screenshots in "apps/base/data.scm".

Since “someone” has not shown up yet ;-), maybe we can delay (1), no?

> To complete (2), there are some package related procedures missing
> (https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open).
> I tried to use the code that is already in the current website, but
> couldn't figure things out.
>
> To complete part (2.1), there is an issue to solve: package pages go in
> paths like "/packages/blender-3.0/", but running "haunt build" with
> pages on paths that include "." will render the pages with all the HTML
> content inside a pre element. David, the maintainer of Haunt, does not
> know yet why this would happen. If this issue is solved, there are
> already helper builders in "apps/packages/builders.scm" to generate all
> the pages.

Was this issue fixed in the meantime?  David?

> So, for now, the packages pages are working as in the current website,
> but not using tables (to make it easier to adapt the page to several
> screen widths), and packages are distributed in numbered pages to avoid
> big HTML pages that take too long to load.
>
> Also, the JavaScript code that gets package build status is not
> integrated (couldn't figure this one out either).

Did you have a chance to look at whether you could include the existing
code?  After all, the code is already there so we should be able to just
“move” it to its new home without further ado.

If that’s more complicated that this, then maybe we can ask for help
from Alex Sassmannshausen, or simply delay it.

> To complete (2.2), (2.3), and (2.4) someone could add helper builders to
> the packages app, and recycle the related SXML pages already used in the
> current website.

Likewise, can’t we just reuse the existing code?  I haven’t looked
closely but I imagine we won’t have to rewrite all of these from
scratch.

How can we proceed?  I wouldn’t want to let the fancy web site bitrot!
I’m a bit swamped though so it would be more productive if you could
directly hack on it on the repo, but I think you were unwilling to do
this?  Thoughts?  :-)

Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-07-01 14:26   ` bug#26006: [Website] Integral update proposal Ludovic Courtès
@ 2017-07-04 20:00     ` sirgazil
  2017-07-04 20:09       ` Catonano
  2017-07-04 21:24       ` Ludovic Courtès
  0 siblings, 2 replies; 45+ messages in thread
From: sirgazil @ 2017-07-04 20:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, David Thompson

Hey :)


On 01/07/17 09:26, Ludovic Courtès wrote:
> Hi sirgazil,
>
> Slowly trying to catch up…
>
> sirgazil <sirgazil@zoho.com> skribis:
>
>> This implementation is missing the following parts:
>>
>> 1. New screenshots
>> 2. Packages pages
>>     1. Package detail page
>>     2. Packages issues page
>>     3. Packages reproducibility page
>>     4. Packages JSON file
>>
>> To complete part (1) someone could provide the screenshots (ideally
>> 1920×1080 px) in JPG and add them to the "static/media/img" directory,
>> and update the list of screenshots in "apps/base/data.scm".
> Since “someone” has not shown up yet ;-), maybe we can delay (1), no?
>
>> To complete (2), there are some package related procedures missing
>> (https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open).
>> I tried to use the code that is already in the current website, but
>> couldn't figure things out.
>>
>> To complete part (2.1), there is an issue to solve: package pages go in
>> paths like "/packages/blender-3.0/", but running "haunt build" with
>> pages on paths that include "." will render the pages with all the HTML
>> content inside a pre element. David, the maintainer of Haunt, does not
>> know yet why this would happen. If this issue is solved, there are
>> already helper builders in "apps/packages/builders.scm" to generate all
>> the pages.
> Was this issue fixed in the meantime?  David?
>
>> So, for now, the packages pages are working as in the current website,
>> but not using tables (to make it easier to adapt the page to several
>> screen widths), and packages are distributed in numbered pages to avoid
>> big HTML pages that take too long to load.
>>
>> Also, the JavaScript code that gets package build status is not
>> integrated (couldn't figure this one out either).
> Did you have a chance to look at whether you could include the existing
> code?  After all, the code is already there so we should be able to just
> “move” it to its new home without further ado.
>
> If that’s more complicated that this, then maybe we can ask for help
> from Alex Sassmannshausen, or simply delay it.
>
>> To complete (2.2), (2.3), and (2.4) someone could add helper builders to
>> the packages app, and recycle the related SXML pages already used in the
>> current website.
> Likewise, can’t we just reuse the existing code?  I haven’t looked
> closely but I imagine we won’t have to rewrite all of these from
> scratch.
>
> How can we proceed?  I wouldn’t want to let the fancy web site bitrot!
> I’m a bit swamped though so it would be more productive if you could
> directly hack on it on the repo, but I think you were unwilling to do
> this?  Thoughts?  :-)

I was going to take a look again, and see what I could do to complete 
the thing, but during the application setup of guix 0.13.0 many things 
were being built and the computer turned off three times. It seems it 
can't take that job (I didn't have this problem with 0.12.0, though).

So I don't know what to do :(

-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-07-04 20:00     ` sirgazil
@ 2017-07-04 20:09       ` Catonano
  2017-07-05  0:45         ` sirgazil
  2017-07-04 21:24       ` Ludovic Courtès
  1 sibling, 1 reply; 45+ messages in thread
From: Catonano @ 2017-07-04 20:09 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006, David Thompson

[-- Attachment #1: Type: text/plain, Size: 3941 bytes --]

2017-07-04 22:00 GMT+02:00 sirgazil <sirgazil@zoho.com>:

> Hey :)
>
>
>
> On 01/07/17 09:26, Ludovic Courtès wrote:
>
>> Hi sirgazil,
>>
>> Slowly trying to catch up…
>>
>> sirgazil <sirgazil@zoho.com> skribis:
>>
>> This implementation is missing the following parts:
>>>
>>> 1. New screenshots
>>> 2. Packages pages
>>>     1. Package detail page
>>>     2. Packages issues page
>>>     3. Packages reproducibility page
>>>     4. Packages JSON file
>>>
>>> To complete part (1) someone could provide the screenshots (ideally
>>> 1920×1080 px) in JPG and add them to the "static/media/img" directory,
>>> and update the list of screenshots in "apps/base/data.scm".
>>>
>> Since “someone” has not shown up yet ;-), maybe we can delay (1), no?
>>
>> To complete (2), there are some package related procedures missing
>>> (https://bitbucket.org/sirgazil/guixsd-website/issues?
>>> status=new&status=open).
>>> I tried to use the code that is already in the current website, but
>>> couldn't figure things out.
>>>
>>> To complete part (2.1), there is an issue to solve: package pages go in
>>> paths like "/packages/blender-3.0/", but running "haunt build" with
>>> pages on paths that include "." will render the pages with all the HTML
>>> content inside a pre element. David, the maintainer of Haunt, does not
>>> know yet why this would happen. If this issue is solved, there are
>>> already helper builders in "apps/packages/builders.scm" to generate all
>>> the pages.
>>>
>> Was this issue fixed in the meantime?  David?
>>
>> So, for now, the packages pages are working as in the current website,
>>> but not using tables (to make it easier to adapt the page to several
>>> screen widths), and packages are distributed in numbered pages to avoid
>>> big HTML pages that take too long to load.
>>>
>>> Also, the JavaScript code that gets package build status is not
>>> integrated (couldn't figure this one out either).
>>>
>> Did you have a chance to look at whether you could include the existing
>> code?  After all, the code is already there so we should be able to just
>> “move” it to its new home without further ado.
>>
>> If that’s more complicated that this, then maybe we can ask for help
>> from Alex Sassmannshausen, or simply delay it.
>>
>> To complete (2.2), (2.3), and (2.4) someone could add helper builders to
>>> the packages app, and recycle the related SXML pages already used in the
>>> current website.
>>>
>> Likewise, can’t we just reuse the existing code?  I haven’t looked
>> closely but I imagine we won’t have to rewrite all of these from
>> scratch.
>>
>> How can we proceed?  I wouldn’t want to let the fancy web site bitrot!
>> I’m a bit swamped though so it would be more productive if you could
>> directly hack on it on the repo, but I think you were unwilling to do
>> this?  Thoughts?  :-)
>>
>
> I was going to take a look again, and see what I could do to complete the
> thing, but during the application setup of guix 0.13.0 many things were
> being built and the computer turned off three times. It seems it can't take
> that job (I didn't have this problem with 0.12.0, though).
>
> So I don't know what to do


computers need manteinance

This could be a sign that your computer needs a refreshing of its thermal
grease and a cleaning of its grates.

Usually when you do that, it becomes an almost new machine and can compile
lots of stuff. That's my experience, by the way.

Another thing you could do is wait for a better building servers park to be
available for Guix

Rekado has mentioned that an improvement is in the pipe, to be delivered
soonish

With that you could find way more binaries ready for use and you won't need
your own computer to compile them

Ludo is way more competent and informed than I am, though, so he might have
some better suggestion.

[-- Attachment #2: Type: text/html, Size: 5296 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-07-04 20:00     ` sirgazil
  2017-07-04 20:09       ` Catonano
@ 2017-07-04 21:24       ` Ludovic Courtès
  2017-07-05  1:26         ` sirgazil
  1 sibling, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-07-04 21:24 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006, David Thompson

Hi!

sirgazil <sirgazil@zoho.com> skribis:

> I was going to take a look again, and see what I could do to complete
> the thing, but during the application setup of guix 0.13.0 many things
> were being built and the computer turned off three times. It seems it
> can't take that job (I didn't have this problem with 0.12.0, though).

Ouch, that’s no good.  The web site itself needs a few packages of
course; if you do ‘guix pull’ (the CPU-intensive part) and then “guix
build -f guix.scm” in the website directory, that should build the thing
and download the prerequisites.

If that goes wrong, I guess I’ll allocate time for this maybe next week
and ask for guidance (every else is welcome to help!).

Thanks,
Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-07-04 20:09       ` Catonano
@ 2017-07-05  0:45         ` sirgazil
  0 siblings, 0 replies; 45+ messages in thread
From: sirgazil @ 2017-07-05  0:45 UTC (permalink / raw)
  To: Catonano; +Cc: 26006, David Thompson

[-- Attachment #1: Type: text/plain, Size: 4892 bytes --]

On 04/07/17 15:09, Catonano wrote:
>
>
> 2017-07-04 22:00 GMT+02:00 sirgazil <sirgazil@zoho.com 
> <mailto:sirgazil@zoho.com>>:
>
>     Hey :)
>
>
>
>     On 01/07/17 09:26, Ludovic Courtès wrote:
>
>         Hi sirgazil,
>
>         Slowly trying to catch up…
>
>         sirgazil <sirgazil@zoho.com <mailto:sirgazil@zoho.com>> skribis:
>
>             This implementation is missing the following parts:
>
>             1. New screenshots
>             2. Packages pages
>                 1. Package detail page
>                 2. Packages issues page
>                 3. Packages reproducibility page
>                 4. Packages JSON file
>
>             To complete part (1) someone could provide the screenshots
>             (ideally
>             1920×1080 px) in JPG and add them to the
>             "static/media/img" directory,
>             and update the list of screenshots in "apps/base/data.scm".
>
>         Since “someone” has not shown up yet ;-), maybe we can delay
>         (1), no?
>
>             To complete (2), there are some package related procedures
>             missing
>             (https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>             <https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open>).
>             I tried to use the code that is already in the current
>             website, but
>             couldn't figure things out.
>
>             To complete part (2.1), there is an issue to solve:
>             package pages go in
>             paths like "/packages/blender-3.0/", but running "haunt
>             build" with
>             pages on paths that include "." will render the pages with
>             all the HTML
>             content inside a pre element. David, the maintainer of
>             Haunt, does not
>             know yet why this would happen. If this issue is solved,
>             there are
>             already helper builders in "apps/packages/builders.scm" to
>             generate all
>             the pages.
>
>         Was this issue fixed in the meantime?  David?
>
>             So, for now, the packages pages are working as in the
>             current website,
>             but not using tables (to make it easier to adapt the page
>             to several
>             screen widths), and packages are distributed in numbered
>             pages to avoid
>             big HTML pages that take too long to load.
>
>             Also, the JavaScript code that gets package build status
>             is not
>             integrated (couldn't figure this one out either).
>
>         Did you have a chance to look at whether you could include the
>         existing
>         code?  After all, the code is already there so we should be
>         able to just
>         “move” it to its new home without further ado.
>
>         If that’s more complicated that this, then maybe we can ask
>         for help
>         from Alex Sassmannshausen, or simply delay it.
>
>             To complete (2.2), (2.3), and (2.4) someone could add
>             helper builders to
>             the packages app, and recycle the related SXML pages
>             already used in the
>             current website.
>
>         Likewise, can’t we just reuse the existing code?  I haven’t looked
>         closely but I imagine we won’t have to rewrite all of these from
>         scratch.
>
>         How can we proceed?  I wouldn’t want to let the fancy web site
>         bitrot!
>         I’m a bit swamped though so it would be more productive if you
>         could
>         directly hack on it on the repo, but I think you were
>         unwilling to do
>         this?  Thoughts?  :-)
>
>
>     I was going to take a look again, and see what I could do to
>     complete the thing, but during the application setup of guix
>     0.13.0 many things were being built and the computer turned off
>     three times. It seems it can't take that job (I didn't have this
>     problem with 0.12.0, though).
>
>     So I don't know what to do 
>
>
> computers need manteinance
>
> This could be a sign that your computer needs a refreshing of its 
> thermal grease and a cleaning of its grates.
>
> Usually when you do that, it becomes an almost new machine and can 
> compile lots of stuff. That's my experience, by the way.

I'll see if I can do something about it.

> Another thing you could do is wait for a better building servers park 
> to be available for Guix
>
> Rekado has mentioned that an improvement is in the pipe, to be 
> delivered soonish
>
> With that you could find way more binaries ready for use and you won't 
> need your own computer to compile them
>
> Ludo is way more competent and informed than I am, though, so he might 
> have some better suggestion.

Thanks, Catonano :)

-- 
https://sirgazil.bitbucket.io/


[-- Attachment #2: Type: text/html, Size: 9010 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-07-04 21:24       ` Ludovic Courtès
@ 2017-07-05  1:26         ` sirgazil
  0 siblings, 0 replies; 45+ messages in thread
From: sirgazil @ 2017-07-05  1:26 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, David Thompson

On 04/07/17 16:24, Ludovic Courtès wrote:
> Hi!
>
> sirgazil <sirgazil@zoho.com> skribis:
>
>> I was going to take a look again, and see what I could do to complete
>> the thing, but during the application setup of guix 0.13.0 many things
>> were being built and the computer turned off three times. It seems it
>> can't take that job (I didn't have this problem with 0.12.0, though).
> Ouch, that’s no good.  The web site itself needs a few packages of
> course; if you do ‘guix pull’ (the CPU-intensive part) and then “guix
> build -f guix.scm” in the website directory, that should build the thing
> and download the prerequisites.

The computer didn't made it through guix pull.

> If that goes wrong, I guess I’ll allocate time for this maybe next week
> and ask for guidance (every else is welcome to help!).
>

I'll see if I can do something about the thermal grease.

-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-06-16 14:46             ` sirgazil
  2017-06-17  4:57               ` Catonano
@ 2017-07-29 17:53               ` Ludovic Courtès
  2017-08-01 22:13                 ` sirgazil
  1 sibling, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-07-29 17:53 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

Hi sirgazil,

Sorry for the looong delay.  I’ve finally incorporated the new web site
in the guix-artwork.git repo along with a couple of fixes:

  https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/log/?h=wip-website-update

I think it’s mostly ready to go.  There are a few things missing from
package pages:

  • The gnu icon next to GNU packages; it’d be easy to re-introduce, but
    I’m not sure whether/how it could fit well in the page design.

  • The JS build status icons.  Likewise, I’m not sure how to make it
    look good on package pages.

  • The reproducibility and issue pages, but we’ve disabled them
    recently anyway for performance reasons.

Thoughts?

I guess none of these are blockers, though.

Thanks,
Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-07-29 17:53               ` Ludovic Courtès
@ 2017-08-01 22:13                 ` sirgazil
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
  0 siblings, 1 reply; 45+ messages in thread
From: sirgazil @ 2017-08-01 22:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006

On 29/07/17 12:53, Ludovic Courtès wrote:
> Hi sirgazil,

Hi Ludo,

> Sorry for the looong delay.  I’ve finally incorporated the new web site
> in the guix-artwork.git repo along with a couple of fixes:
>
>    https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/log/?h=wip-website-update

No problem :)

> I think it’s mostly ready to go.  There are a few things missing from
> package pages:
>
>    • The gnu icon next to GNU packages; it’d be easy to re-introduce, but
>      I’m not sure whether/how it could fit well in the page design.

I forgot to design that part, but I'd try appending a text like "This 
package is part of GNU" to the package description, and maybe adding a 
translucent GNU head in the background of the package box (top-right).

>    • The JS build status icons.  Likewise, I’m not sure how to make it
>      look good on package pages.

I designed an alternative representation of build status. It is in 
designs/packages.svg, but here is an image:

https://multimedialib.files.wordpress.com/2017/08/package-with-issues.png

>    • The reproducibility and issue pages, but we’ve disabled them
>      recently anyway for performance reasons.

Then I'd remove them from the main menu and the packages sidebar for now.

> Thoughts?
>
> I guess none of these are blockers, though.

I'd love to apply the missing changes myself, but I'm currently lacking 
a guix-enabled computer. But, yes, I think these things should not stop 
a website update.


P. S.: I hope the new code was not a pain in the neck deal with. I'm 
sorry if it is :P

-- 
https://sirgazil.bitbucket.io/

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

* bug#26006: [Website] Integral update proposal
  2017-03-07 14:13 ` Ludovic Courtès
  2017-03-10 16:46   ` sirgazil
@ 2017-10-01 11:02   ` ng0
  2017-10-02  7:50     ` Ludovic Courtès
  1 sibling, 1 reply; 45+ messages in thread
From: ng0 @ 2017-10-01 11:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, sirgazil

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Hi,

what's missing for this branch to be merged? I took a quick build on this
(and because I like the code as a reference), and it looks good. Builds,
maybe some changes from master have to be applied to it (like using
https instead of http at the download URLs).

Anything missing we could help out with?
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-10-01 11:02   ` ng0
@ 2017-10-02  7:50     ` Ludovic Courtès
  2017-10-02  8:36       ` ng0
  0 siblings, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2017-10-02  7:50 UTC (permalink / raw)
  To: ng0; +Cc: 26006, sirgazil

Hello ng0,

ng0 <ng0@infotropique.org> skribis:

> what's missing for this branch to be merged? I took a quick build on this
> (and because I like the code as a reference), and it looks good. Builds,
> maybe some changes from master have to be applied to it (like using
> https instead of http at the download URLs).
>
> Anything missing we could help out with?

Sure, not that much is missing.  I must say that I’m really sorry that
we failed to move forward on this after all the great work sirgazil did!

IIRC one of the problems is that the /packages page by default shows all
packages, which is too much.  We should fix that.

Then I think there were tiny issues here and there, nothing big though
(since the new site was written from scratch, some of the fine-tuning we
did on the old one was lost.)

Last, we’ll need to setup redirects for the old blog post URLs, and
perhaps for a few other pages.

If you could build it, browse it, report/fix issues, and identify
redirects that need to be made, that would help tremendously!  I’ve felt
lonely while working on it, so I’m really happy if you can take a closer
look.  ;-)

Let’s team up and get this done!

Thanks,
Ludo’.

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

* bug#26006: [Website] Integral update proposal
  2017-10-02  7:50     ` Ludovic Courtès
@ 2017-10-02  8:36       ` ng0
  2017-10-02  9:10         ` Ludovic Courtès
  0 siblings, 1 reply; 45+ messages in thread
From: ng0 @ 2017-10-02  8:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, sirgazil

[-- Attachment #1: Type: text/plain, Size: 6638 bytes --]

Ludovic Courtès transcribed 1.2K bytes:
> Hello ng0,
> 
> ng0 <ng0@infotropique.org> skribis:
> 
> > what's missing for this branch to be merged? I took a quick build on this
> > (and because I like the code as a reference), and it looks good. Builds,
> > maybe some changes from master have to be applied to it (like using
> > https instead of http at the download URLs).
> >
> > Anything missing we could help out with?
> 
> Sure, not that much is missing.  I must say that I’m really sorry that
> we failed to move forward on this after all the great work sirgazil did!
> 
> IIRC one of the problems is that the /packages page by default shows all
> packages, which is too much.  We should fix that.
> 
> Then I think there were tiny issues here and there, nothing big though
> (since the new site was written from scratch, some of the fine-tuning we
> did on the old one was lost.)
> 
> Last, we’ll need to setup redirects for the old blog post URLs, and
> perhaps for a few other pages.
> 
> If you could build it, browse it, report/fix issues, and identify
> redirects that need to be made, that would help tremendously!  I’ve felt
> lonely while working on it, so I’m really happy if you can take a closer
> look.  ;-)
> 
> Let’s team up and get this done!
> 
> Thanks,
> Ludo’.

Aside: 
I wasn't able to make use of the guix build -f build.scm
for my adaption of its code base
but haunt build on its own worked. The build.scm was
complaining about this:

user@abyayala ~/src/krosos.org$ guix build -f build.scm
substitute: updating list of substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv
@ build-started /gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv - x86_64-linux /var/log/guix/drvs/jp//qazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv.bz2
Backtrace:
           9 (primitive-load "/tmp/guix-build-gexp.drv-0/haunt.scm")
In ice-9/eval.scm:
   721:20  8 (primitive-eval (use-modules ((apps base builder) # …) …))
In ice-9/psyntax.scm:
  1234:36  7 (expand-top-sequence ((use-modules ((apps base …) …) …)) …)
  1181:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
  3369:20  4 (process-use-modules _)
   230:17  3 (map1 (((apps base builder) #:prefix base:) ((# …) …) …))
  3370:31  2 (_ ((apps base builder) #:prefix base:))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
ERROR: no code for module (apps base builder)
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/deploy.sh' -> `./deploy.sh'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/haunt.scm' -> `./haunt.scm'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/build.scm' -> `./build.scm'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/.gitignore' -> `./.gitignore'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/COPYING' -> `./COPYING'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/guix.packages' -> `./guix.packages'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/guix.scm' -> `./guix.scm'
`/gnu/store/g0f0rsway1cik45kwdwbxfmqpv6nmqyg-krosos-web-site/README' -> `./README'
builder for `/gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv' failed to produce output path `/gnu/store/0n9cp4djm8r3gpcdmbbnc2lgcxdicjm1-gexp'
@ build-failed /gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv - 1 builder for `/gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv' failed to produce output path `/gnu/store/0n9cp4djm8r3gpcdmbbnc2lgcxdicjm1-gexp'
guix build: error: build failed: build of `/gnu/store/jpqazlp2jh66q1yqsxasiqfkwjlx6pcr-gexp.drv' failed


Same for guix-artwork/website:

user@abyayala ~/re-src/guix-artwork/website$ guix build -f build.scm
substitute: updating list of substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv
@ build-started /gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv - x86_64-linux /var/log/guix/drvs/z8//h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv.bz2
Backtrace:
           9 (primitive-load "/tmp/guix-build-gexp.drv-0/haunt.scm")
In ice-9/eval.scm:
   721:20  8 (primitive-eval (use-modules ((apps base builder) # …) …))
In ice-9/psyntax.scm:
  1234:36  7 (expand-top-sequence ((use-modules ((apps base …) …) …)) …)
  1181:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
  3369:20  4 (process-use-modules _)
   230:17  3 (map1 (((apps base builder) #:prefix base:) ((# …) …) …))
  3370:31  2 (_ ((apps base builder) #:prefix base:))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
ERROR: no code for module (apps base builder)
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/haunt.scm' -> `./haunt.scm'
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/build.scm' -> `./build.scm'
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/.gitignore' -> `./.gitignore'
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/COPYING' -> `./COPYING'
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/guix.packages' -> `./guix.packages'
`/gnu/store/cl6zzsjmmq8709zws6zcn0q5vhdz2rfs-guix-web-site/README' -> `./README'
builder for `/gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv' failed to produce output path `/gnu/store/cfiba1yi2bdfd019sdiljm5j2a41v0bb-gexp'
@ build-failed /gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv - 1 builder for `/gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv' failed to produce output path `/gnu/store/cfiba1yi2bdfd019sdiljm5j2a41v0bb-gexp'
guix build: error: build failed: build of `/gnu/store/z8h6fkc6wnimdpd3sj2gzfbrwa94v2qh-gexp.drv' failed
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26006: [Website] Integral update proposal
  2017-10-02  8:36       ` ng0
@ 2017-10-02  9:10         ` Ludovic Courtès
  0 siblings, 0 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-10-02  9:10 UTC (permalink / raw)
  To: ng0; +Cc: 26006, sirgazil

ng0 <ng0@infotropique.org> skribis:

> I wasn't able to make use of the guix build -f build.scm
> for my adaption of its code base
> but haunt build on its own worked. The build.scm was
> complaining about this:

Yep, you even opened a bug about it.  :-)

For now I suggest using “haunt build”.

Ludo’.

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

* bug#26006: New web site is on line!
  2017-08-01 22:13                 ` sirgazil
@ 2017-12-06 17:10                   ` Ludovic Courtès
  2017-12-06 17:55                     ` Alex Sassmannshausen
                                       ` (4 more replies)
  0 siblings, 5 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-12-06 17:10 UTC (permalink / raw)
  To: sirgazil; +Cc: 26006

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

Hello!

It’s embarrassing that it took us so long, but I’m happy to say that the
new web site is on line!

  https://www.gnu.org/software/guix/

I’ve created redirects from the old /news URLs to the new /blog URLs,
using the oh-so-elegant script below (I can’t believe it’s not Scheme!).

Please report:

  • broken links;

  • other pages that need a redirect;

  • information that disappeared—I’m thinking in particular of talks,
    which used to appear under /help, but are now supposed to be made
    available via a blog post, the advantage being that we get
    /blog/tag/TOPIC links to the post;

  • anything else that’s broken.

For web design issues, I hope sirgazil or someone else can answer and
take action—I’m still not much of a web person and it’s probably better
for everyone when I stick to writing Scheme.  ;-)

Note that the cron job that used to update package pages from
hydra.gnu.org is now broken.  I’ll try to come up with something else
with proper GuixSD integration and run it from berlin.guixsd.org.

Thanks again sirgazil for all the work!

Ludo’.


[-- Attachment #2: the script --]
[-- Type: text/plain, Size: 922 bytes --]

#!/bin/sh

function gen_redirect
{
    TARGET_URL="$1"
    cat <<EOF
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Page has moved! — GNU Guix</title>
    <noscript><meta http-equiv="refresh" content="0; url=$TARGET_URL"></noscript>
  </head>
  <body onload="window.location = '$TARGET_URL';">
    Redirecting to the new page location...
  </body>
</html>
EOF
}

URL_PREFIX="/software/guix/"

for page in "$@"
do
    page_without_extension="`echo $page | sed -es'/\.html$//g'`"
    new_page="`find ../blog -name $page_without_extension -type d | head -1`"
    if [ -z "$new_page" ]
    then
	echo "no new page for '$page'" >&2
	exit 1
    fi

    # Strip '../'.
    new_page_url="$URL_PREFIX`echo $new_page | cut -c 4-`"

    echo "redirect '$page' -> '$new_page_url'"
    gen_redirect "$new_page_url" > "$page".new && mv "$page".new "$page"
done

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

* bug#26006: New web site is on line!
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
@ 2017-12-06 17:55                     ` Alex Sassmannshausen
  2017-12-06 22:10                       ` Adonay Felipe Nogueira
  2017-12-06 22:10                     ` Adonay Felipe Nogueira
                                       ` (3 subsequent siblings)
  4 siblings, 1 reply; 45+ messages in thread
From: Alex Sassmannshausen @ 2017-12-06 17:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, sirgazil

Wow, that looks super cool, well done!

Really smooth and modern feel.  Joyful to explore :-)

Ludovic Courtès writes:

> Hello!
>
> It’s embarrassing that it took us so long, but I’m happy to say that the
> new web site is on line!
>
>   https://www.gnu.org/software/guix/
>
> I’ve created redirects from the old /news URLs to the new /blog URLs,
> using the oh-so-elegant script below (I can’t believe it’s not Scheme!).
>
> Please report:
>
>   • broken links;
>
>   • other pages that need a redirect;
>
>   • information that disappeared—I’m thinking in particular of talks,
>     which used to appear under /help, but are now supposed to be made
>     available via a blog post, the advantage being that we get
>     /blog/tag/TOPIC links to the post;
>
>   • anything else that’s broken.
>
> For web design issues, I hope sirgazil or someone else can answer and
> take action—I’m still not much of a web person and it’s probably better
> for everyone when I stick to writing Scheme.  ;-)
>
> Note that the cron job that used to update package pages from
> hydra.gnu.org is now broken.  I’ll try to come up with something else
> with proper GuixSD integration and run it from berlin.guixsd.org.
>
> Thanks again sirgazil for all the work!
>
> Ludo’.
>
> #!/bin/sh
>
> function gen_redirect
> {
>     TARGET_URL="$1"
>     cat <<EOF
> <!DOCTYPE html>
> <html lang="en">
>   <head>
>     <meta charset="UTF-8" />
>     <title>Page has moved! — GNU Guix</title>
>     <noscript><meta http-equiv="refresh" content="0; url=$TARGET_URL"></noscript>
>   </head>
>   <body onload="window.location = '$TARGET_URL';">
>     Redirecting to the new page location...
>   </body>
> </html>
> EOF
> }
>
> URL_PREFIX="/software/guix/"
>
> for page in "$@"
> do
>     page_without_extension="`echo $page | sed -es'/\.html$//g'`"
>     new_page="`find ../blog -name $page_without_extension -type d | head -1`"
>     if [ -z "$new_page" ]
>     then
> 	echo "no new page for '$page'" >&2
> 	exit 1
>     fi
>
>     # Strip '../'.
>     new_page_url="$URL_PREFIX`echo $new_page | cut -c 4-`"
>
>     echo "redirect '$page' -> '$new_page_url'"
>     gen_redirect "$new_page_url" > "$page".new && mv "$page".new "$page"
> done

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

* bug#26006: New web site is on line!
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
  2017-12-06 17:55                     ` Alex Sassmannshausen
@ 2017-12-06 22:10                     ` Adonay Felipe Nogueira
  2017-12-07  8:54                       ` Ludovic Courtès
  2017-12-07  3:01                     ` sirgazil
                                       ` (2 subsequent siblings)
  4 siblings, 1 reply; 45+ messages in thread
From: Adonay Felipe Nogueira @ 2017-12-06 22:10 UTC (permalink / raw)
  To: 26006

This is of course minor issue but we just have to insert proper
copyright + license notices in the .scm files. ;)

2017-12-06T18:10:48+0100 Ludovic Courtès wrote:
> Hello!
>
> It’s embarrassing that it took us so long, but I’m happy to say that the
> new web site is on line!
>
>   https://www.gnu.org/software/guix/
>
> I’ve created redirects from the old /news URLs to the new /blog URLs,
> using the oh-so-elegant script below (I can’t believe it’s not Scheme!).
>
> Please report:
>
>   • broken links;
>
>   • other pages that need a redirect;
>
>   • information that disappeared—I’m thinking in particular of talks,
>     which used to appear under /help, but are now supposed to be made
>     available via a blog post, the advantage being that we get
>     /blog/tag/TOPIC links to the post;
>
>   • anything else that’s broken.
>
> For web design issues, I hope sirgazil or someone else can answer and
> take action—I’m still not much of a web person and it’s probably better
> for everyone when I stick to writing Scheme.  ;-)
>
> Note that the cron job that used to update package pages from
> hydra.gnu.org is now broken.  I’ll try to come up with something else
> with proper GuixSD integration and run it from berlin.guixsd.org.
>
> Thanks again sirgazil for all the work!
>
> Ludo’.
>
> #!/bin/sh
>
> function gen_redirect
> {
>     TARGET_URL="$1"
>     cat <<EOF
> <!DOCTYPE html>
> <html lang="en">
>   <head>
>     <meta charset="UTF-8" />
>     <title>Page has moved! — GNU Guix</title>
>     <noscript><meta http-equiv="refresh" content="0; url=$TARGET_URL"></noscript>
>   </head>
>   <body onload="window.location = '$TARGET_URL';">
>     Redirecting to the new page location...
>   </body>
> </html>
> EOF
> }
>
> URL_PREFIX="/software/guix/"
>
> for page in "$@"
> do
>     page_without_extension="`echo $page | sed -es'/\.html$//g'`"
>     new_page="`find ../blog -name $page_without_extension -type d | head -1`"
>     if [ -z "$new_page" ]
>     then
> 	echo "no new page for '$page'" >&2
> 	exit 1
>     fi
>
>     # Strip '../'.
>     new_page_url="$URL_PREFIX`echo $new_page | cut -c 4-`"
>
>     echo "redirect '$page' -> '$new_page_url'"
>     gen_redirect "$new_page_url" > "$page".new && mv "$page".new "$page"
> done
>

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

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

* bug#26006: New web site is on line!
  2017-12-06 17:55                     ` Alex Sassmannshausen
@ 2017-12-06 22:10                       ` Adonay Felipe Nogueira
  0 siblings, 0 replies; 45+ messages in thread
From: Adonay Felipe Nogueira @ 2017-12-06 22:10 UTC (permalink / raw)
  To: 26006

+1

2017-12-06T18:55:00+0100 Alex Sassmannshausen wrote:
> Wow, that looks super cool, well done!
>
> Really smooth and modern feel.  Joyful to explore :-)
>

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

* bug#26006: New web site is on line!
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
  2017-12-06 17:55                     ` Alex Sassmannshausen
  2017-12-06 22:10                     ` Adonay Felipe Nogueira
@ 2017-12-07  3:01                     ` sirgazil
  2017-12-07  9:16                     ` Chris Marusich
  2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
  4 siblings, 0 replies; 45+ messages in thread
From: sirgazil @ 2017-12-07  3:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006

Hey!

On 06/12/17 12:10, Ludovic Courtès wrote:
> Hello!
> 
> It’s embarrassing that it took us so long, but I’m happy to say that the
> new web site is on line!
> 
>    https://www.gnu.org/software/guix/


It's fine. We need more human resources.

Thank you for taking care it, Ludo :)

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

* bug#26006: New web site is on line!
  2017-12-06 22:10                     ` Adonay Felipe Nogueira
@ 2017-12-07  8:54                       ` Ludovic Courtès
  0 siblings, 0 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-12-07  8:54 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 26006

Hello,

Adonay Felipe Nogueira <adfeno@hyperbola.info> skribis:

> This is of course minor issue but we just have to insert proper
> copyright + license notices in the .scm files. ;)

sirgazil explicitly waived copyright interest on their work, which is
why many files only have a short notice as opposed to the usual AGPL
header.  But I think each file has a (non-)copyright notice.  Or did you
find one without anything?

Ludo’.

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

* bug#26006: New web site is on line!
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
                                       ` (2 preceding siblings ...)
  2017-12-07  3:01                     ` sirgazil
@ 2017-12-07  9:16                     ` Chris Marusich
  2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
  4 siblings, 0 replies; 45+ messages in thread
From: Chris Marusich @ 2017-12-07  9:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, sirgazil

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> I’m happy to say that the new web site is on line!
>
>   https://www.gnu.org/software/guix/

Awesome!  It looks really nice!

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#26006: New web site is on line!
  2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
                                       ` (3 preceding siblings ...)
  2017-12-07  9:16                     ` Chris Marusich
@ 2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
  2017-12-07 20:58                       ` Ludovic Courtès
  2017-12-08 18:42                       ` Quiliro Ordonez Baca
  4 siblings, 2 replies; 45+ messages in thread
From: pelzflorian (Florian Pelz) @ 2017-12-07 17:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26006, sirgazil

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

Nice website!

On Wed, Dec 06, 2017 at 06:10:48PM +0100, Ludovic Courtès wrote:
> Please report:
> 
>   • broken links;
> 
>   • other pages that need a redirect;
> 
>   • information that disappeared—I’m thinking in particular of talks,
>     which used to appear under /help, but are now supposed to be made
>     available via a blog post, the advantage being that we get
>     /blog/tag/TOPIC links to the post;
> 
>   • anything else that’s broken.
> 

I believe there is a typo on the home page below the video. „leave“
should be „live“:

diff --git a/website/apps/base/templates/home.scm b/website/apps/base/templates/home.scm
index bf727dd..f7c2d1c 100644
--- a/website/apps/base/templates/home.scm
+++ b/website/apps/base/templates/home.scm
@@ -196,7 +196,7 @@
 
        (p
        "GNU Guix won't interfere with the package manager that comes
-        with your distribution. They can leave together."))
+        with your distribution. They can live together."))
 
       (div
        (@ (class "action-box centered-text"))

Regards,
Florian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26006: New web site is on line!
  2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
@ 2017-12-07 20:58                       ` Ludovic Courtès
  2017-12-08 18:42                       ` Quiliro Ordonez Baca
  1 sibling, 0 replies; 45+ messages in thread
From: Ludovic Courtès @ 2017-12-07 20:58 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 26006, sirgazil

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> I believe there is a typo on the home page below the video. „leave“
> should be „live“:
>
> diff --git a/website/apps/base/templates/home.scm b/website/apps/base/templates/home.scm
> index bf727dd..f7c2d1c 100644
> --- a/website/apps/base/templates/home.scm
> +++ b/website/apps/base/templates/home.scm
> @@ -196,7 +196,7 @@
>  
>         (p
>         "GNU Guix won't interfere with the package manager that comes
> -        with your distribution. They can leave together."))
> +        with your distribution. They can live together."))

Indeed!  Will push shortly.

Thanks,
Ludo’.

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

* bug#26006: New web site is on line!
  2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
  2017-12-07 20:58                       ` Ludovic Courtès
@ 2017-12-08 18:42                       ` Quiliro Ordonez Baca
  2017-12-08 19:07                         ` pelzflorian (Florian Pelz)
  1 sibling, 1 reply; 45+ messages in thread
From: Quiliro Ordonez Baca @ 2017-12-08 18:42 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 26006, sirgazil

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:
>
> I believe there is a typo on the home page below the video. „leave“
> should be „live“:
>
> diff --git a/website/apps/base/templates/home.scm b/website/apps/base/templates/home.scm
> index bf727dd..f7c2d1c 100644
> --- a/website/apps/base/templates/home.scm
> +++ b/website/apps/base/templates/home.scm
> @@ -196,7 +196,7 @@
>  
>         (p
>         "GNU Guix won't interfere with the package manager that comes
> -        with your distribution. They can leave together."))
> +        with your distribution. They can live together."))
>  
>        (div
>         (@ (class "action-box centered-text"))

Did you write this patch by hand or did you use some kind of help? If
you got help from something such as Emacs, I would like to learn how you
did it so I can contribute with patches to easy stuff such as typos,
website and documentation.

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

* bug#26006: New web site is on line!
  2017-12-08 18:42                       ` Quiliro Ordonez Baca
@ 2017-12-08 19:07                         ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 45+ messages in thread
From: pelzflorian (Florian Pelz) @ 2017-12-08 19:07 UTC (permalink / raw)
  To: Quiliro Ordonez Baca; +Cc: 26006, sirgazil

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

On Fri, Dec 08, 2017 at 01:42:27PM -0500, Quiliro Ordonez Baca wrote:
> "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:
> >
> > I believe there is a typo on the home page below the video. „leave“
> > should be „live“:
> >
> > diff --git a/website/apps/base/templates/home.scm b/website/apps/base/templates/home.scm
> > index bf727dd..f7c2d1c 100644
> > --- a/website/apps/base/templates/home.scm
> > +++ b/website/apps/base/templates/home.scm
> > @@ -196,7 +196,7 @@
> >  
> >         (p
> >         "GNU Guix won't interfere with the package manager that comes
> > -        with your distribution. They can leave together."))
> > +        with your distribution. They can live together."))
> >  
> >        (div
> >         (@ (class "action-box centered-text"))
> 
> Did you write this patch by hand or did you use some kind of help? If
> you got help from something such as Emacs, I would like to learn how you
> did it so I can contribute with patches to easy stuff such as typos,
> website and documentation.
> 

That would be great.

The above is part of the output from the „git diff“ shell command
after I changed the /website/apps/base/templates/home.scm file in the
guix-artwork.git from Savannah.

For a real patch you could use „git format-patch“ to create an e-mail
file which you can open in your e-mail program and then send.  There
are tutorials on-line.  Use „git am“ to apply such a patch from
someone else after you saved their e-mail to a file.  (There also are
other methods like „git send-email“, „git am“ and so on.)

Emacs also has Git integration, but I am not familiar with it.

Regards,
Florian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

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

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-07  2:02 bug#26006: [Website] Integral update proposal sirgazil
2017-03-07 11:16 ` ng0
2017-03-07 12:53 ` Catonano
2017-03-07 14:13 ` Ludovic Courtès
2017-03-10 16:46   ` sirgazil
2017-03-10 21:05     ` Ludovic Courtès
2017-10-01 11:02   ` ng0
2017-10-02  7:50     ` Ludovic Courtès
2017-10-02  8:36       ` ng0
2017-10-02  9:10         ` Ludovic Courtès
2017-06-08 19:06 ` sirgazil
2017-06-13 22:08   ` Ludovic Courtès
2017-06-14 20:36     ` sirgazil
2017-06-15  7:59       ` Ludovic Courtès
2017-06-16  2:52         ` sirgazil
2017-06-16  7:05           ` Ludovic Courtès
2017-06-16 14:46             ` sirgazil
2017-06-17  4:57               ` Catonano
2017-06-17  7:16                 ` Catonano
2017-06-17 15:46                   ` sirgazil
2017-06-17 16:09                     ` Catonano
2017-06-17 16:41                       ` sirgazil
2017-06-17 17:12                         ` Catonano
2017-06-17 18:11                           ` sirgazil
2017-06-17 15:19                 ` sirgazil
2017-06-17 15:19                   ` Catonano
2017-07-29 17:53               ` Ludovic Courtès
2017-08-01 22:13                 ` sirgazil
2017-12-06 17:10                   ` bug#26006: New web site is on line! Ludovic Courtès
2017-12-06 17:55                     ` Alex Sassmannshausen
2017-12-06 22:10                       ` Adonay Felipe Nogueira
2017-12-06 22:10                     ` Adonay Felipe Nogueira
2017-12-07  8:54                       ` Ludovic Courtès
2017-12-07  3:01                     ` sirgazil
2017-12-07  9:16                     ` Chris Marusich
2017-12-07 17:10                     ` pelzflorian (Florian Pelz)
2017-12-07 20:58                       ` Ludovic Courtès
2017-12-08 18:42                       ` Quiliro Ordonez Baca
2017-12-08 19:07                         ` pelzflorian (Florian Pelz)
2017-07-01 14:26   ` bug#26006: [Website] Integral update proposal Ludovic Courtès
2017-07-04 20:00     ` sirgazil
2017-07-04 20:09       ` Catonano
2017-07-05  0:45         ` sirgazil
2017-07-04 21:24       ` Ludovic Courtès
2017-07-05  1:26         ` sirgazil

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.