Willian Gustavo Veiga | 1 May 2012 02:37
Picon

Re: Coding style checks

I would like to help in this task. How should I run phpcs to get these 
warnings?
Thank you very much.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Rouslan Placella | 1 May 2012 11:32
Gravatar

Re: Coding style checks

Hi Willian,

You don't need to run phpcs yourself, we have a continuous integration  
server that runs it every 10 minutes provided that there are new  
commits on master. Just select "checkstyle warnings" in the left menu  
on this page: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/

Bye,
Rouslan

Quoting Willian Gustavo Veiga <wiltave <at> gmail.com>:

> I would like to help in this task. How should I run phpcs to get these
> warnings?
> Thank you very much.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Madhura Jayaratne | 1 May 2012 17:13
Picon
Gravatar

Re: Coding style checks



On Tue, May 1, 2012 at 3:02 PM, Rouslan Placella <rouslan <at> placella.com> wrote:
Hi Willian,

You don't need to run phpcs yourself, we have a continuous integration
server that runs it every 10 minutes provided that there are new
commits on master. Just select "checkstyle warnings" in the left menu
on this page: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/

Bye,
Rouslan

If you are using Eclipse or NetBeans as the IDE, you can install CodeSniffer plugin and identify violations. Here are two tutorials on how to install and configure the plugins [1], [2]. But be aware that we use slightly modified version of the standards as mentioned in this mail thread.

I think this is a good way to ensure coding style compliance for GSoC projects. This would make it possible to identify violations while coding rather than waiting to see the code get merged and violations being reflected on the Jenkins server page.


--
Thanks and Regards,

Madhura Jayaratne


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Willian Gustavo Veiga | 1 May 2012 19:11
Picon

Re: Coding style checks

>  Hi Willian,

>  You don't need to run phpcs yourself, we have a continuous integration
>  server that runs it every 10 minutes provided that there are new
>  commits on master. Just select "checkstyle warnings" in the left menu
>  on this page:http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/

>  Bye,
>  Rouslan

Hi Rouslan,
But how should i test my changes in localhost before a pull request ?
Are there any way?
Thank you very much.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Marc Delisle | 1 May 2012 19:27
Gravatar

Re: Coding style checks

Le 2012-05-01 13:11, Willian Gustavo Veiga a écrit :
>>  Hi Willian,
> 
>>  You don't need to run phpcs yourself, we have a continuous integration
>>  server that runs it every 10 minutes provided that there are new
>>  commits on master. Just select "checkstyle warnings" in the left menu
>>  on this page:http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/
> 
>>  Bye,
>>  Rouslan
> 
> Hi Rouslan,
> But how should i test my changes in localhost before a pull request ?
> Are there any way?
> Thank you very much.

Willian,
I am not familiar with PHP_CodeSniffer but maybe this link [0] can help.
See also, in phpMyAdmin source, the PMAStandard directory.

[0] http://pear.php.net/manual/en/package.php.php-codesniffer.php

--

-- 
Marc Delisle
http://infomarc.info

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Michal Čihař | 2 May 2012 11:17
Favicon
Gravatar

Re: Coding style checks

Hi

Dne Tue, 01 May 2012 14:11:55 -0300
Willian Gustavo Veiga <wiltave <at> gmail.com> napsal(a):

> >  Hi Willian,
> 
> >  You don't need to run phpcs yourself, we have a continuous integration
> >  server that runs it every 10 minutes provided that there are new
> >  commits on master. Just select "checkstyle warnings" in the left menu
> >  on this page:http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/
> 
> >  Bye,
> >  Rouslan
> 
> Hi Rouslan,
> But how should i test my changes in localhost before a pull request ?
> Are there any way?

Sure there is :-). Once you install PHP CodeSniffer you can run it with
our customized standard in phpMyAdmin's directory:

phpcs --standard=PMAStandard file.php

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Michal Čihař | 2 May 2012 11:18
Favicon
Gravatar

Re: GSoC student repositories and branching

Hi

Dne Sat, 28 Apr 2012 15:49:19 +0530
Atul Pratap Singh <atulpratapsingh05 <at> gmail.com> napsal(a):

> Thanks for clearing up my doubt related to using separate branch. As my
> GSoC project includes refactoring, I would prefer to use the master branch
> only. I have updated my Git repo information on the wiki page [0]. Please
> update my demo server [1] to point to the new repository.

Done.

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Michal Čihař | 2 May 2012 11:29
Favicon
Gravatar

Re: Checkstyle warning for <at> subpackage

Hi

Dne Sun, 29 Apr 2012 03:19:01 +0200
"J.M." <me <at> mynetx.net> napsal(a):

> File comments for  <at> subpackage should not trigger as 'unknown tag/wrong
> indentation'.
> 
> Issue like this:
> http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/1346/checkstyleResult/HIGH/file.752771460/

Well it's how PEAR coding standards do it.

This is wrong:

 *  <at> package PhpMyAdmin
 *  <at> subpackage Example

This is correct:

 *  <at> package    PhpMyAdmin
 *  <at> subpackage Example

Fixed all occurrences in git.

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Michal Čihař | 2 May 2012 11:32
Favicon
Gravatar

Re: Automated Testing - GSoC 2012

Hi

Dne Sun, 29 Apr 2012 07:58:28 +0530
yasitha pandithawatta <yasitha4 <at> gmail.com> napsal(a):

> In the community bonding period I would like to sort out the issues I face
> when I install the Jenkins server. I refer to this tutorial [0] for
> installation. Once I installed the Jenkins server I couldn't restart
> the Apache server. So I re-installed Apache. Can you suggest any manual
> installing instruction or a tutorial that can I use and get familiar with
> Jenkins.

We have also own tutorial for setting up Jenkins (I've done it on
Debian, so it should not be that different):

http://wiki.phpmyadmin.net/pma/Jenkins_Setup

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Thilina Buddika Abeyrathna | 2 May 2012 15:09
Picon
Gravatar

Git repo update

Hi Marc,
I used following command to update my git repo in GitHub.

git remote add upstream git://github.com/thilinaa/phpmyadmin.git
git fetch upstream

But it did not work for my repo. Please give me some suggestions.


--
Regards.

Thilina Buddika Abeyrathna,
Department of Computer Engineering,
Faculty Of Engineering,
University of Peradeniya,
Sri Lanka.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

Gmane