The importance of using versioning code is not news to anyone, but for Pentaho projects especially this task becomes a little more complicated, because unlike other types of projects, you need to merge the code that you write to the configuration and customization of the tool.
Is this presentation i talk about a method that work with Pentaho and Subversion.
1. {{
Versioning your Pentaho ProjectVersioning your Pentaho Project
with Subversionwith Subversion
Fernando Maia da MotaFernando Maia da Mota
@fernandommota@fernandommota
2. Fernando Maia da MotaFernando Maia da Mota
Undergraduate in Information Systems at CPCX/UFMS;Undergraduate in Information Systems at CPCX/UFMS;
Graduating in Applied Computing at FACOM/UFMS;Graduating in Applied Computing at FACOM/UFMS;
In IT4biz is Analyst / Architect of Business IntelligenceIn IT4biz is Analyst / Architect of Business Intelligence..
Who is Me?Who is Me?
3. The importance of using versioning code is not news to
anyone, but for Pentaho projects especially this task becomes
a little more complicated, because unlike other types of
projects, you need to merge the code that you write to the
configuration and customization of the tool.
MotivationMotivation
4. The most trivial way to version a Pentaho project is to put an
entire Pentaho installation directory under version control
with subversion, and this is bad, very bad! … Because you
will be versioning biserver all files, including those you will
never need to change.
The Easy WayThe Easy Way
5. If you version only the new files of your project and the
original files of Pentaho that you need overwrite?
The repository example of this talk
https://code.google.com/p/pentahoday2014-subversion
A Better WayA Better Way
6. For a complete tutorial with more examples, please access the
blog post about this method:
http://fernandomaia.eti.br/blog/2013/05/how-to-version-http://fernandomaia.eti.br/blog/2013/05/how-to-version-
pentaho-with-svn-subversion/pentaho-with-svn-subversion/
A Better WayA Better Way
7. Until now could not get the same convenience for versioning
a project of biserver as I have with SVN:
Possibility to checkout / clone on a folder that is not empty;
Possibility to checkout / clone only part of the repository, ie
a specific folder;
Possibility to overwrite files of the same name.
And The Git?And The Git?
Motivação (Difuculdade em gerir cógidos próprios com códigos da ferramenta)
Um projeto com Pentaho diferente de outros tipos de projetos, você precisa mesclar os códigos que você escreve com os de configuração e personalização da ferramenta, como arquivos XML de conexão a banco de dados e themes respectivamente
O Caminho Fácil (Versionar o projeto inteiro)
Você estará versionando todos os arquivos do biserver, inclusive aqueles que você nunca irá precisar alterar, e sem falar dos vários .jars que são em grande parte responsáveis por algo em torno de 500MB de arquivo
Apresentar exemplo na prática
Apresentar o post no blog
E por que não o Git?
é que até o presente momento não consegui obter a mesma praticidade para versionar um projeto de biserver como tenho com o SVN, são eles:
* Possibilidade de checkout/clone em um pasta que não esteja vazia;
* Possibilidade de checkout/clone de apenas parte do repositório, ou seja, de uma pasta em específico;
* Possibilidade de sobrescrever arquivos de mesmo nome.