/
todo
91 lines (56 loc) · 3.05 KB
/
todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# to fix
. rewrite fat_dist task not to use eZComponents for creating the tarball
# general
. add installation of command in composer/bin
. allow config file to be in other directory than ./pake
. ezfind: should not pack manual in odf format => improve exclude list w. depth
. allow extension to build self:
- currently it replaces tokens within pakefile.php files
- it should build the zip used on the website for auto-upgrades (besides the full zip), or
- improve upgrade task not to need a separate zip (see description later)
. allow to build many extensions in a single call
(workaround: use extension dependencies with a fake 'root' extension)
. add support for different dir schemas for extensions providing packages? nb: better if we can do it without that...
. add more detailed documentation of expected coding/file layouts standards
. move all the business logic in php classes outside of pakefile
. copy task names from http://jenkins-php.org/ (as duplicate names for current tasks)
# new tasks
. add a task to generate .sql files from .dba
. add some code quality checks (possibly from other extensions)
- validity of php files
- proper php opening tag for ini files, absence of charset tag (or only utf8 recommended)
- proper naming of ini files
- php coding style
- css validation (via w3.org validator? see http://jigsaw.w3.org/css-validator/api.html)
- translation checking (see eg. checks done in ez 4.5 cli script)
. add metrics-generating task. See:
- phpmd
- codesniffer
- phpqatools.org
. add support for launching testsuite tests
. changelog generation task: if it's not there, build it from git/svn commit messages
(also update ez package with that info)
. deployment task (eg. to upload extension to projects.ez.no or github)
- might need first some changes on projects.ez.no site
. a task that checks for presence of update sql scripts (needs to have access to previous version sources too)
. css/js minification task (not very important since we have ezjscore)
. add an apply-patch task to apply patch files at build time
. add tasks to generate sample ezinfo.php and extension.xml files
. add task that displays the tool's own changelog
# improve tasks
. pakefile download task: allow silent overwrite (for updates)
. init task that starts with a file untar
. add support for generating more docs:
. manual from docbook
. api docs from sami, phpdoc besides doxygen
. rst docs in other dirs?
. do not try to replace tokens in doxygen-generated css
. dist task: allow to specify .tar.bz2 output format
. clean task: allow to only delete extension dir, not complete build dir
. update-extra-files: also use EXTENSION_NAME and EXTENSION_COPYRIGHT tokens
. allow username/password for svn/git tasks
. packaging task:
. allow more files to be put in package docs besides LICENSE & README
. grab dependencies from extension.xml and put them into package file
. verify that package.xml is valid xml & compliant with the package schema
. better regexps to always update package.xml even on iterated "build --skip-init" runs