Mostrando postagens com marcador GIT. Mostrar todas as postagens
Mostrando postagens com marcador GIT. Mostrar todas as postagens

segunda-feira, 23 de maio de 2011

GSoC 2011 is ON

Hi folks!

The bonding period has finished. During this time, I contacted my mentors, Jehan and Andreas, to discuss more about our great project. If you don't remember, in this GSoC, we will develop a new Plugin Architecture for phpPgAdmin.

Well, I started up my development environment, with all PostgreSQL versions. I will work with:
  • PostgreSQL 7.4 -> 9.1 beta
  • PHP 5.3
  • GNU/Linux Ubuntu 10.04
  • GIT 1.7
  • Apache 2
  • jEdit to code

I also created a script to install all the PostgreSQL, if for any reason, I have to create a new development environment. We have just 3 months to do this job, so, we cannot have problems ;)

My mentors teach me how to use the Selenium to make tests. I thought it amazing, perhaps, I had a different point of view about Selenium stuff. With a simple action, I can make regression tests, to check what I am doing will work with all PostgreSQL versions. It's very nice, don't you agree?

More things that they teach me were about how write good logs for my commits. I confess that using Subversion I didn't make comments in my commits, but it's very important. And, day by day, I am getting more knowledge using GIT, and GitHub. By the way, my phpPgAdmin fork can be found here.

I also learned a lot about IRC abbreviations, like IIRC, AFAIK, *g*, re, etc...

Well, see you on other post guys :-)

terça-feira, 10 de maio de 2011

GSoC 2011 - Bonding period

Hello people

The GSoC 2011 has begun. Until May 22 is the bonding period. In this time, the students should contact their organizations and mentors to talk about their projects.

This year I will have two mentors to help me accomplish the project, Mr. Jehan and Mr. Andreas. They are helping me a lot. Jehan teach me how use the GitHub, and integrate it with our IRC channel (irc.freenode.net #phppgadmin). Every time I push something to my phppgadmin fork, the GitHub send a message by IRC with informations about it. I liked a lot this feature.

According to my activities, the first task is to drop the current plugin architecture. It is deprecated, and the only ppa plugin has a lot of intrusive code inside phppgadmin. Jehan teach me how use branches with GIT, I have already created a branch and pushed it to my phppgadmin fork. When Jehan and Andreas validate my patch, I will merge it with my main line of work. And after, I will pull to main phppgadmin project.

Now I am working on the basic plugin structure. I hope to finish it on time, and start working on other subjects :-)

That's it for now people, see you soon...

sexta-feira, 28 de maio de 2010

Initial preparations - GSoC 2010 - English

During the Community Bonding Period, I talked a lot with my mentor, Jehan-Guillaume de Rorthais, and also with other developers of phpPgAdmin community, about my activities. In my first activity, I had to create a development environment, to use during the Google Summer of Code.

It is composed of:

  • Operation System Linux Ubuntu;
  • Apache;
  • PHP;
  • Postgresql (postgresql-7.4.26, postgresql-8.0.24, postgresql-8.1.20, postgresql-8.2.7, postgresql-8.3.9, postgresql-8.4.3, postgresql-9.0beta1);
  • Scripts to make tests;


I am also using the plugins of Firefox:

  • Firebug
  • Web Developer
  • Selenium

The reason I need to use all these versions of Postgresql is regression testing. In other words, what I developed using a versão of PostgreSQL, must work with other. Because exists a lot of DBA's that use the phpPgAdmin to manager their databases PostgreSQL.

I also created a script to recover my development environment. This is very important because it is only three months of work very well planned, where any unexpected can be a big problem.

During this period, I also learned to use a new system for version control, the GIT. I have experience with Subversion (SVN), and I have already worked with Mercurial and CVS. I have already had contact with GIT before, but nothing very professional. It is not very different from SVN, and my mentor helped me a lot during my adaptation with GIT. Certantly this is another positive point in my career.

The GIT commands that I will use can be found in the PostgreSQL Wiki, clicking here.

My projetct also can be found in the PostgreSQL Wiki, to access it click here.

Once again I thank my mentor, the PostgreSQL organization, the phpPgAdmin projetct and the Google for the wonderful opportunity.

Preparativos iniciais - GSOC 2010 - Versão português-br

Durante o período de adaptação (Community Bonding Period), conversei bastante com meu orientador, Jehan-Guillaume de Rorthais, e também com outros desenvolvedores da comunidade phpPgAdmin, sobre minhas atividades. Como primeira atividade, tive que criar um ambiente de desenvolvimento para usar no decorrer do Google Summer of Code.

Ele é composto por:

  • Sistema Operacional Linux Ubuntu;
  • Apache;
  • PHP;
  • Postgresql (postgresql-7.4.26, postgresql-8.0.24, postgresql-8.1.20, postgresql-8.2.7, postgresql-8.3.9, postgresql-8.4.3, postgresql-9.0beta1);
  • Scripts para a realização de testes;

Estou usando também os plugins do Firefox:

  • Firebug
  • Web Developer
  • Selenium

O motivo de eu precisar de usar todas essas versões do Postgresql foi a realização de testes de regressão. Ou seja, o que eu desenvolver usando uma versão do PostgreSQL, deverá funcionar nas demais. Pois existem diversos DBA's que utilizam o phpPgAdmin para a administrar suas bases de dados PostgreSQL.

Também criei um script para recuperação de meu ambiente de desenvolvimento. Isso é muito importante, pois são apenas três meses de trabalho muito bem planejados, onde qualquer imprevisto pode ser um grande problema.

Durante esse período, aprendi também a utilizar um novo sistema para controle de versão, o GIT. Tenho experiência na utilização do Subversion (SVN), e já trabalhei com o Mercurial, e o CVS. Já havia tido contato com o GIT antes, mas nada muito profissional, ele não é muito diferente do SVN, e meu orientador me ajudou bastante durante minha adaptação com o GIT. Com certeza isso é mais um ponto positivo em minha carreira.

Os comandos GIT que eu irei usar podem ser encontrados na Wiki do Postgresql clicando aqui.

Meu projeto também se encontra na Wiki do Postgresql, para acessá-lo clique aqui.

Mais uma vez agradeço meu orientador, a organização PostgreSQL, ao projeto phpPgAdmin e a Google pela maravilhosa oportunidade.