<div class="gmail_quote">---------- Forwarded message ----------<br>From: "Christopher Browne" <<a href="mailto:cbbrowne@afilias.info">cbbrowne@afilias.info</a>><br>Date: Oct 27, 2011 7:48 PM<br>Subject: Re: [Slony1-hackers] Re : Re : Re : Re : Re : Slony 2.1.0 PDF Documentation available<br>
To: "David TECHER" <<a href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a>><br><br type="attribution"><p>All the options have varying bits of new complexity / new apparatus, so any choice involves a little more work. I think I like 3b too, as it seems to have fewer "moving parts" than most of the others.</p>
<p>Ideally 3b involves scripting dropping the PDF into the less-processed-by-PHP area, as opposed to us needing to remember Yet Another Deployment Rule.</p>
<p> I suppose more work should go into the release script, which I'll observe that I changed a bit when doing 2.1.0...</p>
<p>Maybe that script should need a CVS repo location, and actually put the build into place?</p>
<div class="gmail_quote"><div class="elided-text">On Oct 27, 2011 6:34 PM, "David TECHER" <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>> wrote:<br type="attribution"></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Steve,</span></div><div><br><span></span></div><div><span></span><span>My personal choice will be for 3.b. It seems to be the simpliest choice<br>
</span></div><div><br><span></span></div><div><span>I will wait you discuss with Chris.</span></div><div><br><span></span></div><div><span>For next release of Slony 2.1.1or higher, I will be able to test if something need to be change.<br>
</span></div><div><br><span></span></div><div><span>Thanks.</span></div><div><br><span></span></div><div><span>David</span></div><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt">
<div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold">De :</span></b> Steve Singer
<<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>><br><b><span style="font-weight:bold">À :</span></b> David TECHER <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>><br>
<b><span style="font-weight:bold">Cc :</span></b> Devrim GÜNDÜZ <<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>>; Slony Hackers <<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>><br>
<b><span style="font-weight:bold">Envoyé le :</span></b> Jeudi 27 Octobre 2011 23h46<br><b><span style="font-weight:bold">Objet :</span></b> Re: Re : Re : [Slony1-hackers] Re : Re : Slony 2.1.0 PDF Documentation available<br>
</font><br>On 11-10-27 04:46 PM, David TECHER wrote:<br>> Steve<br>><br>> When do you think you will push the PDF on <a href="http://slony.info" target="_blank">slony.info</a>?<br><br>I have committed this patch to git. I can<br>
<br>1) Build a new slony1-engine-2.1.0-1-docs.tar.bz2 that includes the PDF. <br> Not the extra -1 in the filename. I am open to a different scheme for <br>naming updated tar files for a release that has already been
released.<br><br>2) Wait until 2.1.1 gets released (When enough bug fixes accumulate for <br>a 2.1.1 to be justified)<br><br>3) I can put the PDF file up on the website outside of a tar file.<br>If we go this route I'd be inclined to add a PDF link next to the <br>
existing HTML link on <a href="http://www.slony.info/documentation/" target="_blank">http://www.slony.info/documentation/</a>. I would <br>only do this for 2.1 and new versions going forward. There are some <br>complications in doing this with the PHP could that generates the <br>
website I can<br><br>a) Modify the PHP to return .PDF files without the HTML header, but this <br>still would involve reading the entire PDF into memory in the PHP script <br>and returning it<br>b) We can manually copy the PDF out of <br>
documentation/2.1/.../adminguide./slony.pdf to somewhere else in the <br>directory tree that doesn't invoke the index.php script.<br>c) Find someone who
understands and can edit the rewrite rules that make <br>index.php get invoked when the PDF lives under documentation/...<br><br>If we like option 3 then I don't see a decision on a-c happening until <br>I talk to Chris next week.<br>
<br><br><br>><br>> Kind regards.<br>><br>><br>> David.<br>><br>> ------------------------------------------------------------------------<br>> *De :* Steve Singer <<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>><br>
> *À :* David TECHER <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>><br>> *Cc :* Devrim GÜNDÜZ <<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>>; Slony Hackers<br>
> <<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>><br>> *Envoyé le :* Mercredi 26 Octobre 2011 19h28<br>> *Objet :* Re: Re : [Slony1-hackers] Re : Re : Slony 2.1.0 PDF<br>
> Documentation available<br>><br>> On 11-10-24 06:47 PM, David TECHER wrote:<br>> > For sure<br>><br>> Thanks.<br>><br>> I've produced this patch to have the<br>> make slony.pdf target use this steps instead of the jadetex ones. The<br>
> old commands seemed to work for me as well but it took a really long<br>> time for the pdf to run.<br>><br>> With this patch slony.pdf will be included in the -doc tar file that<br>> gets built/pushed to the <a href="http://slony.info" target="_blank">slony.info</a> site.<br>
><br>> Any comments?<br>><br>><br>><br>> ><br>> > Step 1 - Dblatex<br>> > ------------------------<br>> > First of all be sure that you have dblatex installed<br>>
><br>> > since I am on Ubuntu Lucid, I've did<br>> ><br>> > apt-get install -y dblatex<br>> ><br>> > Notice: I've tryied it with dblatex 0.2.12-4 (Ubuntu Lucid) and with the<br>
> > last version 0.3 available from <a href="http://dblatex.sf.net" target="_blank">dblatex.sf.net</a>.<br>> > The two versions are Ok for me. However I am not able to confirm that my<br>> > commands will work for dblatex < 0.2.12<br>
> ><br>> > Then<br>> ><br>> > Step 2 - Generating the PDF<br>> > -------------------------------------<br>> > # As usual, generate the XML file<br>> > cd doc/adminguide<br>
> > make slony.xml<br>> ><br>> > # we need to make a few changes: replacing 'article' by 'sect1' else we<br>> > will not be able to use Latex<br>> > sed -i
"s:<article:<sect1:g;s:</article:</sect1:g" slony.xml;<br>> ><br>> > # We use dblatex to generate a temporary Tex file named (for example)<br>> > 'slony-tmp.tex'<br>> > dblatex -t tex -o slony-tmp.tex slony.xml<br>
> ><br>> > # We drop bad lines "\end{document}" generated by dblatex<br>> > grep -vE '^(\\end{document}|\\subsection\*)$' slony-tmp.tex > slony.tex<br>> ><br>> > # We put the required '\end{document}' at the end of the Tex file<br>
> > echo "\end{document}" >> slony.tex<br>> ><br>> > # Latex required to run the following command 3 times in order to<br>> > generating the TOC of the document<br>> ><br>
> > pdflatex slony.tex<br>> > pdflatex slony.tex<br>> > pdflatex slony.tex<br>> ><br>> > Then the PDF
file is generated.<br>> ><br>> > That's all.<br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > *De :* Steve Singer <<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a><br>
> <mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>>><br>> > *À :* David TECHER <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>>><br>
> > *Cc :* Devrim GÜNDÜZ <<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>>>;<br>> Slony Hackers<br>
> > <<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>>><br>
> > *Envoyé le :* Lundi 24 Octobre 2011 16h22<br>> > *Objet :* Re: [Slony1-hackers] Re : Re : Slony 2.1.0 PDF Documentation<br>> > available<br>> ><br>> > On 11-10-23 12:44 PM, David TECHER wrote:<br>
> > > If you are interested, the files used to generated the pdf are<br>> joined to<br>> > > this mail.<br>> > ><br>> > > slony.xml:<br>> > ><br>> > > The file you've got when you do<br>
> >
><br>> > > make slony.xml<br>> > ><br>> > > I had to modify it manually.<br>> > ><br>> > > slony.tex:<br>> > ><br>> > > do<br>> > ><br>> > > pdflatex slony.tex<br>
> > ><br>> > > Be sure to have the image 'complexenv.png' in the same directory where<br>> > > the command is executed<br>> ><br>> > To include this in the -doc tar builds going forward I need to know what<br>
> > commands to execute to build the PDF from the xml sources.<br>> ><br>> > $ cd doc/adminguide<br>> > $ make slony.xml<br>> ><br>> > then what? Do I need to run<br>> ><br>
> > $ make slony.pdf<br>> ><br>> > or something else?<br>> ><br>> >
><br>> > ><br>> ------------------------------------------------------------------------<br>> > > *De :* David TECHER <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a><br>
> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a><br>> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>>>><br>
> > > *À :* Devrim GÜNDÜZ <<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>><br>> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>>>><br>
> > > *Cc :* Slony Hackers <<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>><br>
> > <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>>>><br>
> > > *Envoyé le :* Dimanche 23 Octobre 2011 17h53<br>> > > *Objet :* [Slony1-hackers] Re :
Slony 2.1.0 PDF Documentation available<br>> > ><br>> > > Devrim,<br>> > ><br>> > > I hope so.<br>> > ><br>> > > Thanks for your mail.<br>> > ><br>> > > David.<br>
> > ><br>> > ><br>> ------------------------------------------------------------------------<br>> > > *De :* Devrim GÜNDÜZ <<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>><br>
> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a> <mailto:<a href="mailto:devrim@gunduz.org" target="_blank">devrim@gunduz.org</a>>>><br>> > > *À :* David TECHER <<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a><br>
> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a><br>> <mailto:<a href="mailto:davidtecher@yahoo.fr" target="_blank">davidtecher@yahoo.fr</a>>>><br>
> > > *Cc :* Slony Hackers <<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>><br>
> > <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:slony1-hackers@lists.slony.info" target="_blank">slony1-hackers@lists.slony.info</a>>>><br>
> > > *Envoyé le :* Samedi 22 Octobre 2011 10h42<br>> > > *Objet :* Re: [Slony1-hackers] Slony 2.1.0 PDF Documentation available<br>> > ><br>> > > On Fri, 2011-10-21 at 23:50 +0100, David TECHER wrote:<br>
> > > ><br>> > > > The documentation is available at<br>> > > > <a href="http://www.davidgis.fr/documentation/slony/2.1.0/pdf/slony-2.1.0.pdf" target="_blank">http://www.davidgis.fr/documentation/slony/2.1.0/pdf/slony-2.1.0.pdf</a><br>
> > > ><br>> > > > I did not attached the PDF to the mail (big file 1M even if<br>> > > >
compressed).<br>> > > ><br>> > > > Let me know if you want to put it on <a href="http://slony.info" target="_blank">slony.info</a> :)<br>> > ><br>> > > Thanks for the work!<br>
> > ><br>> > > I really want to see it in <a href="http://slony.info" target="_blank">slony.info</a>, so that I can push this PDF<br>> along<br>> > > with RPMs.<br>> > ><br>> > > Regards,<br>
> > > --<br>> > > Devrim GÜNDÜZ<br>> > > Principal Systems Engineer @ EnterpriseDB: <a href="http://www.enterprisedb.com" target="_blank">http://www.enterprisedb.com</a><br>> > > PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer<br>
> > > Community: devrim~PostgreSQL.org, devrim.gunduz~<a href="http://linux.org.tr" target="_blank">linux.org.tr</a><br>> > > <a href="http://www.gunduz.org" target="_blank">http://www.gunduz.org</a> Twitter: <a href="http://twitter.com/devrimgunduz" target="_blank">http://twitter.com/devrimgunduz</a><br>
> > ><br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > Slony1-hackers mailing list<br>> > > <a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>
> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>><br>> > <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>
> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>>><br>> > <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>
> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>><br>> > <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>
> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>>>><br>> > > <a href="http://lists.slony.info/mailman/listinfo/slony1-hackers" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-hackers</a><br>
> > ><br>> > ><br>> > ><br>> > ><br>> > > _______________________________________________<br>>
> > Slony1-hackers mailing list<br>> > > <a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>><br>
> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>> <mailto:<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a>>><br>
> > > <a href="http://lists.slony.info/mailman/listinfo/slony1-hackers" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-hackers</a><br>> ><br>> ><br>> ><br>><br>><br>><br>
<br><br><br></div></div></div></div><br>_______________________________________________<br>
Slony1-hackers mailing list<br>
<a href="mailto:Slony1-hackers@lists.slony.info" target="_blank">Slony1-hackers@lists.slony.info</a><br>
</div><a href="http://lists.slony.info/mailman/listinfo/slony1-hackers" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-hackers</a><br>
<br></blockquote></div>
</div>