-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPII-4253: Created initial gpii stubs for non-supported OSs #1
Open
christopher-rtf
wants to merge
6
commits into
GPII:master
Choose a base branch
from
christopher-rtf:GPII-4253
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b92f28d
GPII-4253: Created initial gpii stubs for non-supported OSs
christopher-rtf f975c2b
GPII-4253: Added index.js to support dynamic loading in gpii-app
christopher-rtf 03e3157
GPII-4253: Corrected file description in header comments
christopher-rtf d68c03b
GPII-4253: Made 'npm test' execute a no-op for CI compatibility
christopher-rtf a3cc3b1
GPII-4253: Added README to explain the purpose of no-os stubs
christopher-rtf 036cee4
GPII-4253: Pulled in official BSD license text; updated copyright year
christopher-rtf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# GPII "no-os" stubs | ||
|
||
Contains stubs for platform-specific components of the GPII architecture. See [http://gpii.net/](http://gpii.net/) for | ||
overall details of the GPII project. After checkout using git, this project will require node.js and npm to be | ||
installed - please consult [Setting Up Your Development Environment](http://wiki.gpii.net/w/Setting_Up_Your_Development_Environment) | ||
for installation instructions. | ||
|
||
This module exists to support developers who are porting Morphic to new operating systems. When adding support for a new operating | ||
system, this "no-os" module can be used as the basis for that OS's new platform-specific module. | ||
|
||
## Building the "no-os" stubs | ||
|
||
This package depends on node 6.x (LTS). | ||
|
||
To build the no-os stubs for GPII, perform the following: | ||
|
||
git clone https://github.com/GPII/gpii-no-os.git | ||
cd gpii-no-os | ||
npm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* GPII "No OS" Personalization Framework Node.js Bootstrap | ||
* | ||
* Copyright 2019 Raising the Floor -- US Inc. All rights reserved. | ||
* Copyright 2012 OCAD University | ||
* | ||
* Licensed under the New BSD license. You may not use this file except in | ||
* compliance with this License. | ||
* | ||
* You may obtain a copy of the License at | ||
* https://github.com/GPII/universal/blob/master/LICENSE.txt | ||
* | ||
* The R&D leading to these results received funding from the | ||
* Department of Education - Grant H421A150005 (GPII-APCP). However, | ||
* these results do not necessarily represent the policy of the | ||
* Department of Education, and you should not assume endorsement by the | ||
* Federal Government. | ||
* | ||
* The research leading to these results has received funding from the European Union's | ||
* Seventh Framework Programme (FP7/2007-2013) | ||
* under grant agreement no. 289016. | ||
*/ | ||
|
||
"use strict"; | ||
|
||
var fluid = require("gpii-universal"), | ||
gpii = fluid.registerNamespace("gpii"); | ||
|
||
require("./index.js"); | ||
|
||
gpii.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* GPII Universal Personalization Framework GPII "no-os" Index | ||
* | ||
* Copyright 2019 Raising the Floor -- US Inc. All rights reserved. | ||
* Copyright 2014 Lucendo Development Ltd. | ||
* | ||
* Licensed under the New BSD license. You may not use this file except in | ||
* compliance with this License. | ||
* | ||
* You may obtain a copy of the License at | ||
* https://github.com/GPII/universal/blob/master/LICENSE.txt | ||
* | ||
* The R&D leading to these results received funding from the | ||
* Department of Education - Grant H421A150005 (GPII-APCP). However, | ||
* these results do not necessarily represent the policy of the | ||
* Department of Education, and you should not assume endorsement by the | ||
* Federal Government. | ||
* | ||
* The research leading to these results has received funding from the European Union's | ||
* Seventh Framework Programme (FP7/2007-2013) | ||
* under grant agreement no. 289016. | ||
*/ | ||
|
||
"use strict"; | ||
|
||
var fluid = require("gpii-universal"); | ||
|
||
module.exports = fluid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "gpii-no-os", | ||
"description": "Stub definitions suitable for booting up the GPII Morphic UI implemented in gpii-app without platform-specific support", | ||
"version": "0.3.0", | ||
"author": "Raising the Floor -- US Inc.", | ||
"bugs": { | ||
"url": "http://issues.gpii.net/browse/GPII" | ||
}, | ||
"homepage": "http://gpii.net/", | ||
"scripts": { | ||
"test": "exit 0" | ||
}, | ||
"dependencies": { | ||
"gpii-universal": "JavierJF/universal#GPII-3810" | ||
}, | ||
"os": [ | ||
"!win32" | ||
], | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"gpii" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/GPII/gpii-no-os.git" | ||
}, | ||
"main": "./gpii.js", | ||
"engines": { | ||
"node": ">=6.3.1" | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this branch rather than master or, even better, an npm artefact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, this is the same branch used by the Windows repository.
https://github.com/GPII/windows/blob/master/package.json
I can change it to any other repo/package/branch, as desired. To date, I have been testing specifically with the branch used by GPII/windows.