[JBoss JIRA] (JBDS-4293) Merge requirements-*.json files into one
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBDS-4293?page=com.atlassian.jira.plugin.... ]
Denis Golovin updated JBDS-4293:
--------------------------------
Labels: New_and_noteworthy (was: )
> Merge requirements-*.json files into one
> ----------------------------------------
>
> Key: JBDS-4293
> URL: https://issues.jboss.org/browse/JBDS-4293
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: platform-installer
> Affects Versions: 10.4.0.AM1
> Reporter: Denis Golovin
> Assignee: Sudhir Verma
> Labels: New_and_noteworthy
> Fix For: 11.0.0.AM2
>
>
> Current implementation is looking for requirements-${process.platform}.json. There are three supported platforms and therefore three configuration file with duplicated information for some components.
> New implementation should merge configuration in one file and introduce platform attribute for component configuration's. Only components that has platform specific binaries are affected.
> For example for CDK configuration instead of having it defined in three files like this:
> {code:title=requirements-win32.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "filename": "minishift.exe",
> "sha256sum": "984318638a5c0d67ae4483bb508f6b90b99f885153dc525660bfff07fa883c94",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> {code:title=requirements-darwin.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "filename": "minishift",
> "sha256sum": "1e7472175e25d9d197149a3ed2192440a1f581f1884cf2b2c77d97674ee73e5e",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> {code:title=requirements-linux.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/linux-amd...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/weekly/25-Jan-2017.3.0_alpha....",
> "filename": "linux-amd64.tar.gz",
> "sha256sum": "76da07d4065eb387093af1316371a19c11982b4b9270eff14bca84db69e2bb32",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> It would be defined only once like this
> {code:title=requirements.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "vendor": "Red Hat, Inc."
> platform: {
> win32: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "filename": "minishift.exe",
> "sha256sum": "984318638a5c0d67ae4483bb508f6b90b99f885153dc525660bfff07fa883c94"
> },
> darwin: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "filename": "minishift",
> "sha256sum": "1e7472175e25d9d197149a3ed2192440a1f581f1884cf2b2c77d97674ee73e5e"
> },
> linux: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/linux-amd...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/weekly/25-Jan-2017.3.0_alpha....",
> "filename": "linux-amd64.tar.gz",
> "sha256sum": "76da07d4065eb387093af1316371a19c11982b4b9270eff14bca84db69e2bb32"
> }
> }
> }
> }
> {code}
> Note that requirements files used as is in tests, they also transformed during the build and final file is landed in 'transpiled' folder.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBDS-4293) Merge requirements-*.json files into one
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBDS-4293?page=com.atlassian.jira.plugin.... ]
Denis Golovin updated JBDS-4293:
--------------------------------
Fix Version/s: 11.0.0.AM2
(was: 10.4.0.AM1)
> Merge requirements-*.json files into one
> ----------------------------------------
>
> Key: JBDS-4293
> URL: https://issues.jboss.org/browse/JBDS-4293
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: platform-installer
> Affects Versions: 10.4.0.AM1
> Reporter: Denis Golovin
> Assignee: Sudhir Verma
> Fix For: 11.0.0.AM2
>
>
> Current implementation is looking for requirements-${process.platform}.json. There are three supported platforms and therefore three configuration file with duplicated information for some components.
> New implementation should merge configuration in one file and introduce platform attribute for component configuration's. Only components that has platform specific binaries are affected.
> For example for CDK configuration instead of having it defined in three files like this:
> {code:title=requirements-win32.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "filename": "minishift.exe",
> "sha256sum": "984318638a5c0d67ae4483bb508f6b90b99f885153dc525660bfff07fa883c94",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> {code:title=requirements-darwin.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "filename": "minishift",
> "sha256sum": "1e7472175e25d9d197149a3ed2192440a1f581f1884cf2b2c77d97674ee73e5e",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> {code:title=requirements-linux.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/linux-amd...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/weekly/25-Jan-2017.3.0_alpha....",
> "filename": "linux-amd64.tar.gz",
> "sha256sum": "76da07d4065eb387093af1316371a19c11982b4b9270eff14bca84db69e2bb32",
> "vendor": "Red Hat, Inc."
> }
> }
> {code}
> It would be defined only once like this
> {code:title=requirements.json|borderStyle=solid}
> {
> "cdk": {
> "name": "Red Hat Container Development Kit",
> "description": "Developer Tools for Creating, Testing, and Distributing Red Hat Container-Based Applications",
> "bundle": "yes",
> "version": "3.0.0.GA",
> "vendor": "Red Hat, Inc."
> platform: {
> win32: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/windows-a...",
> "filename": "minishift.exe",
> "sha256sum": "984318638a5c0d67ae4483bb508f6b90b99f885153dc525660bfff07fa883c94"
> },
> darwin: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/darwin-am...",
> "filename": "minishift",
> "sha256sum": "1e7472175e25d9d197149a3ed2192440a1f581f1884cf2b2c77d97674ee73e5e"
> },
> linux: {
> "dmUrl": "http://cdk-builds.usersys.redhat.com/builds/nightly/11-Feb-2017/linux-amd...",
> "url": "http://cdk-builds.usersys.redhat.com/builds/weekly/25-Jan-2017.3.0_alpha....",
> "filename": "linux-amd64.tar.gz",
> "sha256sum": "76da07d4065eb387093af1316371a19c11982b4b9270eff14bca84db69e2bb32"
> }
> }
> }
> }
> {code}
> Note that requirements files used as is in tests, they also transformed during the build and final file is landed in 'transpiled' folder.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBDS-4308) Run cygwin with hidden window using powershell start-process cmdlet
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBDS-4308?page=com.atlassian.jira.plugin.... ]
Denis Golovin updated JBDS-4308:
--------------------------------
Labels: New_and_noteworthy Sprint_Demo (was: Devex_Sprint_129_Demo New_and_noteworthy)
> Run cygwin with hidden window using powershell start-process cmdlet
> -------------------------------------------------------------------
>
> Key: JBDS-4308
> URL: https://issues.jboss.org/browse/JBDS-4308
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Enhancement
> Components: platform-installer
> Environment: Windows
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Labels: New_and_noteworthy, Sprint_Demo
> Fix For: 10.4.0.AM2
>
>
> This PR came out of simple example for running process with powershell with window hidden by this command
> {code}
> Start-Process -WindowStyle hidden -FilePath notepad.exe
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBDS-4308) Run cygwin with hidden window using powershell start-process cmdlet
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBDS-4308?page=com.atlassian.jira.plugin.... ]
Denis Golovin updated JBDS-4308:
--------------------------------
Description:
This PR came out of simple example for running process with powershell with window hidden by this command
{code}
Start-Process -WindowStyle hidden -FilePath notepad.exe
{code}
was:Start-Process -WindowStyle hidden -FilePath notepad.exe
> Run cygwin with hidden window using powershell start-process cmdlet
> -------------------------------------------------------------------
>
> Key: JBDS-4308
> URL: https://issues.jboss.org/browse/JBDS-4308
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Enhancement
> Components: platform-installer
> Environment: Windows
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Fix For: 10.4.0.AM2
>
>
> This PR came out of simple example for running process with powershell with window hidden by this command
> {code}
> Start-Process -WindowStyle hidden -FilePath notepad.exe
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years