Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A75A0200B36 for ; Wed, 6 Jul 2016 09:47:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5F8D160A64; Wed, 6 Jul 2016 07:47:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C9AE4160A36 for ; Wed, 6 Jul 2016 09:47:26 +0200 (CEST) Received: (qmail 40204 invoked by uid 500); 6 Jul 2016 07:47:26 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 40193 invoked by uid 99); 6 Jul 2016 07:47:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 07:47:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5B9431A029B for ; Wed, 6 Jul 2016 07:47:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.574 X-Spam-Level: * X-Spam-Status: No, score=1.574 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id T4SZtK2iOGrl for ; Wed, 6 Jul 2016 07:47:22 +0000 (UTC) Received: from rovere.tirasa.net (rovere.tirasa.net [78.134.5.44]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 81D695F47B for ; Wed, 6 Jul 2016 07:47:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by rovere.tirasa.net (Postfix) with ESMTP id B0F6F300A7EE2 for ; Wed, 6 Jul 2016 09:47:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at tirasa.net Received: from rovere.tirasa.net ([127.0.0.1]) by localhost (rovere.tirasa.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FOUvocXYnFSY for ; Wed, 6 Jul 2016 09:47:28 +0200 (CEST) Received: from [192.168.0.180] (unknown [192.168.0.180]) by rovere.tirasa.net (Postfix) with ESMTPSA id 76D9730031DFD for ; Wed, 6 Jul 2016 09:47:28 +0200 (CEST) Subject: Re: [Syncope-808] How I send PR to upstream To: dev@syncope.apache.org References: <577A37F6.3070004@tirasa.net> From: andrea Message-ID: <577CB77E.1010609@tirasa.net> Date: Wed, 6 Jul 2016 09:47:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------070000010607050806080407" archived-at: Wed, 06 Jul 2016 07:47:27 -0000 --------------070000010607050806080407 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Nuwan, I commented almost all files of your PR and left you a feedback about the PR. You have, at least, to close the open points described in the previous email (especially code formatting, correct license headers and functionalities) and then we could take into account to accept pull request. See other comments inline. Il 06/07/2016 08:02, Nuwan Sameera ha scritto: > Hi all, > > "Suggestion: you can also open an issue for each point on your Git > repository NuwanSameera/syncope. It will be very useful for you and > for us to check developments." > > I don't enable create new issue option in NuwanSameera/syncope. There > is no option describe in [1] > [1] https://help.github.com/articles/creating-an-issue/ > I think that you are able to open issues on our private repo, maybe you have only to enable issues on you private repo. > I do following changes in netbeans plugin. All the source codes are > available in [2] > [2] > https://github.com/NuwanSameera/syncope/tree/master/netbeans-plugin > > Changes: > > "1. add dependencies in the root (father) pom.xml, versions of > dependencies must be maven properties so that you can change them easily. > Then you can import dependencies in the child project (your > project) without specifying versions. > > 2. Additional netbeans repository definition must be moved from child > pom.xml to father (root) pms.xml into the tag "repositories". " > I Resolved above issues. > > "4. Remove org.apache.syncope.netbeans.pl > ugin.entity.Test.java class! If > you need to make some test (about plugin, if needed) you must add test > classes under src/test directory. But Test class is not a test about > plugin, so you can remove it." > Remove Test.java class > > "5. Remove all @author javadoc." > Remove @author anotation. > > > Other issues work in progress. I resolve them soon. Please check and > give me feedback. > > I send pull request to apache/syncope [3] > [3] https://github.com/apache/syncope/pull/27 > Ok I have commented PR. Follow instructions provided. > > Thanks Regards, > Nuwan Sameera. > > > On Mon, Jul 4, 2016 at 4:14 PM, Nuwan Sameera > > wrote: > > Hi, > > Thank you very much. I am work in progress. > > Regards, > Nuwan Sameera > > > On Mon, Jul 4, 2016 at 3:18 AM, andrea > > wrote: > > > > Il 02/07/2016 11:29, Nuwan Sameera ha scritto: > > Hi all, > > I worked with [Syncope-808] as GSoC project. Now I am not > in GSoC program. > But I would like to contribute [Syncope-808]. In this time > I did some > implementation about netbeans plugin. > > All source codes are available in > [1] > https://github.com/NuwanSameera/syncope/tree/master/netbeans-plugin > > All the instructions to how install and run netbeans > plugin available in > * [GSoC 2016] [Syncope 808] *mail thread. > > > Hi Nuwan, > > I had a look to your project, I checked code and functionalities. > Here are some suggestions on how to proceed to PR: > > First of all you have to rebase your Apache Syncope fork with > current Apache Syncope master. I.e. you have to import all > commits done on apache:master to re-align your project to > Apache Syncope one. Like GitHub says you are 78 commits behind > apache:master. You can use Git rebase command, there is a lot > of documentation on the web. > There are some best paractises to follow while developing with > Apache Syncope. Especially in the pom.xml you have to: > > 1. add dependencies in the root (father) pom.xml, versions of > dependencies must be maven properties so that you can change > them easily. > Then you can import dependencies in the child project > (your project) without specifying versions. > > 2. Additional netbeans repository definition must be moved > from child pom.xml to father (root) pms.xml into the tag > "repositories". > > 3. While building the project I see: *[WARNING] The artifact > org.apache.commons:commons-io:jar:1.3.2 has been relocated to > commons-io:commons-io:jar:1.3.2 Please check if *this import > is really necessary and if you can solve this warning. 4. > Remove org.apache.syncope.netbeans.plugin.entity.Test.java > class! If you need to make some test (about plugin, if needed) > you must add test classes under src/test directory. But Test > class is not a test about plugin, so you can remove it. > > 5. Remove all @author javadoc. > > 6. Do you really need ianal-maven-plugin definition and > configuration? I think that is enough father pms.xml one. > > 7. remove* > > > > true > > true > > * > These two properties must be removed, because you project have > to build with checkstyle and rat checks enabled. > > 8. Plugin homepage http://syncope.apache.org/netbeans-plugin/ > does not exist. > > 9. You must do a bit of refactoring putting the project under > an higher level project IDE. I'll give you details further. > > 10. I successfullty installed and tried to use plugin, but > after I clicked on close button gave me an error and I had to > restart netbeans to set new url, username and password for > syncope endpoint. This is really disappointing. > > 11. Seems that sometimes Netbeans hangs and nothing happens. > You could add a progress bar in the footer of the browser > (like download or build) progress bar. > Can be this template loading non-blocking? > > 12. About report XSLTs: you do not have to let the user choose > the format, because XSLT is the reference format. You have to > show one XSLT file (tab or subtab like Source and History) for > each format of the report (CSV, FO, HTML), but format of the > file is always XSLT, could never exist sample xslt that is .html. > > 13. After closing plugin and reconnecting I see duplicated > templates in the left navigation toolbar of the plugin, and a > duplicate is created every time I reconnect why?? > > 14. If I click on test mail template another nothing happens. > > 15. How can I save remotely template? Just clicking on Save > button? I tried but I did not see changes on Syncope. > > Suggestion: you can also open an issue for each point on your > Git repository NuwanSameera/syncope. It will be very useful > for you and for us to check developments. > > > I need feedback about my project and I need to know how I > send PR to > upstream. > > > To send a PR, after a rebase with Apache Syncope master, you > just click on New pull request button in your project main page. > > Thanks and Regards. > > > HTH best regards, > Andrea > > > > > -- > Nuwan Sameera. > Undergraduate, > Electronic and Telecommunication Engineering, > University of Moratuwa. > > > > > -- > Nuwan Sameera. > Undergraduate, > Electronic and Telecommunication Engineering, > University of Moratuwa. Best regards, Andrea --------------070000010607050806080407--