Commit 4aedd87538163e3831a1a7eed2fe12c804d7d6ca

Authored by Rafael Reggiani Manzo
2 parents a37162a8 4c9e4f89
Exists in colab and in 2 other branches master, stable

Merge pull request #354 from mezuro/update_meta_informations

Update meta informations
CHANGELOG.md 0 → 100644
... ... @@ -0,0 +1,146 @@
  1 +# Revision history for Mezuro module Prezento
  2 +
  3 +Prezento is the web interface for Mezuro.
  4 +
  5 +## Unreleased
  6 +
  7 +- Remove Show button for hotspot metric configurations
  8 +- Remove side menu
  9 +- Refactor footer as a grid
  10 +- Add latest repositories list to the homepage
  11 +- Add latest configurations list to the homepage
  12 +- Move tutorials to mezuro.github.io
  13 +- Pluralize navigation menu links
  14 +- Add missing translation for CompoundMetric
  15 +- Make Compound Metric Config. metric list not include Hotspot metrics
  16 +- Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view
  17 +- Show the notify push url for the repository's owner (Gitlab only)
  18 +- Support for hiding repositories
  19 +- Fix home latest content caching effectiveness
  20 +- Fix setup script
  21 +- Update README
  22 +- Create HACKING and CONTRIBUTING files
  23 +
  24 +## v0.11.3 - 01/04/2016
  25 +
  26 +- Update KalibroClient error API which now uses Likeno errors
  27 +
  28 +## v0.11.2 - 09/03/2016
  29 +
  30 +- Set development Ruby version to 2.3.0
  31 +
  32 +## v0.11.1 - 26/02/2016
  33 +
  34 +- Fix default database.yml to avoid encoding conflicts in PostgreSQL
  35 +
  36 +## v0.11.0 - 22/02/2016
  37 +
  38 +- Change Hotspot Metric Configuration to work in a more "native" fashion and refactor the Metric Configuration controllers
  39 +- Replace url helpers by the path ones. Those were left unchanged on the previous release
  40 +- Update docs
  41 +- Update kalibro_client
  42 +- Changes on memcached configuration
  43 +- Aggregation form fix
  44 +
  45 +## v0.10.1 - 12/01/2016
  46 +
  47 +- Replace URL route helpers by path ones
  48 +
  49 +## v0.10.0 - 30/11/2015
  50 +
  51 +- Add Gitlab hook notifications
  52 +
  53 +## v0.9.2 - 17/11/2015
  54 +
  55 +- Put foreman gem in global scope on Gemfile
  56 +
  57 +## v0.9.1 - 17/11/2015
  58 +
  59 +- Add better acceptance tests for Ruby MetricResults
  60 +- Fix deployment branch on capistrano
  61 +- Fix ProjectAttributes association with Project
  62 +- Fix parent module navigation when on root module
  63 +- Add foreman in order to export scripts
  64 +- Add postgresql database sample configuration
  65 +
  66 +## v0.9.0 - 28/10/2015
  67 +
  68 +- Gem updates
  69 +- Update home page information
  70 +- Update humans.txt
  71 +- Fix test that use external connections
  72 +- Add after configuration hook to cucumber
  73 +- Use Ruby metrics for module navigation feature
  74 +- List hotspot metric configurations
  75 +
  76 +## v0.8.6 - 16/09/2015
  77 +
  78 +- Fixes module tree ordering with FUNCTION granularity
  79 +
  80 +## v0.8.5 - 14/09/2015
  81 +
  82 +- Update kalibro_client - fixes MetricResult retrieval
  83 +
  84 +## v0.8.4 - 11/09/2015
  85 +
  86 +- Cascade user destroy to its attributes
  87 +- Use kalibro_client ranges
  88 +
  89 +## v0.8.3 - 03/09/2015
  90 +
  91 +- Using railsstrap instead of twitter-bootstrap-rails
  92 +
  93 +## v0.8.2 - 03/09/2015
  94 +
  95 +- Fixed hardcoded routes on JS files by using generated ones
  96 +
  97 +## v0.8.1 - 01/09/2015
  98 +
  99 +- README and humans.txt updated
  100 +- Gem updates and dependancy review on Gemfile
  101 +- Home text updated
  102 +- Fixes bug for showing independent repositories
  103 +- FactoryGirl is no longer used by seeds
  104 +- kalibro_client major update to version 1
  105 +- Translations fixes
  106 +
  107 +## v0.8.0 - 05/08/2015
  108 +
  109 +- Travis build reliability improved by disabling jQuery on acceptance tests
  110 +- Metric's list collapsed by default
  111 +- Seed script creates default user who owns the default KalibroConfigurationAttributes and ReadingGroupAttributes
  112 +- Updated Home to include new features and an apology message
  113 +
  114 +## v0.7.0 - 08/07/2015
  115 +
  116 +- All repositories list with a link at the top menu
  117 +- Repositories may be created independent of a Project
  118 +- Missing translations fix
  119 +
  120 +## v0.6.0 - 26/06/2015
  121 +
  122 +- General updates and bug fixes
  123 +- Specific repository branches
  124 +- Error handling for pages non existent or formats unsupported
  125 +
  126 +## v0.5.0 - 29/05/2015
  127 +
  128 +- KalibroConfiguration hidding
  129 +- ReadingGroup hidding
  130 +- Translation fixes
  131 +
  132 +Prezento is the web interface for Mezuro.
  133 +Copyright (C) 2015 The Mezuro Team
  134 +
  135 +This program is free software: you can redistribute it and/or modify
  136 +it under the terms of the GNU Affero General Public License as published by
  137 +the Free Software Foundation, either version 3 of the License, or
  138 +(at your option) any later version.
  139 +
  140 +This program is distributed in the hope that it will be useful,
  141 +but WITHOUT ANY WARRANTY; without even the implied warranty of
  142 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  143 +GNU Affero General Public License for more details.
  144 +
  145 +You should have received a copy of the GNU Affero General Public License
  146 +along with this program. If not, see <http://www.gnu.org/licenses/>.
... ...
CHANGELOG.rdoc
... ... @@ -1,146 +0,0 @@
1   -= Revision history for Mezuro module Prezento
2   -
3   -Prezento is the web interface for Mezuro.
4   -
5   -== Unreleased
6   -
7   -* Remove Show button for hotspot metric configurations
8   -* Remove side menu
9   -* Refactor footer as a grid
10   -* Add latest repositories list to the homepage
11   -* Add latest configurations list to the homepage
12   -* Move tutorials to mezuro.github.io
13   -* Pluralize navigation menu links
14   -* Add missing translation for CompoundMetric
15   -* Make Compound Metric Config. metric list not include Hotspot metrics
16   -* Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view
17   -* Show the notify push url for the repository's owner (Gitlab only)
18   -* Support for hiding repositories
19   -* Fix home latest content caching effectiveness
20   -* Update travis script
21   -* Support for ruby 2.0.0-p598 (CentOS 7 default) and 2.1.5 (Debian 8 default)
22   -* Make Travis fail if minimun unit test coverage is below 100%
23   -
24   -== v0.11.3 - 01/04/2016
25   -
26   -Update KalibroClient error API which now uses Likeno errors
27   -
28   -== v0.11.2 - 09/03/2016
29   -
30   -Set development Ruby version to 2.3.0
31   -
32   -== v0.11.1 - 26/02/2016
33   -
34   -Fix default database.yml to avoid encoding conflicts in PostgreSQL
35   -
36   -== v0.11.0 - 22/02/2016
37   -
38   -Change Hotspot Metric Configuration to work in a more "native" fashion and refactor the Metric Configuration controllers
39   -Replace url helpers by the path ones. Those were left unchanged on the previous release
40   -Update docs
41   -Update kalibro_client
42   -Changes on memcached configuration
43   -Aggregation form fix
44   -
45   -== v0.10.1 - 12/01/2016
46   -
47   -Replace URL route helpers by path ones
48   -
49   -== v0.10.0 - 30/11/2015
50   -
51   -Add Gitlab hook notifications
52   -
53   -== v0.9.2 - 17/11/2015
54   -
55   -Put foreman gem in global scope on Gemfile
56   -
57   -== v0.9.1 - 17/11/2015
58   -
59   -Add better acceptance tests for Ruby MetricResults
60   -Fix deployment branch on capistrano
61   -Fix ProjectAttributes association with Project
62   -Fix parent module navigation when on root module
63   -Add foreman in order to export scripts
64   -Add postgresql database sample configuration
65   -
66   -== v0.9.0 - 28/10/2015
67   -
68   -Gem updates
69   -Update home page information
70   -Update humans.txt
71   -Fix test that use external connections
72   -Add after configuration hook to cucumber
73   -Use Ruby metrics for module navigation feature
74   -List hotspot metric configurations
75   -
76   -== v0.8.6 - 16/09/2015
77   -
78   -Fixes module tree ordering with FUNCTION granularity
79   -
80   -== v0.8.5 - 14/09/2015
81   -
82   -Update kalibro_client - fixes MetricResult retrieval
83   -
84   -== v0.8.4 - 11/09/2015
85   -
86   -Cascade user destroy to its attributes
87   -Use kalibro_client ranges
88   -
89   -== v0.8.3 - 03/09/2015
90   -
91   -Using railsstrap instead of twitter-bootstrap-rails
92   -
93   -== v0.8.2 - 03/09/2015
94   -
95   -Fixed hardcoded routes on JS files by using generated ones
96   -
97   -== v0.8.1 - 01/09/2015
98   -
99   -README and humans.txt updated
100   -Gem updates and dependancy review on Gemfile
101   -Home text updated
102   -Fixes bug for showing independent repositories
103   -FactoryGirl is no longer used by seeds
104   -kalibro_client major update to version 1
105   -Translations fixes
106   -
107   -== v0.8.0 - 05/08/2015
108   -
109   -Travis build reliability improved by disabling jQuery on acceptance tests
110   -Metric's list collapsed by default
111   -Seed script creates default user who owns the default KalibroConfigurationAttributes and ReadingGroupAttributes
112   -Updated Home to include new features and an apology message
113   -
114   -== v0.7.0 - 08/07/2015
115   -
116   -All repositories list with a link at the top menu
117   -Repositories may be created independent of a Project
118   -Missing translations fix
119   -
120   -== v0.6.0 - 26/06/2015
121   -
122   -General updates and bug fixes
123   -Specific repository branches
124   -Error handling for pages non existent or formats unsupported
125   -
126   -== v0.5.0 - 29/05/2015
127   -
128   -KalibroConfiguration hidding
129   -ReadingGroup hidding
130   -Translation fixes
131   -
132   -Prezento is the web interface for Mezuro.
133   -Copyright (C) 2015 The Mezuro Team
134   -
135   -This program is free software: you can redistribute it and/or modify
136   -it under the terms of the GNU Affero General Public License as published by
137   -the Free Software Foundation, either version 3 of the License, or
138   -(at your option) any later version.
139   -
140   -This program is distributed in the hope that it will be useful,
141   -but WITHOUT ANY WARRANTY; without even the implied warranty of
142   -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
143   -GNU Affero General Public License for more details.
144   -
145   -You should have received a copy of the GNU Affero General Public License
146   -along with this program. If not, see <http://www.gnu.org/licenses/>.
CONTRIBUTING.md 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +### Contributing
  2 +
  3 +Please, have a look the wiki pages about development workflow and code standards:
  4 +
  5 + - https://github.com/mezuro/mezuro/wiki/Development-workflow
  6 + - https://github.com/mezuro/mezuro/wiki/Standards
... ...
HACKING.md 0 → 100644
... ... @@ -0,0 +1,84 @@
  1 +## Development
  2 +
  3 +### System dependencies (Ubuntu 14.04 package names)
  4 + - build-essential
  5 + - postgresql-server-dev-9.3
  6 +
  7 +### Unpacked dependecies
  8 + - PhantomJS >= 1.9.2 (http://phantomjs.org/)
  9 + - *NOTE:* Just create sym links for that, for example:
  10 +
  11 + ```bash
  12 + cd /usr/local/share
  13 + wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
  14 + tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
  15 + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
  16 + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
  17 + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
  18 + ```
  19 +
  20 +### Ruby version
  21 +
  22 + `2.3.0`
  23 +
  24 + You can easily install it through the Ruby Version Manager - RVM. Instructions on how to do it can be found at http://rvm.io
  25 +
  26 + It is expected to work with:
  27 +
  28 + - 2.1.5 Debian 8
  29 + - 2.0.0 CentOS 7
  30 +
  31 + *NOTE:* If you are using the gnome-shell, or any derivate like terminator, you have to mark on your profile the option to use a "login bash".
  32 +
  33 +
  34 +### Environment setup
  35 +
  36 +- Gem installation:
  37 + - `bundle install`
  38 +
  39 +- Database creation:
  40 + - `rake db:create`
  41 +
  42 +- Database initialization (the seeds script will need the kalibro configurations service running):
  43 + - `rake db:setup`
  44 +
  45 +- Alternatively you can just run the setup script (it will also need the kalibro configurations service running):
  46 + - `bin/setup`
  47 +
  48 +### How to run the test suite
  49 +
  50 + rake
  51 +
  52 +### Services (job queues, cache servers, search engines, etc.)
  53 +
  54 +- _Kalibro Processor_ - [version 1.2.1](https://github.com/mezuro/kalibro_processor/archive/v1.2.1.zip).
  55 + You can find the latest changes directly on the [repository](https://github.com/mezuro/kalibro_processor).
  56 + By default Mezuro will expect it to be running on port 8082 at localhost.
  57 + In order to run it as expected, run on two different terminal instances:
  58 +
  59 + RAILS_ENV=local rails s -p 8082
  60 + RAILS_ENV=local rake jobs:work
  61 +
  62 +- _Kalibro Configurations_ - [version 2.1.0](https://github.com/mezuro/kalibro_configurations/archive/v2.1.0.zip).
  63 + You can find the latest changes directly on the [repository](https://github.com/mezuro/kalibro_configurations).
  64 + By default Mezuro will expect it to be running on port 8083 at localhost.
  65 + In order to run it as expected, run:
  66 +
  67 + rails s -p 8083
  68 +
  69 +### Deployment instructions
  70 +
  71 + Deployment is made through Capistrano (https://github.com/capistrano/capistrano)
  72 +
  73 + cap production deploy
  74 +
  75 + In order to do this, you must have the password.
  76 +
  77 + Otherwise, you can also modify the deployment file at <tt>config/deploy.rb</tt>.
  78 +
  79 +#### First Deploy
  80 +
  81 + 1. Make sure that the deployment file <tt>config/deploy.rb</tt> is correctly configured to the installation server;
  82 + 2. Also, make sure that the installation server already has rvm installed;
  83 + 3. <tt>cap deploy:setup</tt> will install the ruby correct ruby version, the gemset and all the directories tree;
  84 + 4. <tt>cap deploy:migrations</tt> deploys the code and run all the migrations
... ...
README.md 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +## README - Prezento
  2 +
  3 +[![Code Climate](https://codeclimate.com/github/mezuro/prezento/badges/gpa.svg)](https://codeclimate.com/github/mezuro/prezento) [![Build Status](https://travis-ci.org/mezuro/prezento.svg?branch=master)](https://travis-ci.org/mezuro/prezento) [![Test Coverage](https://codeclimate.com/github/mezuro/prezento/badges/coverage.svg)](https://codeclimate.com/github/mezuro/prezento/coverage)
  4 +
  5 +Prezento is the web interface for Mezuro.
  6 +
  7 +Mezuro project aims provide a platform to compare projects and metric techniques, teach how to use metrics through configurations, analyze code, avoid technical debts, and disseminate code metrics usage and understanding.
  8 +
  9 +To know how to contribute and how to setup a working environment, please refer to the [CONTRIBUTING](CONTRIBUTING.md) and [HACKING](HACKING.md) files, respectively.
  10 +
  11 +If you want the services running but do not wish to contribute (yet!), there's packages available for Debian Jessie and CentOS 7. For detailed information on how to install and use them, look [here](http://mezuro.github.io/installation/).
  12 +
  13 +### License
  14 +
  15 +Copyright (c) 2013-2016 The Author developers.
  16 +
  17 +This program is free software: you can redistribute it and/or modify
  18 +it under the terms of the GNU Affero General Public License as published by
  19 +the Free Software Foundation, either version 3 of the License, or
  20 +(at your option) any later version.
  21 +
  22 +This program is distributed in the hope that it will be useful,
  23 +but WITHOUT ANY WARRANTY; without even the implied warranty of
  24 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25 +GNU Affero General Public License for more details.
  26 +
  27 +You should have received a copy of the GNU Affero General Public License
  28 +along with this program. If not, see <http://www.gnu.org/licenses/>.
  29 +
  30 +### Authors
  31 +
  32 +Please see the humans.txt (at the `public` folder) file with the authors
  33 +
  34 +### Acknowledgments
  35 +
  36 +The authors have been supported by organizations:
  37 +
  38 +University of São Paulo (USP)
  39 +FLOSS Competence Center
  40 +http://ccsl.ime.usp.br
  41 +
  42 +Brazilian National Research Council (CNPQ)
  43 +http://www.cnpq.br/
  44 +
  45 +University of Brasilia (UnB)
  46 +Faculdade UnB Gama
  47 +https://fga.unb.br/
  48 +https://softwarepublico.gov.br/social/
... ...
README.rdoc
... ... @@ -1,133 +0,0 @@
1   -== README - Prezento
2   -
3   -{<img src="https://codeclimate.com/github/mezuro/prezento.png" />}[https://codeclimate.com/github/mezuro/prezento] {<img src="https://travis-ci.org/mezuro/prezento.png?branch=master" alt="Build Status" />}[https://travis-ci.org/mezuro/prezento] {<img src="https://codeclimate.com/github/mezuro/prezento/badges/coverage.svg" />}[https://codeclimate.com/github/mezuro/prezento]
4   -
5   -Prezento is the web interface for Mezuro.
6   -
7   -Mezuro project aims provide a platform to compare projects and metric techniques, teach how to use metrics through configurations, analyze code, avoid technical debts, and disseminate code metrics usage and understanding.
8   -
9   -=== Contributing
10   -
11   -Please, have a look the wiki pages about development workflow and code standards:
12   -
13   -* https://github.com/mezuro/mezuro/wiki/Development-workflow
14   -* https://github.com/mezuro/mezuro/wiki/Standards
15   -
16   -=== Development
17   -
18   -
19   -* System dependencies (Ubuntu 14.04 package names)
20   -
21   - * build-essential
22   -
23   - * curl
24   -
25   - * postgresql-server-dev-9.3
26   -
27   -* Unpacked dependecies
28   -
29   - * PhantomJS >= 1.9.2 (http://phantomjs.org/)
30   -
31   - *NOTE:* Just create sym links for that, for example:
32   -
33   - cd /usr/local/share
34   - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
35   - tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
36   - sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
37   - sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
38   - sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
39   -
40   -* Ruby version
41   -
42   - 2.3.0
43   -
44   - You can easily install it through the Ruby Version Manager - RVM. Instructions on how to do it can be found at http://rvm.io
45   -
46   - *NOTE:* If you are using the gnome-shell, or any derivate like terminator, you have to mark on your profile the option to use a "login bash".
47   -
48   -
49   -* Configuration
50   -
51   - bundle install
52   -
53   -* Database creation
54   -
55   - rake db:create
56   -
57   -* Database initialization (The seeds script will need the kalibro configurations service running)
58   -
59   - rake db:setup
60   -
61   -* Alternatively you can just run the setup script (Will also need the kalibro configurations service running)
62   -
63   - bin/setup
64   -
65   -* How to run the test suite
66   -
67   - rake
68   -
69   -* Services (job queues, cache servers, search engines, etc.)
70   -
71   - *Kalibro Processor* - version 1.1.6 (https://github.com/mezuro/kalibro_processor/archive/v1.1.6.tar.gz)
72   - You can find it at https://github.com/mezuro/kalibro_processor
73   - By default Mezuro will expect it to be running on port 8082 at localhost.
74   - In order to run it as expected, run on two different terminal instances:
75   -
76   - RAILS_ENV=local rails s -p 8082
77   - RAILS_ENV=local rake jobs:work
78   -
79   - *Kalibro Configurations* - version 1.2.5 (https://github.com/mezuro/kalibro_configurations/archive/v1.2.5.tar.gz)
80   - You can find it at https://github.com/mezuro/kalibro_configurations
81   - By default Mezuro will expect it to be running on port 8083 at localhost.
82   - In order to run it as expected, run on two different terminal instances: <tt>rails s -p 8083</tt>.
83   -
84   -* Deployment instructions
85   -
86   - Deployment is made through Capistrano (https://github.com/capistrano/capistrano)
87   -
88   - cap production deploy
89   -
90   - In order to do this, you must have the password.
91   -
92   - Otherwise, you can also modify the deployment file at <tt>config/deploy.rb</tt>.
93   -
94   -=== Install
95   -
96   -* First Deploy
97   -
98   - 1. Make sure that the deployment file <tt>config/deploy.rb</tt> is correctly configured to the installation server;
99   - 2. Also, make sure that the installation server already has rvm installed;
100   - 3. <tt>cap deploy:setup</tt> will install the ruby correct ruby version, the gemset and all the directories tree;
101   - 4. <tt>cap deploy:migrations</tt> deploys the code and run all the migrations
102   -
103   -=== License
104   -
105   -Copyright (c) 2013-2016 The Author developers.
106   -
107   -This program is free software: you can redistribute it and/or modify
108   -it under the terms of the GNU Affero General Public License as published by
109   -the Free Software Foundation, either version 3 of the License, or
110   -(at your option) any later version.
111   -
112   -This program is distributed in the hope that it will be useful,
113   -but WITHOUT ANY WARRANTY; without even the implied warranty of
114   -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
115   -GNU Affero General Public License for more details.
116   -
117   -You should have received a copy of the GNU Affero General Public License
118   -along with this program. If not, see <http://www.gnu.org/licenses/>.
119   -
120   -=== Authors
121   -
122   -Please see the humans.txt (at the `public` folder) file with the authors
123   -
124   -=== Acknowledgments
125   -
126   -The authors have been supported by organizations:
127   -
128   -University of São Paulo (USP)
129   -FLOSS Competence Center
130   -http://ccsl.ime.usp.br
131   -
132   -Brazilian National Research Council (CNPQ)
133   -http://www.cnpq.br/
bin/setup
... ... @@ -24,6 +24,7 @@ Dir.chdir APP_ROOT do
24 24 puts "\n== Copying sample files ==".green
25 25 unless File.exist?("config/database.yml")
26 26 run "cp config/database.yml.sample config/database.yml"
  27 + run "cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml"
27 28 end
28 29  
29 30 puts "\n== Preparing database ==".green
... ...