public
Description:
Homepage: http://www.funtoo.org
Clone URL: git://github.com/funtoo/metro.git
funtoo (author)
Tue Oct 13 08:31:32 -0700 2009
commit  66530b82aefb61b2c36f660081dee1b1b39a0344
tree    de26ecff82f50a5450a342d7cf3d99b8cbb84d80
parent  2353f2170c764983c5c3903690526afdcf808888
metro / TODO
100644 87 lines (60 sloc) 2.83 kb
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
Things to add to the parser:
 
Add support for conditional definitions being defined based on conditional
definitions. It's possible to have loops (detect them) but it's also possible
to have unrelated conditions that are perfectly fine. Not supporting
conditional definitions based on other conditional definitions forces people to
work-around perfectly fine situations for no apparent reason.
 
We have support for $[foo:zap], which will be $[foo] if defined, and if not,
zap the whole line from output. We also have $[foo?] which will be "yes" if
$[foo] is defined, and "no" otherwise. But we don't have a modifier like
$[foo:opt] that will be $[foo] if $[foo] is defined, otherwise "". This seems
like an obvious and useful addition.
 
 
 
 
 
 
 
 
Fix this:
DEBUG: ['/var/tmp/metro']
Traceback (most recent call last):
 File "/usr/bin/metro", line 208, in <module>
   main()
 File "/usr/bin/metro", line 204, in main
   target.run()
 File "/usr/lib/metro/modules/targets.py", line 293, in run
   self.runScript("trigger/ok/run")
 File "/usr/lib/metro/modules/targets.py", line 44, in runScript
   os.makedirs(outdir)
 File "/usr/lib64/python2.6/os.py", line 157, in makedirs
   mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/tmp/metro/pid'
Job /usr/lib/metro/scripts/ezbuild.sh funtoo amd64 terminated (exit status: 1) (mailing output)
This is a race condition in os.makedirs: http://bugs.python.org/issue1675
 
Support non-standard Portage and distfiles locations (requested
by Caleb Cushing)
 
Add support to targets so they can detect when another metro process
may be building something identical, so metro doesn't try to kill off
the other build.
 
Grab patch from Benedikt DONE
 
Clean up fslayout to make it more manageable -- move some stuff into
the gentoo targets themselves to make things cleaner. Simplify the
path definitions. DONE
 
Add target/type to specify whether something is
a snapshot, a install tarball, or a template. DONE
 
Use this in combination
with the priority system to define paths.
 
Add priority option for when and section annotations, so Metro can
choose one based on priority if multiple ones match.
 
ISO support
 
add kernel build support (genkernel or raw)
 
add a way to unmerge things you don't want DONE
(emerge/packages/clean)
 
, and maybe for Metro 1.4:
 
add a way to extend steps, so you can have a target-specific "Clean"
as well as a global clean. This should be part of the data model and
may use some kind of OOP or list concept? not quite DONE
 
allow multi-line references to be expanded into single-line references
with newlines/extra whitespace removed. This way we can have package
lists that look like this:
 
packages: [
foo
bar
oni
]
 
A lot easier to maintain and read. Request from Caleb Cushing. DONE
 
do lastdate with snapshots to avoid creating identical snapshot files