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 908E8200B30 for ; Mon, 4 Jul 2016 12:44:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F17E160A65; Mon, 4 Jul 2016 10:44:45 +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 B148A160A55 for ; Mon, 4 Jul 2016 12:44:44 +0200 (CEST) Received: (qmail 29029 invoked by uid 500); 4 Jul 2016 10:44:44 -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 29017 invoked by uid 99); 4 Jul 2016 10:44:43 -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; Mon, 04 Jul 2016 10:44:43 +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 32C8E1A5C2B for ; Mon, 4 Jul 2016 10:44:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 h0UG-dLy4yHK for ; Mon, 4 Jul 2016 10:44:41 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id E595B5F23D for ; Mon, 4 Jul 2016 10:44:40 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id f189so189831473oig.3 for ; Mon, 04 Jul 2016 03:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=mmUESbFak2cF/AhsA4nd9nhdm5jNfHbxt//Beo921fs=; b=Xin14DE2WXGend8XQAu/WlT1vGLwUaCNDt4wWrveDCIfhGBQ3hJcd56hg6vqDPD9w2 CpRWinnaljmUjkZdOsVkT9tduKBjhuHMURl2m3Rxy4KYQL4oopHHMb+IB0nFBZt3IIhN gsueU/22tgTgY0LKiYEeLB43Hp7dxr+t1yDgL4ZY6pXCrYp6z5dACWQpBof7I/5eQnvl orYPZcKm6/JBOCKVuoF+yPkfYHpWg3Cv27NJLtjQ4xxtt23UbACiQFrHHqxzyA5L4tp8 y581Wp/cxP1hY6viKUFvD+Q9DTCV6pUpkuhrbjmDgsrzkbL0F9inSyNzQXQ0VsgkpUxf PgUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mmUESbFak2cF/AhsA4nd9nhdm5jNfHbxt//Beo921fs=; b=WMSUrNJdA06bEoIkkh8s37oAhadEjOdbHfBmLV8ASZBvkJxSwXlgs0rgoAu03jVYzf yedi22oagMp9QSkQ7zR6BW+REyLOfvVU4+wWrHI7lhldXrEVpdVVhZmCCnUK5BBUO7PX WS/T4MMgx9/K4Tw5UKYW+8j/3cXlTliJ+tN/Hg1pZOgYpEt2EXeiNXE97PUioTRNpDD8 gZFLIOqZwlCXZ9UEHH5Q2IoFsdFI00ThyrZxWapfpxCeF3nRng5g7VHo4VQCIZh2DSey XYfaNDk+lu1u2VUJ8LiEuDDDqWQT2ohXUILEuQbH+zAWAG96x3JFKlWXI5uCbn4q67bf ztQA== X-Gm-Message-State: ALyK8tI/AZ94NH7MRXLyA35qtD7E2NhQOC6wfW8sm6pfYdCh6EKkGoOM3Ehemd4jKLTPJM0583GvC5SiAbElTA== X-Received: by 10.157.58.52 with SMTP id j49mr6823975otc.118.1467629080054; Mon, 04 Jul 2016 03:44:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.162.70 with HTTP; Mon, 4 Jul 2016 03:44:00 -0700 (PDT) In-Reply-To: <577A37F6.3070004@tirasa.net> References: <577A37F6.3070004@tirasa.net> From: Nuwan Sameera Date: Mon, 4 Jul 2016 03:44:00 -0700 Message-ID: Subject: Re: [Syncope-808] How I send PR to upstream To: dev@syncope.apache.org Content-Type: multipart/alternative; boundary=001a11471a08fa90590536cd056d archived-at: Mon, 04 Jul 2016 10:44:45 -0000 --001a11471a08fa90590536cd056d Content-Type: text/plain; charset=UTF-8 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. --001a11471a08fa90590536cd056d--