* Building documentation offline?
@ 2012-06-15 4:00 Florian Haas
2012-06-15 15:56 ` Tommi Virtanen
0 siblings, 1 reply; 2+ messages in thread
From: Florian Haas @ 2012-06-15 4:00 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Hi everyone,
it occurred to me this afternoon that admin/build-doc unconditionally
tries to fetch some updates from GitHub, which breaks building docs when
you don't have a network connection. Would there be any reasonably
simple way to make it support offline build, provided the various pip
bits have previously been downloaded and installed?
Cheers,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building documentation offline?
2012-06-15 4:00 Building documentation offline? Florian Haas
@ 2012-06-15 15:56 ` Tommi Virtanen
0 siblings, 0 replies; 2+ messages in thread
From: Tommi Virtanen @ 2012-06-15 15:56 UTC (permalink / raw)
To: Florian Haas; +Cc: ceph-devel@vger.kernel.org
On Thu, Jun 14, 2012 at 9:00 PM, Florian Haas <florian@hastexo.com> wrote:
> it occurred to me this afternoon that admin/build-doc unconditionally
> tries to fetch some updates from GitHub, which breaks building docs when
> you don't have a network connection. Would there be any reasonably
> simple way to make it support offline build, provided the various pip
> bits have previously been downloaded and installed?
Yeah pip's behavior there isn't quite ideal. I haven't found a way to
make pip do the right thing when all the packages are already
installed; I think that comes down to the fact that it
You can easily comment out the "pip install" line, for now.
The best I can find to make that really a no-op on an already-prepared
virtualenv is to parse "$venv/bin/pip freeze" output and don't run it
if I see the right things in there. I haven't added this, because I
feel like that belongs in pip itself, running "pip install foo" twice
just shouldn't need the network on the second run.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-15 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15 4:00 Building documentation offline? Florian Haas
2012-06-15 15:56 ` Tommi Virtanen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.