You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by bi...@apache.org on 2018/05/20 00:10:53 UTC

[royale-asjs] branch issues/230-Add_License_Agreement_Env created (now 0cd6f9a)

This is an automated email from the ASF dual-hosted git repository.

bigosmallm pushed a change to branch issues/230-Add_License_Agreement_Env
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


      at 0cd6f9a  Remove unnecessary imports

This branch includes the following new commits:

     new 614753f  Allow acceptance of licenses by setting ACCEPT_ALL_ROYALE_LICENSES=true environment variable.
     new 0cd6f9a  Remove unnecessary imports

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
bigosmallm@apache.org.

Re: [royale-asjs] 01/02: Allow acceptance of licenses by setting ACCEPT_ALL_ROYALE_LICENSES=true environment variable.

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Om,

I'd have to check with Adobe people on bypassing acceptance of Adobe agreements.  Before I bother them, why is this bypass required?  We did already get approval to store that you have accepted once so future installs don't require license acceptance.  Is there a way to do something like that instead?

Thanks,
-Alex

On 5/19/18, 5:11 PM, "bigosmallm@apache.org" <bi...@apache.org> wrote:

    This is an automated email from the ASF dual-hosted git repository.
    
    bigosmallm pushed a commit to branch issues/230-Add_License_Agreement_Env
    in repository https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7C4291890b8b8b449e0e0808d5bde627c1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636623718625660132&sdata=l0bfzrXIAm%2B52%2B8MBhX4q7Ddgj8R%2BD%2FQ1ebponx1NNU%3D&reserved=0
    
    commit 614753f1d0046593402e0e2b126e73344f10e7df
    Author: Om Muppirala <bi...@apache.org>
    AuthorDate: Sat May 19 17:10:07 2018 -0700
    
        Allow acceptance of licenses by setting ACCEPT_ALL_ROYALE_LICENSES=true environment variable.
    ---
     npm/README.md                                | 12 ++++++++++--
     npm/js-swf/dependencies/AdobeAIR.js          |  8 +++++++-
     npm/js-swf/dependencies/FlashPlayerGlobal.js |  8 +++++++-
     npm/js-swf/dependencies/FlatUI.js            |  8 +++++++-
     4 files changed, 31 insertions(+), 5 deletions(-)
    
    diff --git a/npm/README.md b/npm/README.md
    index d637783..3f9fb00 100644
    --- a/npm/README.md
    +++ b/npm/README.md
    @@ -8,7 +8,9 @@ The **Apache Royale** NPM packages are distributed under the Apache-Royale NPM o
     The package: `@apache-royale/royale-js` supports only the JS/HTML output.  
     The package: `@apache-royale/royale-js-swf` supports both JS/HTML and SWF/AIR output.  
     
    -**For End Users**
    +##For End Users
    +
    +**Manual installs**
     
     To install these packages, users need to run the following commands:
     
    @@ -17,7 +19,13 @@ npm install @apache-royale/royale-js -g
     npm install @apache-royale/royale-js-swf -g
     ```
     
    -**For Release Managers:**
    +**Automated installs**
    +
    +Set the environment variable: `ACCEPT_ALL_ROYALE_LICENSES=true` to accept all the licenses prompted 
    +by the npm installer script.  This lets you use the installer in a automated environment without 
    +interactive prompts. 
    +
    +##For Release Managers
     
     To setup the publish scripts, first run:
     
    diff --git a/npm/js-swf/dependencies/AdobeAIR.js b/npm/js-swf/dependencies/AdobeAIR.js
    index 30c77da..4261212 100644
    --- a/npm/js-swf/dependencies/AdobeAIR.js
    +++ b/npm/js-swf/dependencies/AdobeAIR.js
    @@ -96,5 +96,11 @@ function extract()
     
     AdobeAIR.install = function()
     {
    -    promptForAdobeAIR();
    +    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
    +    {
    +        downloadAdobeAIR();
    +    }
    +    else {
    +        promptForAdobeAIR();
    +    }
     };
    \ No newline at end of file
    diff --git a/npm/js-swf/dependencies/FlashPlayerGlobal.js b/npm/js-swf/dependencies/FlashPlayerGlobal.js
    index ca2abd2..bfb6edd 100644
    --- a/npm/js-swf/dependencies/FlashPlayerGlobal.js
    +++ b/npm/js-swf/dependencies/FlashPlayerGlobal.js
    @@ -97,5 +97,11 @@ function handleInstallComplete(event)
     
     FlashPlayerGlobal.install = function()
     {
    -    FlashPlayerGlobal.promptForFlashPlayerGlobal();
    +    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
    +    {
    +        FlashPlayerGlobal.downloadFlashPlayerGlobal();
    +    }
    +    else {
    +        FlashPlayerGlobal.promptForFlashPlayerGlobal();
    +    }
     };
    \ No newline at end of file
    diff --git a/npm/js-swf/dependencies/FlatUI.js b/npm/js-swf/dependencies/FlatUI.js
    index ea4a88c..41cb89a 100644
    --- a/npm/js-swf/dependencies/FlatUI.js
    +++ b/npm/js-swf/dependencies/FlatUI.js
    @@ -127,5 +127,11 @@ function extract()
     
     FlatUI.install = function()
     {
    -    FlatUI.prompt();
    +    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
    +    {
    +        FlatUI.downloadFlatUI();
    +    }
    +    else {
    +        FlatUI.prompt();
    +    }
     };
    \ No newline at end of file
    
    -- 
    To stop receiving notification emails like this one, please contact
    bigosmallm@apache.org.
    


[royale-asjs] 01/02: Allow acceptance of licenses by setting ACCEPT_ALL_ROYALE_LICENSES=true environment variable.

Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bigosmallm pushed a commit to branch issues/230-Add_License_Agreement_Env
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 614753f1d0046593402e0e2b126e73344f10e7df
Author: Om Muppirala <bi...@apache.org>
AuthorDate: Sat May 19 17:10:07 2018 -0700

    Allow acceptance of licenses by setting ACCEPT_ALL_ROYALE_LICENSES=true environment variable.
---
 npm/README.md                                | 12 ++++++++++--
 npm/js-swf/dependencies/AdobeAIR.js          |  8 +++++++-
 npm/js-swf/dependencies/FlashPlayerGlobal.js |  8 +++++++-
 npm/js-swf/dependencies/FlatUI.js            |  8 +++++++-
 4 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/npm/README.md b/npm/README.md
index d637783..3f9fb00 100644
--- a/npm/README.md
+++ b/npm/README.md
@@ -8,7 +8,9 @@ The **Apache Royale** NPM packages are distributed under the Apache-Royale NPM o
 The package: `@apache-royale/royale-js` supports only the JS/HTML output.  
 The package: `@apache-royale/royale-js-swf` supports both JS/HTML and SWF/AIR output.  
 
-**For End Users**
+##For End Users
+
+**Manual installs**
 
 To install these packages, users need to run the following commands:
 
@@ -17,7 +19,13 @@ npm install @apache-royale/royale-js -g
 npm install @apache-royale/royale-js-swf -g
 ```
 
-**For Release Managers:**
+**Automated installs**
+
+Set the environment variable: `ACCEPT_ALL_ROYALE_LICENSES=true` to accept all the licenses prompted 
+by the npm installer script.  This lets you use the installer in a automated environment without 
+interactive prompts. 
+
+##For Release Managers
 
 To setup the publish scripts, first run:
 
diff --git a/npm/js-swf/dependencies/AdobeAIR.js b/npm/js-swf/dependencies/AdobeAIR.js
index 30c77da..4261212 100644
--- a/npm/js-swf/dependencies/AdobeAIR.js
+++ b/npm/js-swf/dependencies/AdobeAIR.js
@@ -96,5 +96,11 @@ function extract()
 
 AdobeAIR.install = function()
 {
-    promptForAdobeAIR();
+    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
+    {
+        downloadAdobeAIR();
+    }
+    else {
+        promptForAdobeAIR();
+    }
 };
\ No newline at end of file
diff --git a/npm/js-swf/dependencies/FlashPlayerGlobal.js b/npm/js-swf/dependencies/FlashPlayerGlobal.js
index ca2abd2..bfb6edd 100644
--- a/npm/js-swf/dependencies/FlashPlayerGlobal.js
+++ b/npm/js-swf/dependencies/FlashPlayerGlobal.js
@@ -97,5 +97,11 @@ function handleInstallComplete(event)
 
 FlashPlayerGlobal.install = function()
 {
-    FlashPlayerGlobal.promptForFlashPlayerGlobal();
+    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
+    {
+        FlashPlayerGlobal.downloadFlashPlayerGlobal();
+    }
+    else {
+        FlashPlayerGlobal.promptForFlashPlayerGlobal();
+    }
 };
\ No newline at end of file
diff --git a/npm/js-swf/dependencies/FlatUI.js b/npm/js-swf/dependencies/FlatUI.js
index ea4a88c..41cb89a 100644
--- a/npm/js-swf/dependencies/FlatUI.js
+++ b/npm/js-swf/dependencies/FlatUI.js
@@ -127,5 +127,11 @@ function extract()
 
 FlatUI.install = function()
 {
-    FlatUI.prompt();
+    if(process.env.ACCEPT_ALL_ROYALE_LICENSES === 'true')
+    {
+        FlatUI.downloadFlatUI();
+    }
+    else {
+        FlatUI.prompt();
+    }
 };
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
bigosmallm@apache.org.

[royale-asjs] 02/02: Remove unnecessary imports

Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bigosmallm pushed a commit to branch issues/230-Add_License_Agreement_Env
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 0cd6f9a16791408faa15b073cdae4555efb0f9ff
Author: Om Muppirala <bi...@apache.org>
AuthorDate: Sat May 19 17:10:38 2018 -0700

    Remove unnecessary imports
---
 npm/js-swf/package.json | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/npm/js-swf/package.json b/npm/js-swf/package.json
index d85b77b..c6eb651 100644
--- a/npm/js-swf/package.json
+++ b/npm/js-swf/package.json
@@ -3,8 +3,8 @@
   "version": "0.9.3",
   "description": "Apache Royale (formerly FlexJS)",
   "keywords": [
-	"royale",
-	"apache royale",
+    "royale",
+    "apache royale",
     "flex",
     "flexjs",
     "apache flexjs",
@@ -23,10 +23,8 @@
     "merge-dirs": "^0.2.1",
     "mkdirp": "^0.5.1",
     "prompt": "^0.2.14",
-    "replace": "^0.3.0",
     "request": "^2.67.0",
-    "unzip": "^0.1.11",
-    "wrench": "^1.5.8"
+    "unzip": "^0.1.11"
   },
   "scripts": {
     "postinstall": "node royale-asjs/npm/js-swf/dependencies/download_dependencies.js"

-- 
To stop receiving notification emails like this one, please contact
bigosmallm@apache.org.