Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:latest:contribute [2019/07/02 18:29]
xguimard
documentation:latest:contribute [2019/07/02 20:04] (current)
maxbes perltidy instructions
Line 6: Line 6:
   * Perl:   * Perl:
     * code must be written in modern object-oriented code (using [[https://​metacpan.org/​pod/​Mouse|Mouse]]) //(except handler and Apache::​Session inheritance)//​     * code must be written in modern object-oriented code (using [[https://​metacpan.org/​pod/​Mouse|Mouse]]) //(except handler and Apache::​Session inheritance)//​
-    * code must be formatting ​using [[https://​metacpan.org/​pod/​distribution/​Perl-Tidy/​bin/​perltidy|perltidy]] version 20181120 //(from Debian/testing)//+    * code must be formatted ​using [[https://​metacpan.org/​pod/​distribution/​Perl-Tidy/​bin/​perltidy|perltidy]] version 20181120 //(from Debian/buster)//
   * Javascript:   * Javascript:
     * code must be written in [[http://​coffeescript.org/​|CoffeeScript]] //(in ''<​component>/​site/​coffee''​)//:​ ''​make minify''​ will generate JS files     * code must be written in [[http://​coffeescript.org/​|CoffeeScript]] //(in ''<​component>/​site/​coffee''​)//:​ ''​make minify''​ will generate JS files
Line 84: Line 84:
 ===== Install dependencies ​ ===== ===== Install dependencies ​ =====
  
-  aptitude install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libunicode-string-perl liburi-perl libwww-perl libxml-simple-perl libxml-libxslt-perl libcrypt-urandom-perl libconvert-base32-perl+  aptitude install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libunicode-string-perl liburi-perl libwww-perl libxml-simple-perl libxml-libxslt-perl libcrypt-urandom-perl libconvert-base32-perl ​cpanminus
   aptitude install apache2 libapache2-mod-fcgid libapache2-mod-perl2 ​ # install Apache   aptitude install apache2 libapache2-mod-fcgid libapache2-mod-perl2 ​ # install Apache
   aptitude install nginx nginx-extras ​ # install Nginx   aptitude install nginx nginx-extras ​ # install Nginx
-  ​aptitude install ​perltidy+  ​cpanm perltidy@20181120
    
    SAML :    SAML :