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 71FE7200D52 for ; Sat, 2 Dec 2017 13:01:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 704A9160BF8; Sat, 2 Dec 2017 12:01:01 +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 8EB45160BF7 for ; Sat, 2 Dec 2017 13:01:00 +0100 (CET) Received: (qmail 42312 invoked by uid 500); 2 Dec 2017 12:00:59 -0000 Mailing-List: contact dev-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list dev@royale.apache.org Received: (qmail 42300 invoked by uid 99); 2 Dec 2017 12:00:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Dec 2017 12:00:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AEA55C19DB for ; Sat, 2 Dec 2017 12:00:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.096 X-Spam-Level: ** X-Spam-Status: No, score=2.096 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.053, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id TvqE-DiBxRZL for ; Sat, 2 Dec 2017 12:00:54 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5DE795F568 for ; Sat, 2 Dec 2017 12:00:53 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id c204so5815526pfc.13 for ; Sat, 02 Dec 2017 04:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gi0XsuVy07v5q/12lWCyqW8Nu0LPaUWdp/8mxZRHbRk=; b=igwcTnpepTJ2Q5XhUB8C0krNgHh1fkIQlqouDIJ5Yq5/JlXS9l1iO/qAZpLbRqZbWL LfUSFg1LhSar+OfUcn0Zj+MQ8jQhOPyaoAr8vIc6KK1AcNE7vR1IanqS0q2/+BuAOK3c Pb01e81NftYs8jNILEQ64M0oyFjw3ykd2g6VCEkFBU8ora8NwfpSUI+ditUtpudUeEZr OXB2NGtjwzJEBg/t8mk9tKy6yP1kBUNs/LRq4njThvnoYQ9Uh3sZbqFr9bi2txJ/cJNO K+tj/iwSyniBaAtO7hA/548Mg4j4DivNCXtEdA1vBAVF5KGPrziCLGavy529K7PPrPVP z5wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gi0XsuVy07v5q/12lWCyqW8Nu0LPaUWdp/8mxZRHbRk=; b=suvbnX4itlpWtDB9Wkd5FWrfgLE4g0cIhyiKxMEN8+PGardZUN0bzrNMI6tagcbUjd 91op1TBwB48BC6d94+50Kvf9ouxSKd69WbyQA0HKYtDKYlv4e/gIZtDnUQ8dzE+YvOBf 8Bt6wiGbWuvFbCbgEyD7qvl7V4zO+1Y6HcWpBkSmulUhESmCvBUK4QGhk2N4C/lidLG8 AVArOaRy6ZA2bcYFwi8alX7s9q4cLvXyLlWjbavMK8GQ0dW4CMyJyqDJyxkQcXToKhmE qtmpQp3Odgt0PY1hKr+t/pYMBtz04Cuy3wKRL9YApCdeQuJw8sILPagoGRpYLcCPUEHD 5AeA== X-Gm-Message-State: AJaThX6gcRdkIYbaYxJCQMFAirpazI4nSellUC6HLYJvx14l5H8CjrhL 7F/5y+gkp/EOdFBsazj6D8N45Soj7tkDUbfHSFo= X-Google-Smtp-Source: AGs4zMaUurpK/DdkSolul6GPcgu2KTVjuTkzH/NhI85m09cooh5Evtveg3o2smzjCtQa7xmEFfcnEtHolTumtAAHIzE= X-Received: by 10.99.191.1 with SMTP id v1mr8678672pgf.93.1512216045637; Sat, 02 Dec 2017 04:00:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Piotr Zarzycki Date: Sat, 02 Dec 2017 12:00:34 +0000 Message-ID: Subject: Re: Repos and Releases To: dev@royale.apache.org Content-Type: multipart/alternative; boundary="089e08286d003956c9055f5a3c2a" archived-at: Sat, 02 Dec 2017 12:01:01 -0000 --089e08286d003956c9055f5a3c2a Content-Type: text/plain; charset="UTF-8" Hi Alex, Comments inline. On Fri, Dec 1, 2017, 19:45 Alex Harui wrote: > Hi, > > The CI servers are reporting that the feature/rename branch is building > and passing tests. Theoretically, this means that there is a way to build > the compiler, typedefs and framework without any Adobe code (Flash > playerglobal.swc or AIR SDK), and without a Flex SDK. I think we need > some volunteers to try it to make sure there aren't places that still > require Flash/Flex/AIR. > > The goal of this effort was not only to prove independence from the Adobe > code, but also to make it easier for folks to get started with > contributing to Royale. In theory, you don't need any environment > variables any more for both the Ant and Maven builds. You should be able > to clone the repos and run Ant or Maven in each of the repos. > Thank you!!! There are still a few rough spots with Maven. I think I finally found out > why we have to do two Maven runs in the royale-compiler repo. There is > this issue [1] that the Maven folks say they won't fix that affects us > (and other users). We use our own plugins in building the compiler and > those plugins have to be built separately before the main Maven build. > > We could move the plugin code to a separate repo and do a quick and > separate release of the two plugin artifacts, but I am tempted to just > leave the Maven build as is and require the two Maven runs for the first > Royale release. In subsequent releases, if we don't change the code in > the plugins (and they probably won't change), folks won't need to run > Maven twice because the future builds will use the plugins from the first > Royale release. I think we can be "brave" and give those two plugins > 1.0.0 version numbers. > I'm for leaving as is that one and give as you sugested version 1.0.0. Also some parts of the Maven build (mostly the examples) still have a > dependency on Flash/AIR. I left that in for now because I think for most > folks, Maven will automatically bring down the Flash/AIR artifacts. > Otherwise, I think we have to set up profiles for building the > Flash/AIR-dependent artifacts, which I think is doable, I just don't know > if it is worth it. > I think it won't bring up automatically that dependencies in following case. If user download binary package, go to examples folder and try build some example by Maven with targets=SWF,JSRoyale. Only build of framework itself can initially download playerglobal. If I'm right ofcourse - even with that I don't see too big issue. Let's not spend on that time. The last thing to consider is what our source release packaging should > look like. In the past, we've done things like tuck a copy of > flex-typedefs into a subfolder in the flex-falcon package. In an earlier > thread, folks said they'd prefer a single release package instead of a > separate compiler package. However, I would rather not try to stuff the > compiler source into a subfolder of the asjs sources and get all of that > to build. Maven knows how to create source packages per repo. It might > be possible to create an aggregator project in yet another repo, but I'm > not sure I want to spend the time to figure that out. It might mean that > this aggregator repo could launch Maven in all of the other repos which > some folks have asked for. But I think that the fastest way to get a > release out is to have the Ant build aggregate the 3 repos just like if > you zipped the parent folder of royale-compiler, royale-typedefs and > royale-asjs. > Agree with that also. Let's not complicate. Ant agregate all three repos and Maven can do stuff as is. In case of maven theoretically it's enough if you have asjs repo cause the rest one will be downloaded. Then, I think the release process is: > 1) start the Maven release process on each repo > 2) take the tags generated by Maven release process and have Ant use those > tags to build the source package that we vote on. > 3) voters would unzip the source package and run Maven in each of the 3 > subfolders or run "ant all" from the royale-asjs folder to build all of > the sources. > Huge +1. Maven help us to simplify start of release. Can we have step by step described on our wiki if someone will perform as RM? Maven have that described maybe would be good move that one from confluence or at least have link in the instruction. > One issue with this kind of release packaging is that the IDE package is > in a subfolder. So, when you unzip the binary package, you don't point > your IDE to the binary package, but rather, to the royale-asjs folder > inside it. > For me it is something natural. Anyway, I know that a lot of things to think about. I'm going to poke at > the code a bit more to make sure things are working and look into merging > feature/rename into develop. > Let's merge it as fast as we can. I would also see in the develop Harbs changes with namespaces before release, after your merge. > Thoughts? > -Alex > > [1] https://issues.apache.org/jira/browse/MNG-1911 Thanks, Piotr > > --089e08286d003956c9055f5a3c2a--