Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Sympa 6.1.18 ready to ship => will be 6.1.19...

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Sympa 6.1.18 ready to ship => will be 6.1.19...
  • Date: Wed, 05 Feb 2014 10:55:52 +0100

Hi Soji,


Le 04/02/14 17:40, IKEDA Soji a écrit :
[snip/]
Yes, actually, you couldn't know it would be usefull, so it's not really 
your fault; It's mainly used by my version scrtion script after all.
Such a script is what I have been dreaming for long time!  I wish
to see it.

Here it is!
But don't get your hopes too high: the script is closely related to our architecture.

A few explanations:

1- We use three servers when creating a new Sympa version:
- dev-sympa which the server on which we develop Sympa. It contains the sources
- vespa, the server hosting the Sympa web site (on which we will copy the tar.gz once it is ready)
- listes, the server hosting our Pootle repository

2- The archive contains 5 files:
  • tag-version.pl : the main script that we run to tag a new version. It is run from dev-sympa.
  • Updater.pm: the module used by tag-version.pl: we create an Updater object holding all the needed data and subs
  • create_create_db_script.pl: this script is called by tag-version.pl to recreate create_db.* scripts according to the new data structure
  • fix_po_end_of_line.pl: this script is run on listes and fixes CRLF end of lines from po files - such end of line markers appear when catalogues are edited by a Windows editor)
  • pootle2sympa.pl is run on listes and creates a tar.gz of Pootle catalogues ready to be imported to Sympa. This is how we take newly updated catalogues from Pootle to incorporate them to the new Sympa version.

You will see that, though I tried to correctly factorize code, some parts are quite specific - especially internationalization handling and tar.gz publication. However, if you ignore i18n handling and tar.gz publication, it could probably run smoothly.

Well , anyway, any remarks regarding this script are obviously welcome. I hope it can help.

Best regards!

David


--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page