TODO build rule

Started by Peter Eisentrautover 17 years ago6 messagesdocs
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

I tried building TODO.html from TODO according to the description in
doc/src/FAQ/README, but saw the following kind of difference repeating:

@@ -24,7 +24,7 @@
<h1><a name="section_2">Administration</a></h1>

 <ul>
-  <li>-<em>Allow administrators to safely terminate individual sessions either</em>
+  <li>-Allow administrators to safely terminate individual sessions either
   via an SQL function or SIGTERM
   </li><li>Check for unreferenced table files created by transactions that were
   in-progress when the server terminated abruptly

Apparently, there is a piece of code missing that adds these <em> tags around
the done items. Bruce, do you have this code, and can you add it to the README?

#2Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#1)
Re: TODO build rule

Peter Eisentraut wrote:

I tried building TODO.html from TODO according to the description in
doc/src/FAQ/README, but saw the following kind of difference repeating:

@@ -24,7 +24,7 @@
<h1><a name="section_2">Administration</a></h1>

<ul>
-  <li>-<em>Allow administrators to safely terminate individual sessions either</em>
+  <li>-Allow administrators to safely terminate individual sessions either
via an SQL function or SIGTERM
</li><li>Check for unreferenced table files created by transactions that were
in-progress when the server terminated abruptly

Apparently, there is a piece of code missing that adds these <em> tags around
the done items. Bruce, do you have this code, and can you add it to the README?

These two lines in pgsql/src/tools/TODO2html should be adding "*"s which
is then interpreted as "<em>":

sed 's/^\(\* -\)\(.*\)$/\1*\2*/' |
sed 's/^\([ ][ ]*o -\)\(.*\)$/\1*\2*/' |

Is there some 'sed' incompatibility there?

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#2)
Re: TODO build rule

On Saturday 16 August 2008 03:22:09 Bruce Momjian wrote:

Peter Eisentraut wrote:

I tried building TODO.html from TODO according to the description in
doc/src/FAQ/README, but saw the following kind of difference repeating:

Apparently, there is a piece of code missing that adds these <em> tags
around the done items. Bruce, do you have this code, and can you add it
to the README?

These two lines in pgsql/src/tools/TODO2html should be adding "*"s which
is then interpreted as "<em>":

So there are two inconsistent sets of instructions for creating TODO.html, one
in doc/src/FAQ/README and one in src/tools/TODO2html. Which one is being
used?

I want to convert the real one to a makefile, btw.

#4Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#3)
Re: TODO build rule

Peter Eisentraut wrote:

On Saturday 16 August 2008 03:22:09 Bruce Momjian wrote:

Peter Eisentraut wrote:

I tried building TODO.html from TODO according to the description in
doc/src/FAQ/README, but saw the following kind of difference repeating:

Apparently, there is a piece of code missing that adds these <em> tags
around the done items. Bruce, do you have this code, and can you add it
to the README?

These two lines in pgsql/src/tools/TODO2html should be adding "*"s which
is then interpreted as "<em>":

So there are two inconsistent sets of instructions for creating TODO.html, one
in doc/src/FAQ/README and one in src/tools/TODO2html. Which one is being
used?

I want to convert the real one to a makefile, btw.

Oh, I forgot that README talked about making TODO.html. I have updated
the README to suggest using pgsql/src/tools/TODO2html.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

#5David Fetter
david@fetter.org
In reply to: Bruce Momjian (#4)
Re: TODO build rule

On Sat, Aug 16, 2008 at 03:39:59PM -0400, Bruce Momjian wrote:

Peter Eisentraut wrote:

On Saturday 16 August 2008 03:22:09 Bruce Momjian wrote:

Peter Eisentraut wrote:
These two lines in pgsql/src/tools/TODO2html should be adding
"*"s which is then interpreted as "<em>":

So there are two inconsistent sets of instructions for creating
TODO.html, one in doc/src/FAQ/README and one in
src/tools/TODO2html. Which one is being used?

I want to convert the real one to a makefile, btw.

Oh, I forgot that README talked about making TODO.html. I have
updated the README to suggest using pgsql/src/tools/TODO2html.

I thought this was going onto the wiki so Bruce doesn't have to be the
sole maintainer :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

#6Bruce Momjian
bruce@momjian.us
In reply to: David Fetter (#5)
Re: TODO build rule

David Fetter wrote:

On Sat, Aug 16, 2008 at 03:39:59PM -0400, Bruce Momjian wrote:

Peter Eisentraut wrote:

On Saturday 16 August 2008 03:22:09 Bruce Momjian wrote:

Peter Eisentraut wrote:
These two lines in pgsql/src/tools/TODO2html should be adding
"*"s which is then interpreted as "<em>":

So there are two inconsistent sets of instructions for creating
TODO.html, one in doc/src/FAQ/README and one in
src/tools/TODO2html. Which one is being used?

I want to convert the real one to a makefile, btw.

Oh, I forgot that README talked about making TODO.html. I have
updated the README to suggest using pgsql/src/tools/TODO2html.

I thought this was going onto the wiki so Bruce doesn't have to be the
sole maintainer :)

We have discussed the idea and Magnus did a wiki version for testing. I
am not sure where are in moving that forward. Anyone with CVS access
can modify it now and you can send in patches for it too.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +