emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Chris Keating <christopherkeating@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Attempting to automate worg build
Date: Mon, 08 Jan 2018 15:50:37 +0000	[thread overview]
Message-ID: <CAFyQvY3p1U_GPoCoE3GQofisL84jh5JkKyMGtrZw+EH6WJZzNQ@mail.gmail.com> (raw)
In-Reply-To: <CACy63ZyoFzx=XczZGrGoRtBrxgMD3Rj=+Dh5yP=YsmBZmp13gw@mail.gmail.com>

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

On Mon, Jan 8, 2018 at 10:06 AM Chris Keating <christopherkeating@gmail.com>
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

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

  reply	other threads:[~2018-01-08 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 21:32 Attempting to automate worg build Chris Keating
2018-01-08 15:50 ` Kaushal Modi [this message]
2018-01-08 15:57   ` Kaushal Modi
2018-04-26 23:34   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY3p1U_GPoCoE3GQofisL84jh5JkKyMGtrZw+EH6WJZzNQ@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=christopherkeating@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).