Opened 13 years ago

Closed 12 years ago

#374 closed enhancement (fixed)

Make documentation cron job report failures through email to maintainer.

Reported by: Jari Häkkinen Owned by: Jari Häkkinen
Priority: critical Milestone: yat 0.5
Component: documentation Version: trunk
Keywords: Cc:

Description (last modified by Peter)

related to ticket:375

Change History (8)

comment:1 Changed 13 years ago by Peter

Description: modified (diff)

comment:2 Changed 13 years ago by Peter

I have a script running make distcheck every night. It doesn't give me any output, unless something goes wrong. Replacing make distcheck with make doc it would look like this:

#!/bin/sh
cd /home/peter/projects/pristine/yat-trunk
str=`svn diff -rHEAD`
if test -n "$str"; then
  svn update > cron.log
  (autoreconf -m && make doc) >> cron.log
fi

comment:3 Changed 12 years ago by Peter

documentation is broken again due to the changed location of svn repository

It seems like the documentation is deleted in beginning of the update. Why?

Non-updated docs is better than nothing, or?

comment:4 in reply to:  3 ; Changed 12 years ago by Jari Häkkinen

Replying to peter:

documentation is broken again due to the changed location of svn repository

This is out of my reach now since I have no control of the new trac environment. We need to contact Gregory to resolve this issue or generate the docs somewhere else. My pages at cbbp maybe?

It seems like the documentation is deleted in beginning of the update. Why?

Hm, historical reasons? This should be changed when we resolve the location of generated docs.

comment:5 in reply to:  3 Changed 12 years ago by Jari Häkkinen

Replying to peter:

It seems like the documentation is deleted in beginning of the update. Why?

Ah, now I remember. There is a make clean before svn update. The reason for this is to remove potentially obsoleted files. Doing make clean (which maybe should not be done at all) after updating the local WC will not remove any .o files for removed source files. But of course, if only docs are generated there is no stray .o files! My script is inherited from automatic nightly compile of the project (to make sure that we obey the repository must compile rule).

comment:6 in reply to:  4 Changed 12 years ago by Jari Häkkinen

Replying to jari:

This is out of my reach now since I have no control of the new trac environment. We need to contact Gregory to resolve this issue or generate the docs somewhere else. My pages at cbbp maybe?

Trunk docs links are updated, WikiStart diff

comment:7 Changed 12 years ago by Jari Häkkinen

Status: newassigned

comment:8 Changed 12 years ago by Jari Häkkinen

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.