MANIFEST.in
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Mar 2017 13:21:50 +0100
changeset 12011 d2888fee6031
parent 11832 e8be49ecb522
child 12053 c3c9f2e1424c
permissions -rw-r--r--
[server] introduce a scheduler class to run repository "looping tasks" We just use the sched module from the standard library and introduce a tiny Python2/3 compatibility layer (more for convenience actually). The "looping" aspect of tasks (previously in LoopTask class) is re-implemeted as a `schedule_periodic_task` function. This is a reasonably thin layer as compared to LoopTask/TasksManager classes. Only the "restart" aspect of LoopTask is no longer present as I'm not sure it's worth keeping. The advantage of using this (in addition to eventually dropping our custom code) is that this scheduler class provides a `run` method that blocks the process while running tasks in its queue. So we can rely on this to have a 'scheduler' ctl command (see forthcoming patch) that would only run "looping tasks" without having to implement the "blocking" aspect ourself. Related to #17057223.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     1
include README
11631
faf279e33298 Merge with pyramid-cubicweb
Yann Voté <yann.vote@logilab.fr>
parents: 11478
diff changeset
     2
include README.pyramid.rst
5421
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5083
diff changeset
     3
include COPYING
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5083
diff changeset
     4
include COPYING.LESSER
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     5
include pylintrc
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
     6
include jshintrc
11422
63ac20ef558e [pkg] Properly export data files in setup.py and adjust "newcube" test
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11057
diff changeset
     7
include tox.ini
11811
f09efeead7f9 Fix broken flake8 configuration
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 11736
diff changeset
     8
include flake8-ok-files.txt
f09efeead7f9 Fix broken flake8 configuration
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 11736
diff changeset
     9
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    10
include bin/cubicweb-*
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    11
include man/cubicweb-ctl.1
11832
e8be49ecb522 [debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents: 11811
diff changeset
    12
recursive-include extras *.bash_completion
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    13
10144
5bdaef93665f [pkg] include missing files from doc/book/ in release tarballs
Julien Cristau <julien.cristau@logilab.fr>
parents: 9762
diff changeset
    14
include doc/*.rst
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    15
include doc/*.txt
10536
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    16
include doc/Makefile
10144
5bdaef93665f [pkg] include missing files from doc/book/ in release tarballs
Julien Cristau <julien.cristau@logilab.fr>
parents: 9762
diff changeset
    17
recursive-include doc/book *
5bdaef93665f [pkg] include missing files from doc/book/ in release tarballs
Julien Cristau <julien.cristau@logilab.fr>
parents: 9762
diff changeset
    18
recursive-include doc/tools *.py
5bdaef93665f [pkg] include missing files from doc/book/ in release tarballs
Julien Cristau <julien.cristau@logilab.fr>
parents: 9762
diff changeset
    19
recursive-include doc/tutorials *.rst *.py
11631
faf279e33298 Merge with pyramid-cubicweb
Yann Voté <yann.vote@logilab.fr>
parents: 11478
diff changeset
    20
recursive-include doc/api *.rst
10536
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    21
recursive-include doc/_themes *
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    22
recursive-include doc/_static *
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    23
include doc/_templates/*.html
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    24
include doc/changes/*.rst
11723
d8072617af3b [pkg] Fix recursive-include missing a "*" in MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11681
diff changeset
    25
recursive-include doc/dev *.txt *.rst
10536
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    26
recursive-include doc/images *.png *.svg
887c6eef8077 [pkg] various fixes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10150
diff changeset
    27
include doc/conf.py
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    28
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    29
include cubicweb/devtools/fix_po_encoding
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    30
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    31
recursive-include cubicweb/misc *.py *.png *.display
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    32
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    33
include cubicweb/web/views/*.pt
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    34
recursive-include cubicweb/web/data external_resources *.js *.css *.py *.png *.gif *.ico *.ttf *.svg *.woff *.eot
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    35
recursive-include cubicweb/web/wdoc *.rst *.png *.xml
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    36
recursive-include cubicweb/devtools/data *.js *.css *.sh
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    37
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    38
recursive-include cubicweb/i18n *.po
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    39
recursive-include cubicweb/schemas *.py *.sql
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    40
11478
1817f8946c22 [tox] Have less test environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11453
diff changeset
    41
recursive-include requirements *.txt
1817f8946c22 [tox] Have less test environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11453
diff changeset
    42
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    43
recursive-include cubicweb/test/data bootstrap_cubes *.py *.sql
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    44
recursive-include cubicweb/test/data-rewrite bootstrap_cubes *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    45
recursive-include cubicweb/test/data_schemareader *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    46
recursive-include cubicweb/dataimport/test/data *.py *.csv *.txt
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    47
recursive-include cubicweb/dataimport/test/data-massimport *.py
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    48
recursive-include cubicweb/devtools/test/data *.py *.txt *.js *.po.ref
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    49
recursive-include cubicweb/entities/test/data *.py
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    50
recursive-include cubicweb/etwist/test/data *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    51
recursive-include cubicweb/ext/test/data *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    52
recursive-include cubicweb/hooks/test/data-computed *.py
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    53
recursive-include cubicweb/hooks/test/data *.py
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    54
recursive-include cubicweb/sobjects/test/data bootstrap_cubes *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    55
recursive-include cubicweb/server/test/data bootstrap_cubes *.py source* *.conf.in *.ldif
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    56
recursive-include cubicweb/server/test/data-cwep002 *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    57
recursive-include cubicweb/server/test/datacomputed *.py
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    58
recursive-include cubicweb/server/test/data-schema2sql toignore
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    59
recursive-include cubicweb/server/test/data-migractions bootstrap_cubes *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    60
recursive-include cubicweb/server/test/data-schemaserial *.py
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    61
include cubicweb/web/test/testutils.js
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    62
recursive-include cubicweb/web/test/data bootstrap_cubes pouet.css *.py
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    63
recursive-include cubicweb/web/test/data/static/jstests *.js *.html *.json
5775
34195230dc2a [packaging] more cleanups, handle javascript test files
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5767
diff changeset
    64
11453
3522d2a3389e [pkg] Add missing entries to MANIFEST.in
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11422
diff changeset
    65
include cubicweb/web/data/jquery-treeview/*.md
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    66
11736
b77c82355325 [pkg] Cleanup MANIFEST.in from non-matching entries
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11723
diff changeset
    67
recursive-include cubicweb/skeleton *.py *.css *.js *.po compat *.tmpl rules
264
6eb0725d509d packaging fix: distribute skeleton
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents: 65
diff changeset
    68
11057
0b59724cb3f2 Reorganize source tree to have a "cubicweb" top-level package
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10536
diff changeset
    69
prune cubicweb/misc/cwfs