Mercurial > piecrust2
annotate docs/pages/support.md @ 411:e7b865f8f335
bake: Enable multiprocess baking.
Baking is now done by running a worker per CPU, and sending jobs to them.
This changes several things across the codebase:
* Ability to not cache things related to pages other than the 'main' page
(i.e. the page at the bottom of the execution stack).
* Decouple the baking process from the bake records, so only the main process
keeps track (and modifies) the bake record.
* Remove the need for 'batch page getters' and loading a page directly from
the page factories.
There are various smaller changes too included here, including support for
scope performance timers that are saved with the bake record and can be
printed out to the console. Yes I got carried away.
For testing, the in-memory 'mock' file-system doesn't work anymore, since
we're spawning processes, so this is replaced by a 'tmpfs' file-system which
is saved in temporary files on disk and deleted after tests have run.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 12 Jun 2015 17:09:19 -0700 |
parents | c750dc21d55d |
children | 0c3b811d2c26 |
rev | line source |
---|---|
243
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 title: Support |
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 header_class: support |
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 --- |
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 |
325
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
6 If you have a problem with PieCrust, there are a few ways to solve it: |
243
26e59f837558
docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 |
325
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
8 * Check the [documentation][doc] one more time! You never know, the solution may be in |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
9 there. |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
10 * Is the documentation wrong or missing something? If you know what must be |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
11 fixed, you can get the source from [BitBucket][bbsrc] or [Github][ghsrc] and |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
12 make a pull request. |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
13 * If you're pretty sure you found a bug, please file a report on |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
14 [BitBucket][bbbug] or [Github][ghbug]. If by chance you've already fixed it, |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
15 even better! Make a pull request, you know the drill. |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
16 * If you have questions, hit the [me][] on [Twitter][]. |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
17 |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
18 |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
19 [doc]: {{docurl('')}} |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
20 [bbsrc]: https://bitbucket.org/ludovicchabant/piecrust2 |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
21 [bbbug]: https://bitbucket.org/ludovicchabant/piecrust2/issues?status=new&status=open |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
22 [ghsrc]: https://github.com/ludovicchabant/PieCrust2 |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
23 [ghbug]: https://github.com/ludovicchabant/PieCrust2/issues |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
24 [me]: http://ludovic.chabant.com |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
25 [twitter]: https://www.twitter.com/ludovicchabant |
c750dc21d55d
docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents:
243
diff
changeset
|
26 |