From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Attempting to automate worg build Date: Mon, 08 Jan 2018 15:50:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11c0166e05d9ac056245c3ce" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYZhK-0007Y7-MY for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:50:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYZhJ-0004Co-07 for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:50:50 -0500 Received: from mail-yb0-x232.google.com ([2607:f8b0:4002:c09::232]:35466) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYZhI-0004Cd-Q8 for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:50:48 -0500 Received: by mail-yb0-x232.google.com with SMTP id b18so1308701ybn.2 for ; Mon, 08 Jan 2018 07:50:48 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Chris Keating Cc: emacs-orgmode@gnu.org --001a11c0166e05d9ac056245c3ce Content-Type: text/plain; charset="UTF-8" On Mon, Jan 8, 2018 at 10:06 AM Chris Keating wrote: > Hello fellow org-mode enthusiasts. > > I noticed that the server move for orgmode.org has caused some of the > docs to 404. > Glad to know that we have more people working on this :) > In an attempt to automate finding broken docs I setup a travis build. > Unfortunately I can't even seem to build the docs: > > >> +emacs --batch -l etc/emacs.el -f org-publish-all >> Loading 00debian-vars... >> Loading /etc/emacs/site-start.d/50autoconf.el (source)... >> Loading /home/travis/build/pdex/worg/etc/emacs-custom.el (source)... >> Publishing file /home/travis/build/pdex/worg/org-faq.org using `org-html-publish-to-html' >> Setting up indent for shell type bash >> setting up indent stuff >> Indentation variables are now local. >> Indentation setup for shell type bash >> Setting up indent for shell type bash >> setting up indent stuff >> Indentation variables are now local. >> Indentation setup for shell type bash >> Unable to resolve link: "id:facac2a6-3526-450d-ac42-8d36b16c6bab" >> >> > https://travis-ci.org/pdex/worg/builds/326147794#L1449 > I was also stuck on that issue, and then realized that you need to add (require 'org-id) to fix that error on newer Org mode versions. I'm building with the master branch of org-mode. > I am now able to build Worg using Org master using the below referenced worg-setup.el. I had to go recreate the .emacs.el file from an archive.org link as the > original is no longer on the site and it's not in the worg repo. > Same here :) I started from the archive.org version. But then refactored it a bit as it was written with hardcoded paths in many places. Now I have this ( https://gist.github.com/kaushalmodi/1932834fa33f72ff44eea476f15cad08 ) where I have moved the local paths to defconsts. So once you set all the defconsts in there as needed, you should be good to go. I build the site using: emacs --batch -l ~/e/misc/worg/worg-setup.el -f org-publish-all (Emacs 26.0.90, Org master) @Bastien: Would it make sense to commit the worg-setup.el to the worg/orgweb repo too, and then use a Makefile to pass the values to the defconst variables? Hope that helps! :) -- Kaushal Modi --001a11c0166e05d9ac056245c3ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jan 8,= 2018 at 10:06 AM Chris Keating <christopherkeating@gmail.com> wrote:
Hello fellow org-mod= e enthusiasts.

I noticed that the server move for orgmode.org has caused some of the= docs to 404.

G= lad to know that we have more people working on this :)
=C2= =A0
In an attempt to automate finding broken docs I setup a travis build. Un= fortunately I can't even seem to build the docs:


+emacs --batch -l etc/emacs.el= -f org-publish-all
Loading 00debian-vars...
Loading /etc/emacs/site-start.= d/50autoconf.el (source)...
Loading /home/travis/build/pdex/worg/etc/emacs-= custom.el (source)...
Publishing file /home/travis/build/pdex/worg/org-faq.org using `org-html-p= ublish-to-html'
Setting up indent for shell type bash
setting up indent= stuff
Indentation variables are now local.
Indentation setup for shell typ= e bash
Setting up indent for shell type bash
setting up indent stuff=
Indent= ation variables are now local.
Indentation setup for shell type bash=
Unable to = resolve link: "id:facac2a6-3526-450d-ac42-8d36b16c6bab"

https://travis-ci.org/pdex/worg/builds/= 326147794#L1449

I was= also stuck on that issue, and then realized that you need to add (require = 'org-id) to fix that error on newer Org mode versions.
=

<= /div>I'm building with the master branch of org-mode.

I am now able to build Worg using Org master usi= ng the below referenced worg-setup.el.


Same here :) I started = from the archive.org version. But then r= efactored it a bit as it was written with hardcoded paths in many places. N= ow I have this ( https://gist.github.com/kaushalmodi/1932834fa33f72ff= 44eea476f15cad08 ) where I have moved the local paths to defconsts. So = once you set all the defconsts in there as needed, you should be good to go= .

I build the site using:

emacs --batch -l ~/e/misc/worg/worg-setup.el -f org-publish-all
=
(Emacs 26.0.90, Org master)

@Ba= stien: Would it make sense to commit the worg-setup.el to the worg/orgweb r= epo too, and then use a Makefile to pass the values to the defconst variabl= es?

Hope that helps! :)


--

Kaushal Modi

--001a11c0166e05d9ac056245c3ce--