/[navidoc]/navidoc/newpeg.py
ViewVC logotype

Diff of /navidoc/newpeg.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by humppake, Fri Apr 25 07:52:06 2003 UTC revision 1.2 by humppake, Fri Apr 25 12:29:33 2003 UTC
# Line 87  or enter any other key to cancel. Line 87  or enter any other key to cancel.
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),
# Line 107  print 'Creating peg.rst template.' Line 107  print 'Creating peg.rst template.'
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:
# Line 133  introduction which should briefly answer Line 133  introduction which should briefly answer
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  =======  =======
# Line 157  out = open(slashify(slashify(peg_path)+p Line 157  out = open(slashify(slashify(peg_path)+p
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)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26