1
0
Fork 0
forked from github/pelican
Commit graph

3,381 commits

Author SHA1 Message Date
Justin Mayer
af1c1773bb Minor improvements to installation docs 2020-08-20 11:27:49 +02:00
Justin Mayer
d2b119387e Remove outdated references to Python 2.7 in docs 2020-08-20 11:27:49 +02:00
Justin Mayer
3d5a2b9014 Prefix Pip commands with python -m in docs
This ensures Pip commands will be executed for the current Python
interpreter and not, say, whichever Python interpreter happens to be
associated with `/usr/local/bin/pip`.
2020-08-20 11:27:49 +02:00
Justin Mayer
d473dbfdaf Use more reliable installation command in docs
Some shell environments may interpret brackets as glob patterns.
Wrapping the argument in quotation marks should help ensure correct
behavior in those environments. Refs #2786
2020-08-20 11:27:49 +02:00
John T. Wodder II
c7cb9a7587 Lowercase metadata field name when comparing with FORMATTED_FIELDS in rST reader 2020-08-20 11:27:49 +02:00
Justin Mayer
177f8a8a0c Auto-detect physical CPU cores via pytest-xdist 2020-08-20 11:27:49 +02:00
Justin Mayer
8844357d53 Upgrade pytest-xdist dev dependency to v2.0
Also, stop pinning pytest version, since older version combined with
pytest-xdist 2.0 caused CI test errors.
2020-08-20 11:27:49 +02:00
Justin Mayer
3564e6bbe7 Support Booleans in --extra-settings. Refs #2789 2020-08-20 11:27:49 +02:00
Justin Mayer
4c440e6b7d Fix error in --extra-settings feature. Refs #2789 2020-08-20 11:27:49 +02:00
shakram02
de793fa9f0 fix usage of pelican_open in docs 2020-08-20 11:27:49 +02:00
David Beitey
541dd72cc0 Remove duplicate port arguments in Makefile
The PORT variable check earlier in the Makefile sets up the `-p` argument as part of PELICANOPTS so prior to this change `-p` was duplicated on each of the serve targets.
2020-08-20 11:27:49 +02:00
Arnaud Rebillout
c6241180cc Makefile, include tags directory in rsync command
By default, the rsync option '--cvs-exclude' excludes the 'tags'
directory. For a blog, it's a bit unfortunate, as it's quite common to
have a `tags` directory in a blog, either for the tag pages or the tag
feeds.

With this commit, we force rsync to include this directory, and save a
little headache to users who wonder why their tags are present in the
output directory, but are not present on the server.
2020-08-20 11:27:49 +02:00
Justin Mayer
75ab2b219e Document -e / --extra-settings option flags 2020-08-20 11:27:49 +02:00
Justin Mayer
e545a47cdc Rename CLI flag syntax for settings override feature 2020-08-20 11:27:49 +02:00
Peter Sabaini
923a29aaad Override settings from the command line
Add a --setting-overrides KEY=VAL command line option to override
default settings or those defined in settings files. This adds
flexibility in running Pelican and helps reduce sprawl of settings
files. Cast int and str setting overrides to their respective types.
Support other setting types by treating them as JSON. Fall back to JSON
when an override typecast errors. This should make it possible to set
int values to None, resp. to JSON 'none'
2020-08-20 11:27:49 +02:00
Justin Mayer
8a3cff38b3 Update PyPI classifiers; add funding & tracker links 2020-08-20 11:27:49 +02:00
Justin Mayer
5c93a86eea Adjust isort task: v5.2+ is now recursive by default 2020-08-20 11:27:49 +02:00
Justin Mayer
f739598289 Remove self-referential Template Pages link in docs 2020-08-20 11:27:49 +02:00
Justin Mayer
4ca6506909 Update & re-order dependencies in pyproject 2020-08-20 11:27:25 +02:00
Justin Mayer
6a40e24d85 Test new Pip 20.2 dependency resolver in GitHub CI 2020-07-29 07:45:26 +02:00
Justin Mayer
b10bb2f472 Print Pip version during test install on Windows 2020-07-29 07:14:25 +02:00
Justin Mayer
2d9f1a4719 Test package uninstallation on Windows 2020-07-29 07:04:45 +02:00
Justin Mayer
30d782fd84 Test package installation on Windows in CI 2020-07-29 06:45:34 +02:00
Justin Mayer
9c3bb6bf91 Update & re-order dependencies in pyproject 2020-07-29 06:45:34 +02:00
Justin Mayer
7b67829872 Switch build system from setuptools to Poetry 2020-07-29 06:45:34 +02:00
Justin Mayer
7986c17611 Add missing entry points to pyproject file 2020-07-29 06:45:34 +02:00
Justin Mayer
6289452e95 Document inability to control plugin execution order 2020-07-29 06:41:28 +02:00
Justin Mayer
2372e8e574
Merge pull request #2767 from Lucas-C/invoke-template-minor-improvement 2020-07-23 22:31:34 +02:00
Justin Mayer
b7cfe0c4f9
Merge pull request #2768 from magicbrothers/patch-1
Fix sentence in docs
2020-06-12 14:33:18 +02:00
magicbrothers
d200c4363c
Fix sentence in docs 2020-06-12 11:24:42 +00:00
Lucas Cimon
ee80399be1
Fixups post-review 2020-06-09 18:12:24 +02:00
Lucas Cimon
d3c4bcc254
Invoke template : avoiding to spawn unnecessary process + passing-through CLI args to pelican 2020-06-09 16:01:46 +02:00
Justin Mayer
4d70447a5a
Merge pull request #2763 from kernc/root-logger
Force root logger to be of FatalLogger class
2020-06-07 06:58:22 +02:00
Kernc
d6623c642f
Docs: minor fix code block indent 2020-06-05 14:28:11 +02:00
Kernc
20067da9f5
Document how to logging in plugins 2020-06-05 14:24:55 +02:00
Kernc
cd3048d4cf
Force root logger to be of FatalLogger class
This enforces FatalLogger policy upon pelican plugins
that might contain codes such as:

    import logging
    log = logging.getLogger()

    log.warning(...)
    # or
    logging.warning(...)
2020-06-05 01:50:00 +02:00
Justin Mayer
78edd878a3 Improve namespace plugin documentation 2020-06-04 11:14:37 +02:00
Justin Mayer
9db937e581 Document the pelican-plugins command 2020-05-26 15:18:24 +02:00
Justin Mayer
d0457dcfb8 Build settings paths as strings
… instead of `posix_join`. Fixes #2431
2020-05-18 06:35:33 +02:00
Justin Mayer
0ed7d6641e Add pull request template 2020-05-17 07:32:28 +02:00
Justin Mayer
7c9c1c63cc Add issue templates 2020-05-17 07:04:26 +02:00
Justin Mayer
f0841dc454 Add FAQ entry about Markdown syntax variants 2020-05-17 06:28:04 +02:00
Justin Mayer
f6ee00f877
Merge pull request #2755 from avaris/lint
fix linting errors
2020-05-14 22:12:35 +02:00
Deniz Turgut
873df9094a
fix linting errors 2020-05-12 23:30:03 +03:00
Justin Mayer
21242e3a47 Switch README CI badge from Travis to GitHub Actions 2020-05-10 08:11:00 +02:00
Justin Mayer
ca1c58e201
Merge pull request #2753 from avaris/log-dict
Fix dictionary logging in formatter
2020-05-10 07:32:54 +02:00
Justin Mayer
2eb9c26cdb
Merge pull request #2750 from avaris/autoreload
Refactor file/folder watchers and autoreload
2020-05-10 07:29:27 +02:00
Justin Mayer
177bc2262c
Merge pull request #2747 from avaris/github-actions
Add GitHub Actions workflow
2020-05-10 07:16:47 +02:00
Deniz Turgut
50281c42e5
Fix dictionary logging in formatter
Python special cases single Mapping arguments to logging. This
adjusts BaseFormatter to skip "fancy" formatting if argument
is of type Mapping. Also adds various formatted log outputs.
2020-05-09 21:25:38 +03:00
Deniz Turgut
c19075816b
use context manager for log testing 2020-05-09 19:30:21 +03:00