[Git][noosfero/noosfero][master] 6 commits: util/debian-install: document test procedure

Antonio Terceiro gitlab at gitlab.com
Mon Jul 13 15:48:24 BRT 2015


Antonio Terceiro pushed to branch master at Noosfero / noosfero


Commits:
4c6e9533 by Antonio Terceiro at 2015-07-13T15:07:37Z
util/debian-install: document test procedure

- - - - -
9a34ebd5 by Antonio Terceiro at 2015-07-13T15:14:02Z
util/debian-install: fix logic for copying .debs

- make the code independent of the number of packages
- cope with a clean environment, where there is no local copies yet.

- - - - -
65cb2d1d by Antonio Terceiro at 2015-07-13T15:33:31Z
Updating authors file

- - - - -
e2aca962 by Antonio Terceiro at 2015-07-13T15:33:31Z
Updating public error pages

- - - - -
689a2626 by Antonio Terceiro at 2015-07-13T15:43:23Z
debian/chanelog: remove noise

- - - - -
41c081de by Antonio Terceiro at 2015-07-13T15:45:34Z
Bumping version 1.2~rc1

- - - - -


6 changed files:

- AUTHORS.md
- debian/changelog
- lib/noosfero/version.rb
- public/500.html
- util/debian-install/README.md
- util/debian-install/Vagrantfile


Changes:

=====================================
AUTHORS.md
=====================================
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -43,11 +43,15 @@ Alessandro Palmeira + Rafael Manzo <alessandro.palmeira at gmail.com>
 analosnak <analosnak at gmail.com>
 Ana Losnak <analosnak at gmail.com>
 Andre Bernardes <andrebsguedes at gmail.com>
+André Bernardes <andrebsguedes at gmail.com>
+André Guedes <andrebsguedes at fedora.local>
+André Guedes <andrebsguedes at gmail.com>
 Antonio Terceiro + Carlos Morais <terceiro at colivre.coop.br>
 Antonio Terceiro + Paulo Meirelles <terceiro at colivre.coop.br>
 Antonio Terceiro <terceiro at colivre.coop.br>
 Arthur Del Esposte <arthurmde at gmail.com>
 Arthur Del Esposte <arthurmde at yahoo.com.br>
+Athos Ribeiro <athoscribeiro at gmail.com>
 Aurelio A. Heckert <aurelio at colivre.coop.br>
 Braulio Bhavamitra <brauliobo at gmail.com>
 Bráulio Bhavamitra <brauliobo at gmail.com>
@@ -82,6 +86,7 @@ Carlos Morais + Diego Araújo <diegoamc90 at gmail.com>
 Carlos Morais + Eduardo Morais <carlos88morais at gmail.com>
 Carlos Morais + Paulo Meirelles <carlos88morais at gmail.com>
 Carlos Morais + Pedro Leal <carlos88morais at gmail.com>
+Christophe DANIEL <papaeng at gmail.com>
 Daniel Alves + Diego Araújo <danpaulalves at gmail.com>
 Daniel Alves + Diego Araújo <diegoamc90 at gmail.com>
 Daniel Alves + Diego Araújo + Guilherme Rojas <danpaulalves at gmail.com>
@@ -126,11 +131,14 @@ DylanGuedes <djmgguedes at gmail.com>
 Eduardo Passos <eduardo at risa.localdomain.localhost>
 Eduardo Passos <eduardosteps at gmail.com>
 Eduardo Tourinho Edington <eduardo.edington at serpro.gov.br>
+Eduardo Vital <vitaldu at gmail.com>
 Evandro Jr <evandrojr at gmail.com>
 Evandro Junior <evandrojr at gmail.com>
+Evandro Magalhaes Leite Junior <evandro.leite at serpro.gov.br>
 Fabio Teixeira <fabio1079 at gmail.com>
 FAMMA TV NOTICIAS MEDIOS DE CO <revistafammatvmusic.oficial at gmail.com>
 Fernanda Lopes <nanda.listas+psl at gmail.com>
+Filipe Ribeiro <firibeiro77 at live.com>
 Francisco Marcelo A. Lima Júnior <francisco.lima-junior at serpro.gov.br>
 Francisco Marcelo de Araujo Lima Junior <79350259591 at serpro-1457614.(none)>
 Francisco Marcelo de Araújo Lima Júnior <francisco.lima-junior at serpro.gov.br>
@@ -198,6 +206,7 @@ Lucas Kanashiro <kanashiro.duarte at gmail.com>
 Lucas Melo <lucas at colivre.coop.br>
 Lucas Melo <lucaspradomelo at gmail.com>
 Luciano <lucianopcbr at gmail.com>
+Luciano Prestes Cavacanti <lucianopcbr at gmail.com>
 Luciano Prestes Cavalcanti <lucianopcbr at gmail.com>
 Luis David Aguilar Carlos <ludwig9003 at gmail.com>
 Luiz Fernando de Freitas Matos <luiz at luizff.matos@gmail.com>
@@ -207,6 +216,7 @@ Martín Olivera <molivera at solar.org.ar>
 Maurilio Atila <cabelotaina at gmail.com>
 M for Momo <mo at rtnp.org>
 Michal Čihař <michal at cihar.com>
+Michel Felipe <mfelipeof at gmail.com>
 Moises Machado <moises at colivre.coop.br>
 Naíla Alves <naila at colivre.coop.br>
 Nanda Lopes <nanda.listas+psl at gmail.com>
@@ -251,6 +261,7 @@ Tallys Martins <tallysmartins at yahoo.com.br>
 tallys <tallys at tallys>
 tallys <tallys at tallys.(none)>
 Thiago Casotti <thiago.casotti at uol.com.br>
+Thiago Ribeiro <thiagitosouza at hotmail.com>
 Thiago Zoroastro <thiago.zoroastro at bol.com.br>
 Tuux <tuxa at galaxie.eu.org>
 TWS <tablettws at gmail.com>


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,12 @@
-noosfero (1.2~1) UNRELEASED; urgency=medium
-
-  [ Antonio Terceiro ]
-  * Temporary version in heavy development
+noosfero (1.2~rc1) wheezy; urgency=medium
 
   [ Joenio Costa ]
   * Build noosfero-chat package
 
- -- Joenio Costa <joenio at colivre.coop.br>  Mon, 18 May 2015 14:32:21 -0300
+  [ Antonio Terceiro ]
+  * Noosfero 1.2 RC1
+
+ -- Antonio Terceiro <terceiro at colivre.coop.br>  Mon, 13 Jul 2015 15:44:17 -0300
 
 noosfero (1.1) wheezy; urgency=low
 


=====================================
lib/noosfero/version.rb
=====================================
--- a/lib/noosfero/version.rb
+++ b/lib/noosfero/version.rb
@@ -1,6 +1,6 @@
 module Noosfero
   PROJECT = 'noosfero'
-  VERSION = '1.2~0'
+  VERSION = '1.2~rc1'
 end
 
 root = File.expand_path(File.dirname(__FILE__) + '/../..')


=====================================
public/500.html
=====================================
--- a/public/500.html
+++ b/public/500.html
@@ -67,7 +67,7 @@
     
       
       <div id='fr' style='display: none' class='message'>
-        <h1>Problème temporaire du système.</h1>
+        <h1>Problème temporaire du système</h1>
         <p>
         Notre équipe technique est en train d'y travailler. Merci de réessayer plus tard. Nous sommes désolés de la gêne occasionnée.
         </p>


=====================================
util/debian-install/README.md
=====================================
--- a/util/debian-install/README.md
+++ b/util/debian-install/README.md
@@ -1,3 +1,22 @@
 This directory contains the basic structure to test the installation of
 Noosfero debian packages, using a fresh Vagrant VM and packages built in
 ${NOOSFEROROOT}/pkg/.
+
+To perform a test, do
+
+```
+$ cd /path/to/noosfero
+$ rake noosfero:deb
+$ cd util/debian-install/
+$ vagrant up
+```
+
+To reset the environment in preparation for a new test, destroy the VM and
+remove any local `*.deb` files :
+
+```
+$ cd util/debian-install/
+$ vagrant halt
+$ vagrant destroy
+$ rm -f *.deb
+```


=====================================
util/debian-install/Vagrantfile
=====================================
--- a/util/debian-install/Vagrantfile
+++ b/util/debian-install/Vagrantfile
@@ -5,7 +5,7 @@
 VAGRANTFILE_API_VERSION = "2"
 
 require 'fileutils'
-debs = `find ../../pkg/ -name '*.deb' | sort -t _ -V | tail -2`.split
+debs = `find ../../pkg/ -name '*.deb' | sort -t _ -V`.split
 if debs.empty?
   puts "W: no debs built in ../../pkg/; will either install existing local"
   puts "   ones, or the ones from the remote repository"
@@ -16,7 +16,7 @@ else
 
     local_debs.delete(fn)
 
-    if File.stat(f) != File.stat(fn)
+    if !File.exist?(fn) || File.stat(f) != File.stat(fn)
       FileUtils::Verbose.rm_f(fn)
       FileUtils::Verbose.ln f, '.'
     end



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/c5df21ab7c6155ff2a6850cefec637449229bd79...41c081de6469a2f1e8c238ebbfb25c5363e82926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150713/2b473bcd/attachment.html>


More information about the Noosfero-dev mailing list