unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40803: One page HTML cookbooks are 404
@ 2020-04-23 22:17 operator.name via Bug reports for GNU Guix
  2020-04-27 23:01 ` Björn Höfling
  2020-05-02 11:34 ` Björn Höfling
  0 siblings, 2 replies; 5+ messages in thread
From: operator.name via Bug reports for GNU Guix @ 2020-04-23 22:17 UTC (permalink / raw)
  To: 40803

As of now these following pages 404:

https://guix.gnu.org/cookbook/de/guix-cookbook.de.html
https://guix.gnu.org/cookbook/en/guix-cookbook.html
https://guix.gnu.org/cookbook/es/guix-cookbook.es.html
https://guix.gnu.org/cookbook/fr/guix-cookbook.fr.html
https://guix.gnu.org/cookbook/ru/guix-cookbook.ru.html
https://guix.gnu.org/cookbook/zh-cn/guix-cookbook.zh_CN.html

According to the way back machine this seems to be a recent change - the last known good link is from 2020-04-02:

https://web.archive.org/web/20200402034805/https://guix.gnu.org/cookbook/en/guix-cookbook.html

Is there also a reason that Russian and Chinese don't have pdfs for the cookbook or the manual?

At the moment I do not have a guix development environment to experiment, so I am submitting this bug report.

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

* bug#40803: One page HTML cookbooks are 404
  2020-04-23 22:17 bug#40803: One page HTML cookbooks are 404 operator.name via Bug reports for GNU Guix
@ 2020-04-27 23:01 ` Björn Höfling
  2020-04-27 23:36   ` pelzflorian (Florian Pelz)
  2020-05-02 11:34 ` Björn Höfling
  1 sibling, 1 reply; 5+ messages in thread
From: Björn Höfling @ 2020-04-27 23:01 UTC (permalink / raw)
  To: 40803; +Cc: operator.name

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

Hi operator.name,

On Thu, 23 Apr 2020 22:17:13 +0000
"operator.name" via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

> As of now these following pages 404:
> 
> https://guix.gnu.org/cookbook/de/guix-cookbook.de.html
> https://guix.gnu.org/cookbook/en/guix-cookbook.html
> https://guix.gnu.org/cookbook/es/guix-cookbook.es.html
> https://guix.gnu.org/cookbook/fr/guix-cookbook.fr.html
> https://guix.gnu.org/cookbook/ru/guix-cookbook.ru.html
> https://guix.gnu.org/cookbook/zh-cn/guix-cookbook.zh_CN.html
> 
> According to the way back machine this seems to be a recent change -
> the last known good link is from 2020-04-02:
> 
> https://web.archive.org/web/20200402034805/https://guix.gnu.org/cookbook/en/guix-cookbook.html

I wanted to have a look into this but currently my computer is
downloading (and then compiling) the 2Gig tetex-live... I will
investigate it tomorrow.

Hint: The manual and guix-cookbook sources are in the main Guix git
repository under the "doc/" directory.

The website is in the maintenance.git repository under "hydra/". In
hydra/berlin.scm, you will find reference on how the Cookbook is built:

GUIX_MANUAL=guix-cookbook guix build -f doc/build.scm

I think a partial answer to the problem is that the Cookbook's texi
source is only available in English and German language: There is no
es/fr/ru/ch translation in the Guix source repository.

I think the 

(define %languages

should either be controlled by environment variables like with the
GUIX_MANUAL or should be dependent on the value of %manual.

BTW, the link to the translation project 404s too:

https://translationproject.org/domain/guix-cookbook.html
 
> Is there also a reason that Russian and Chinese don't have pdfs for
> the cookbook or the manual?

Yes, I stumbled upon this comment in doc/build.scm :-):

;; FIXME: Unfortunately building PDFs for non-Latin
;; alphabets doesn't work:
;; <https://lists.gnu.org/archive/html/help-texinfo/2012-01/msg00014.html>.
(guard (c ((invoke-error? c)

Thanks for your report,

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* bug#40803: One page HTML cookbooks are 404
  2020-04-27 23:01 ` Björn Höfling
@ 2020-04-27 23:36   ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 5+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-04-27 23:36 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 40803, operator.name

On Tue, Apr 28, 2020 at 01:01:03AM +0200, Björn Höfling wrote:
> BTW, the link to the translation project 404s too:
> 
> https://translationproject.org/domain/guix-cookbook.html

The cookbook is not available at the TP because no POT file is shipped
in Guix’ tarball.  Julien suggested moving the translation from the TP
infrastructure to a Weblate setup (which I agree Guix should try and
experiment with), so instead of waiting for inclusion of the cookbook
at the TP I just commited the German translation directly to Guix
master without going through the Translation Project.  (It is
important that the version at the TP is the most current version, but
since there is no cookbook at the TP, it does not matter currently.)

Regards,
Florian

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

* bug#40803: One page HTML cookbooks are 404
  2020-04-23 22:17 bug#40803: One page HTML cookbooks are 404 operator.name via Bug reports for GNU Guix
  2020-04-27 23:01 ` Björn Höfling
@ 2020-05-02 11:34 ` Björn Höfling
  2020-05-22  7:03   ` Björn Höfling
  1 sibling, 1 reply; 5+ messages in thread
From: Björn Höfling @ 2020-05-02 11:34 UTC (permalink / raw)
  To: 40803; +Cc: operator.name

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

On Thu, 23 Apr 2020 22:17:13 +0000
"operator.name" via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

> As of now these following pages 404:
> 
> https://guix.gnu.org/cookbook/de/guix-cookbook.de.html
> https://guix.gnu.org/cookbook/en/guix-cookbook.html
> https://guix.gnu.org/cookbook/es/guix-cookbook.es.html
> https://guix.gnu.org/cookbook/fr/guix-cookbook.fr.html
> https://guix.gnu.org/cookbook/ru/guix-cookbook.ru.html
> https://guix.gnu.org/cookbook/zh-cn/guix-cookbook.zh_CN.html

I commited a patch at the guix main repository with commit-id
7c65fc378cf68b598965fd977f5844050435ac97.

It will take a night until berlin will rebuild the documentation and
then it should be fixed on the web-site.

The translations in es, fr, ru, zh are not available for the cookbook
and the links to them will be removed.

I will control the success in 1 or 2 days and then close this bug.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* bug#40803: One page HTML cookbooks are 404
  2020-05-02 11:34 ` Björn Höfling
@ 2020-05-22  7:03   ` Björn Höfling
  0 siblings, 0 replies; 5+ messages in thread
From: Björn Höfling @ 2020-05-22  7:03 UTC (permalink / raw)
  To: 40803-done; +Cc: operator.name

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

On Sat, 2 May 2020 13:34:23 +0200
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:

> The translations in es, fr, ru, zh are not available for the cookbook
> and the links to them will be removed.
> 
> I will control the success in 1 or 2 days and then close this bug.

The cookbook (http://guix.gnu.org/cookbook/) links are now available
for Deutsch and English only. All links (full-page, noded-pages, PDF)
work.

Closing this bug.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2020-05-22  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 22:17 bug#40803: One page HTML cookbooks are 404 operator.name via Bug reports for GNU Guix
2020-04-27 23:01 ` Björn Höfling
2020-04-27 23:36   ` pelzflorian (Florian Pelz)
2020-05-02 11:34 ` Björn Höfling
2020-05-22  7:03   ` Björn Höfling

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).