87 |
|
|
88 |
Peg name: %s |
Peg name: %s |
89 |
Peg directory: %s%s |
Peg directory: %s%s |
90 |
Author: %s(%s) |
Author: %s (%s) |
91 |
**************************************** |
**************************************** |
92 |
""" % (peg_dir, |
""" % (peg_dir, |
93 |
slashify(peg_path), |
slashify(peg_path), |
107 |
out = open(slashify(slashify(peg_path)+peg_dir+'--'+peg_author_nick) \ |
out = open(slashify(slashify(peg_path)+peg_dir+'--'+peg_author_nick) \ |
108 |
+'peg.rst', 'w') |
+'peg.rst', 'w') |
109 |
localtime = time.localtime() |
localtime = time.localtime() |
110 |
date = '%s-%s-%s' % (localtime[0], localtime[1], localtime[2]) |
date = '%s-%02d-%02d' % (localtime[0], localtime[1], localtime[2]) |
111 |
out.write(""" |
out.write(""" |
112 |
========================================================================== |
========================================================================== |
113 |
PEG %s--%s: |
PEG %s--%s: |
133 |
Issues |
Issues |
134 |
====== |
====== |
135 |
|
|
136 |
After this section, there should be an Issues section (following the |
There should be an Issues section (following the example of OpenGL |
137 |
example of OpenGL extension specs), which should contain the open |
extension specs), which should contain the open questions related to |
138 |
questions related to this PEG. Once an issue is resolved, it is often |
this PEG. Once an issue is resolved, it is often good to leave the |
139 |
good to leave the resolution and the rationale behind the resolution |
resolution and the rationale behind the resolution into the Issues |
140 |
into the Issues section |
section |
141 |
|
|
142 |
Changes |
Changes |
143 |
======= |
======= |
157 |
out.write('*.gen.*'+"\n") |
out.write('*.gen.*'+"\n") |
158 |
out.close() |
out.close() |
159 |
|
|
160 |
print 'Creation of PEG template completed.' |
print """ |
161 |
|
Creation of PEG template completed. |
162 |
|
%s |
163 |
|
""" % (slashify(peg_path)+peg_dir+'--'+peg_author_nick) |