Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated daily documentation builds #36805

Closed
rhettinger opened this issue Jun 26, 2002 · 10 comments
Closed

Automated daily documentation builds #36805

rhettinger opened this issue Jun 26, 2002 · 10 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@rhettinger
Copy link
Contributor

BPO 574241
Nosy @mwhudson, @loewis, @freddrake, @birkenfeld, @rhettinger

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/freddrake'
closed_at = <Date 2005-12-26.23:10:07.000>
created_at = <Date 2002-06-26.19:58:35.000>
labels = ['type-feature', 'docs']
title = 'Automated daily documentation builds'
updated_at = <Date 2005-12-26.23:10:07.000>
user = 'https://github.com/rhettinger'

bugs.python.org fields:

activity = <Date 2005-12-26.23:10:07.000>
actor = 'georg.brandl'
assignee = 'fdrake'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2002-06-26.19:58:35.000>
creator = 'rhettinger'
dependencies = []
files = []
hgrepos = []
issue_num = 574241
keywords = []
message_count = 10.0
messages = ['11346', '11347', '11348', '11349', '11350', '11351', '11352', '11353', '11354', '11355']
nosy_count = 5.0
nosy_names = ['mwh', 'loewis', 'fdrake', 'georg.brandl', 'rhettinger']
pr_nums = []
priority = 'normal'
resolution = 'accepted'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue574241'
versions = []

@rhettinger
Copy link
Contributor Author

Set-up a cron job or python script to make daily
rebuilds of the Python documentation at:
www.python.org/dev/doc/devel

Developers using Windows and not using Cygwin do
not have a method for doing their own builds.

I think daily updates would be helpful for all
developers and would increase the likelihood that
people check their patches versus current
documentation.

Also, it increases the chance that someone will notice
and report a documentation error earlier in the
release cycle.

@rhettinger rhettinger added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Jun 26, 2002
@rhettinger rhettinger added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Jun 26, 2002
@loewis
Copy link
Mannequin

loewis mannequin commented Jun 30, 2002

Logged In: YES
user_id=21627

I don't think this is possible. Automatic rebuilding of the
documentation will likely fail frequently, because of errors
in the tex input.

OTOH, if somebody volunteers to produce the documentation
automatically somewhere in the world (and fixes errors found
during the rebuild), then it would be easy to mirror those
on python.org.

@freddrake
Copy link
Member

Logged In: YES
user_id=3066

I don't think failing frequently is a problem if the failure
shows up in someone's email. It should probably go to
python-docs@python.org, and I can turn that into a fix.
Perhaps it should go to the Doc-SIG instead, to allow more
people to help.

@rhettinger
Copy link
Contributor Author

Logged In: YES
user_id=80475

With your new automation scripts is it now possible to run a
daily cron job?

@freddrake
Copy link
Member

Logged In: YES
user_id=3066

At this point it is trivial to checkout and build the
documentation automatically, with one caveat. The script
would need to be able to do an authenticated checkout from
SourceForge, and needs to be able to log into the python.org
webserver as one of the webmasters to install the fresh tarball.

While an anonymous checkout of the documentation sources is
possible, it's out of date by several hours (as long as we
use SF's CVS).

That means the script needs to run within the context of an
ssh-agent with the right keys added, or the keys must not
have passphrases.

I'm too paranoid to live without passphrases on my private
keys, and I really haven't thought about how to run a cron
job such that it can use a properly populated ssh-agent, but
that seems conceptually fragile. (Who *always* has such an
agent running, not just when logged in directly?)

The documentation build is too heavy a process to run on the
python.org webserver itself, and that still relies on being
able to do an authenticated checkout from SF.

@loewis
Copy link
Mannequin

loewis mannequin commented Aug 19, 2004

Logged In: YES
user_id=21627

For a daily build, it is IMO sufficient to use the anonymous
CVS - it may be a few hours behind, but you'ld have to wait
a full day anyway for the changes to show up. If somebody
builds the documentation elsewhere, a cronjob on python.org
could pick it up from "elsewhere", which would mean no
access to python.org is necessary.

@freddrake
Copy link
Member

Logged In: YES
user_id=3066

Perhaps that's good enough, though I've generally done
updates from the latest CVS.

Would anyone object to my setting up a cronjob to perform
the build on starship? It appears that sufficient software
is installed on that machine to perform the build (and much
faster than on anything I have).

@mwhudson
Copy link

Logged In: YES
user_id=6656

I'd have thought it was an entirely reasonable use of the
starship, but I guess you could ask on the crew list first
if you want to be really polite...

@rhettinger
Copy link
Contributor Author

Logged In: YES
user_id=80475

Fred, I had thought you had made a job for this but it
doesn't appear to be running on a regular basis.

@birkenfeld
Copy link
Member

Logged In: YES
user_id=1188172

This seems to have been done now, see
http://docs.python.org/dev/.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants