emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Attempting to automate worg build
@ 2018-01-07 21:32 Chris Keating
  2018-01-08 15:50 ` Kaushal Modi
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Keating @ 2018-01-07 21:32 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello fellow org-mode enthusiasts.

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

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

That link target exists in the org-faq.org file but isn't being resolved
for some reason.

I'm building with the master branch of org-mode. 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. I'm guessing that there may be other
random bits and bobbles that I'm missing. I'd like to find all of these
missing pieces and get the worg repo into such a state that it can be
easily redeployed and validated.

If anyone knows how to get worg building I would love some pointers, in the
mean time I'll dig into org-mode and figure out why it doesn't like id:
links.

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

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

* Re: Attempting to automate worg build
  2018-01-07 21:32 Attempting to automate worg build Chris Keating
@ 2018-01-08 15:50 ` Kaushal Modi
  2018-01-08 15:57   ` Kaushal Modi
  2018-04-26 23:34   ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Kaushal Modi @ 2018-01-08 15:50 UTC (permalink / raw)
  To: Chris Keating; +Cc: emacs-orgmode

[-- 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 --]

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

* Re: Attempting to automate worg build
  2018-01-08 15:50 ` Kaushal Modi
@ 2018-01-08 15:57   ` Kaushal Modi
  2018-04-26 23:34   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Kaushal Modi @ 2018-01-08 15:57 UTC (permalink / raw)
  To: Chris Keating; +Cc: emacs-orgmode

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

On Mon, Jan 8, 2018 at 10:50 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:

> 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.


Just remembered.. I also needed to download htmlize.el from its Github repo
and download to the worg-other-lisp-path defconst I have in the above
linked worg-setup.el.


-- 

Kaushal Modi

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

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

* Re: Attempting to automate worg build
  2018-01-08 15:50 ` Kaushal Modi
  2018-01-08 15:57   ` Kaushal Modi
@ 2018-04-26 23:34   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2018-04-26 23:34 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: Chris Keating, emacs-orgmode

Hi Kaushal,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> 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 :)

I've made it so that the emacs.el configuration on the server is also
published here:

https://orgmode.org/worg/emacs.el.txt

-- 
 Bastien

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

end of thread, other threads:[~2018-04-26 23:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-07 21:32 Attempting to automate worg build Chris Keating
2018-01-08 15:50 ` Kaushal Modi
2018-01-08 15:57   ` Kaushal Modi
2018-04-26 23:34   ` Bastien

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).