-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from Deric-W/caching-subsystem
Caching subsystem
- Loading branch information
Showing
61 changed files
with
3,950 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# disable automatic eol conversions | ||
* text=false | ||
* -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
pyhp (2.2-1) stable; urgency=low | ||
|
||
* sixth release | ||
* replace cache handlers with backends submodule | ||
* add unbounded version of memory cache | ||
* add files, zipfiles and memory backend | ||
* fix race condition in file cache | ||
* change config format to TOML | ||
|
||
-- Eric Wolf <[email protected]> Sun, 14 Mar 2021 19:00:00 +0100 | ||
|
||
pyhp (2.1-1) stable; urgency=low | ||
|
||
* fifth release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/etc/pyhp.conf | ||
/etc/pyhp.toml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Configuration for PyHP (https://github.com/Deric-W/PyHP) | ||
# This file uses the TOML syntax | ||
|
||
[parser] | ||
# regular expression matching the start of a code section | ||
start = '<\?pyhp\s' | ||
|
||
# regular expression matching the end of a code section | ||
end = '\s\?>' | ||
|
||
|
||
[compiler] | ||
# if python code should be stripped of a starting indentation | ||
dedent = true | ||
|
||
# optimization level to be used with the builtin compile() function | ||
# all levels: https://docs.python.org/3/library/functions.html#compile | ||
optimization_level = -1 | ||
|
||
|
||
[backend] | ||
# how container names should be resolved to objects | ||
# module: the name is a module with a dot and the container name appended to it | ||
# module.submodule.name | ||
# path: the name is a file path with a double colon and the container name appended to it | ||
# /path/to/file.py:name | ||
resolve = "module" | ||
|
||
# array of containers to build a hierarchy | ||
[[backend.containers]] | ||
# the name of the container | ||
name = "pyhp.backends.files.Directory" | ||
|
||
# configuration options for the container | ||
config.path = "." | ||
|
||
|
||
[request] | ||
# order to fill up REQUEST, values already present in REQUEST get overwritten | ||
# unknown methods are skipped | ||
request_order = [ | ||
"GET", | ||
"POST", | ||
"COOKIE" | ||
] | ||
|
||
# if arameters with no or blank values should be kept | ||
keep_blank_values = true | ||
|
||
# fallback value if a parameter is not in REQUEST / GET / POST / COOKIE | ||
# comment out if a KeyError should be raised instead | ||
fallback_value = "" | ||
|
||
# if stdin should not be consumed | ||
# this results in POST not being populated | ||
enable_post_data_reading = false | ||
|
||
# fallback value of the Content-Type header | ||
default_mimetype = "text/html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.