-
Notifications
You must be signed in to change notification settings - Fork 2
/
TODO.txt
108 lines (77 loc) · 2.91 KB
/
TODO.txt
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Feature Requests / Wishes List
===============================
Accepted
--------
List of ideas clear and accepted for implementation:
* (12) archive is in fact a cache by default in ~/.portz/cache
* (13) archive shall be changeable by PORTZ_CACHE_DIR
* (4) version override ./portz_install pcre version=8.29
Will be done using autoconf like overrides, so def will be changed from:
version=1.2
baseurl=http://foo/bar/baz-${version}.tar.gz
to
version=1.2
baseurl=http://foo/bar/baz-@[email protected]
Replacement will be done after merging package & "override" params using sed.
* (1) --help for all commands
partially implemented, as portz is now interface
* (7) subtasks dependency tracking;
'portz invoke next' shall be added, and portz shall know which
steps have been completed in package "build/staging" area
* (9) manual
Grooming / ideas
---------------
* easy installable install script
not sure how yet ...
* (14) repo shall be specified as PATH: PORTZ_PATH, default : ???
but i'd like to add github urls like:
https://github.com/zbigg/portz-repo or
[email protected]:zbigg/portz-repo.git
* (6) renaming of steps, so they are easy "spellable" in invoke
Currently fetch_src, patch, configure, ... build is not documented
* (2) cleanup of /tmp folder
* (3) functional tests !
* (10) refactor fetch
fetch is either
baseurl:
download (many)
check sha1sum !!
unarchive (many, custom)
svn_path:
just checkout
mtn_url:
pull branch
checkout
git_url
clone url
checkout git_tag | git_ref
unarchive shall be still custom
fetch shall be autodetected
* (11) dependency tracking for build steps ...
generate Makefile in srcdir that has targets
prepare_clean_src.tag:
# either download & unarchive
# git, mtn, svn checkout
patch_src.tag: prepare_clean_src.tag
...
configure_src.tag: patch_src.tag
...
build.tag: configure_src.tag
# internal invoke build
install_staging.tag: build.tag
# ...
analyze.tag: install_staging.tag
deploy.tag: analyze.tag
#
$(dist_archive_file): $(analyze_tag)
Implemented
----------------
Ideas already implemented:
* (3) installation of package version, so we know what is installed
-> now in PKGINFO
* (5) make patch utility
portz make_patch on already
* (6) package dependencies
depends="foo"
* (8) uniform CLI frontend, 'portz'
'portz' frontend created