bug#26302: Deploying the i18n’d web site

2020-07-13 Thread pelzflorian (Florian Pelz)
On Mon, Jul 13, 2020 at 04:48:00PM +0200, pelzflorian (Florian Pelz) wrote: > On Mon, Jul 13, 2020 at 03:22:36PM +0200, Ludovic Courtès wrote: > > I’m happy to press the red button on berlin when we feel ready. Perhaps > > we can synchronize on IRC in case things go wrong. > > > > Thanks, > > Lud

bug#26302: Deploying the i18n’d web site

2020-07-13 Thread pelzflorian (Florian Pelz)
On Mon, Jul 13, 2020 at 03:22:36PM +0200, Ludovic Courtès wrote: > Looks like we’re pretty much ready, no? I think we are. > I’m happy to press the red button on berlin when we feel ready. Perhaps > we can synchronize on IRC in case things go wrong. > > Thanks, > Ludo’. I am currently at my gr

bug#26302: Deploying the i18n’d web site

2020-07-13 Thread Ludovic Courtès
Hey! "pelzflorian (Florian Pelz)" skribis: > On Thu, Jul 09, 2020 at 05:56:43PM +0100, Christopher Baines wrote: >> Thanks for your continued time working on this Florian. I've made a >> little bit of progress now, I've taken the wip-i18n branch, applied the >> patch attached to this email and d

bug#26302: Deploying the i18n’d web site

2020-07-11 Thread pelzflorian (Florian Pelz)
On Thu, Jul 09, 2020 at 03:09:57PM +0200, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" skribis: > > Still failing: > > > > http://guix.gnu.org/graphics > > > > http://guix.gnu.org/blog/2013/back-from-the-european-lisp-symposium > > > > worked before wip-i18n but stopped working. Hrm. >

bug#26302: Deploying the i18n’d web site

2020-07-10 Thread pelzflorian (Florian Pelz)
On Thu, Jul 09, 2020 at 05:56:43PM +0100, Christopher Baines wrote: > Thanks for your continued time working on this Florian. I've made a > little bit of progress now, I've taken the wip-i18n branch, applied the > patch attached to this email and deployed that at [1]. > > 1: http://guix-website-te

bug#26302: Deploying the i18n’d web site

2020-07-10 Thread pelzflorian (Florian Pelz)
Find attached a desperate patch for guix-maintenance that works around all listed issues, perhaps not in a nice way. On Thu, Jul 09, 2020 at 04:48:43PM +0200, pelzflorian (Florian Pelz) wrote: > With what I currently have > redirection explodes > > http://guix.gnu.org/manual/html_node/en/en/en/en

bug#26302: Deploying the i18n’d web site

2020-07-09 Thread Christopher Baines
pelzflorian (Florian Pelz) writes: > Sorry, I forgot to address the patch tracker. I wrote some hours ago: > > On Thu, Apr 09, 2020 at 07:31:04PM +0200, pelzflorian (Florian Pelz) wrote: >> On Thu, Apr 09, 2020 at 05:27:05PM +0200, Ludovic Courtès wrote: >> > Hi Florian, >> > >> > "pelzflorian

bug#26302: Deploying the i18n’d web site

2020-07-09 Thread pelzflorian (Florian Pelz)
The trouble is that I do not have an understanding in what order nginx tries which redirections/rewrites. An understanding is needed instead of investigating dead ends and 3rd party nginx modules. What I have done a while ago (the berlin patch for guix-maintenance from my last e-mail contains thi

bug#26302: Deploying the i18n’d web site

2020-07-09 Thread Ludovic Courtès
Hi Florian, "pelzflorian (Florian Pelz)" skribis: > The attached patch for berlin serves more but not all URLs > properly when testing on a VM. > > I found one problem; the nginx locations for redirecting old URLs can > be given a higher priority via specifying = before the location path. One t

bug#26302: Deploying the i18n’d web site

2020-07-05 Thread pelzflorian (Florian Pelz)
Sorry, I forgot to address the patch tracker. I wrote some hours ago: On Thu, Apr 09, 2020 at 07:31:04PM +0200, pelzflorian (Florian Pelz) wrote: > On Thu, Apr 09, 2020 at 05:27:05PM +0200, Ludovic Courtès wrote: > > Hi Florian, > > > > "pelzflorian (Florian Pelz)" skribis: > > > > > + (redi

bug#26302: Deploying the i18n’d web site

2020-07-01 Thread Christopher Baines
pelzflorian (Florian Pelz) writes: > On Thu, Apr 09, 2020 at 08:58:14PM +0200, Bengt Richter wrote: >> Wondering, could dnsmasq help? > > I am already using dnsmasq to access a virtual machine of the machine > hosting the Guix website so can replace the > Guix website while old URLs keep workin

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread pelzflorian (Florian Pelz)
On Thu, Apr 09, 2020 at 08:58:14PM +0200, Bengt Richter wrote: > Wondering, could dnsmasq help? I am already using dnsmasq to access a virtual machine of the machine hosting the Guix website so can replace the Guix website while old URLs keep working. https://git.savannah.gnu.org/cgit/guix/maint

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread Bengt Richter
Hi Florian, On +2020-04-09 19:31:02 +0200, pelzflorian (Florian Pelz) wrote: > On Thu, Apr 09, 2020 at 05:27:05PM +0200, Ludovic Courtès wrote: > > Hi Florian, > > > > "pelzflorian (Florian Pelz)" skribis: > > > > > + (redirect "/news/porting-guix-and-guixsd.html" > > > "/$lang/blog/2015/por

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread pelzflorian (Florian Pelz)
On Thu, Apr 09, 2020 at 05:27:05PM +0200, Ludovic Courtès wrote: > Hi Florian, > > "pelzflorian (Florian Pelz)" skribis: > > > + (redirect "/news/porting-guix-and-guixsd.html" > > "/$lang/blog/2015/porting-guix-and-guixsd") > > Does that mean that /blog/2015/porting-guix-and-guixsd (without

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread Ludovic Courtès
Hi Florian, "pelzflorian (Florian Pelz)" skribis: > + (redirect "/news/porting-guix-and-guixsd.html" > "/$lang/blog/2015/porting-guix-and-guixsd") Does that mean that /blog/2015/porting-guix-and-guixsd (without /LANG) will _not_ redirect to /LANG/blog/2015/porting-guix-and-guixsd? It’s impo

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread pelzflorian (Florian Pelz)
On Thu, Apr 09, 2020 at 09:45:50AM +0200, pelzflorian (Florian Pelz) wrote: > It seems redirects broke like > > http://guix.gnu.org/news/gnu-dmd-01-released.html > > on my test VM. :/ This seems to be fixed by using the attached patch instead. I have not recreated the berlin test VM yet though,

bug#26302: Deploying the i18n’d web site

2020-04-09 Thread pelzflorian (Florian Pelz)
On Thu, Apr 09, 2020 at 05:21:46AM +0200, pelzflorian (Florian Pelz) wrote: > but I could not yet test building the > website i.e. if the redirects really work correctly. It seems redirects broke like http://guix.gnu.org/news/gnu-dmd-01-released.html on my test VM. :/

bug#26302: Deploying the i18n’d web site

2020-04-08 Thread pelzflorian (Florian Pelz)
On Wed, Apr 08, 2020 at 12:02:25AM +0200, pelzflorian (Florian Pelz) wrote: > set_from_accept_language should better be a global directive I think. > No, I was wrong. set_from_accept_language must only appear once, but not in a global directive. I put it in %extra-content for the nginx-configur

bug#26302: Deploying the i18n’d web site

2020-04-07 Thread pelzflorian (Florian Pelz)
On Tue, Apr 07, 2020 at 11:18:56PM +0200, Ludovic Courtès wrote: > I haven’t tested it though. I’m a bit concerned about the rewrite rule, > because there are bits that should not be rewritten, like: > > /manual (must not be: /LANG/manual, at least for now) > /guix-refcard.pdf > … > > Will

bug#26302: Deploying the i18n’d web site

2020-04-07 Thread Ludovic Courtès
Hi Florian, "pelzflorian (Florian Pelz)" skribis: >> What would it take to complete the i18n’d web site deployment? It would >> be great to get that done by the time of the next release. >> > > set_from_accept_language $lang en de; > > would better be a global directive. en comes first so it i

bug#26302: Deploying the i18n’d web site

2020-03-25 Thread pelzflorian (Florian Pelz)
On Thu, Mar 26, 2020 at 12:21:00AM +0100, pelzflorian (Florian Pelz) wrote: > I will try rebasing wip-i18n to current master now. Done.

bug#26302: Deploying the i18n’d web site

2020-03-25 Thread pelzflorian (Florian Pelz)
On Wed, Mar 25, 2020 at 06:33:46PM +0100, Ludovic Courtès wrote: > Hi Florian, > > We dropped the ball on this, but it looks like we were close to the > finish line. > > What would it take to complete the i18n’d web site deployment? It would > be great to get that done by the time of the next re

bug#26302: Deploying the i18n’d web site

2020-03-25 Thread Ludovic Courtès
Hi Florian, We dropped the ball on this, but it looks like we were close to the finish line. What would it take to complete the i18n’d web site deployment? It would be great to get that done by the time of the next release. Thanks! Ludo’. "pelzflorian (Florian Pelz)" skribis: > First on ser