-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big refactoring to start from Shaclex server
- Loading branch information
Showing
3,210 changed files
with
268,470 additions
and
14,068 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
# Scala CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/sample-config/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/openjdk:8-jdk | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/postgres:9.4 | ||
|
||
working_directory: ~/repo | ||
|
||
environment: | ||
# Customize the JVM maximum heap limit | ||
JVM_OPTS: -Xmx3200m | ||
TERM: dumb | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "build.sbt" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: cat /dev/null | sbt test:compile | ||
|
||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: v1-dependencies--{{ checksum "build.sbt" }} | ||
|
||
# run tests! | ||
- run: cat /dev/null | sbt test:test |
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,4 @@ | ||
-Xms512M | ||
-Xmx4096M | ||
-Xss2M | ||
-XX:MaxMetaspaceSize=1024M |
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,2 @@ | ||
style = defaultWithAlign | ||
maxColumn = 120 |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
language: scala | ||
scala: | ||
- 2.11.1 | ||
script: sbt test | ||
- 2.12.3 | ||
jdk: | ||
- oraclejdk8 |
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,27 @@ | ||
{ | ||
"description": "SHACL/ShEx implementation", | ||
"license": "other-open", | ||
"title": "RDFSHape: Online demo implementation of ShEx and SHACL", | ||
"version": "v0.0.70", | ||
"upload_type": "software", | ||
"publication_date": "2018-04-04", | ||
"creators": [ | ||
{ | ||
"affiliation": "University of Oviedo", | ||
"name": "Jose Emilio Labra Gayo" | ||
} | ||
], | ||
"access_right": "open", | ||
"related_identifiers": [ | ||
{ | ||
"scheme": "url", | ||
"identifier": "https://github.com/labra/shaclex/tree/v0.0.69", | ||
"relation": "isSupplementTo" | ||
}, | ||
{ | ||
"scheme": "doi", | ||
"identifier": "10.5281/zenodo.1212658", | ||
"relation": "isPartOf" | ||
} | ||
] | ||
} |
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,44 @@ | ||
# Guide for contributors | ||
|
||
This project follows a standard [fork and pull][fork-and-pull] model for accepting contributions via | ||
GitHub pull requests: | ||
|
||
0. [Pick (or report) an issue](#pick-or-report-an-issue) | ||
1. [Write code](#write-code) | ||
2. [Write tests](#write-tests) | ||
3. [Submit a pull request](#submit-a-pull-request) | ||
|
||
## Pick or report an issue | ||
|
||
We always welcome bug reports and feature requests—please don't feel like you need to have time to | ||
contribute a fix or implementation for your issue to be appreciated. | ||
|
||
## Write code | ||
|
||
We prefer functional programming for the code. | ||
|
||
* Code and comments should be formatted to a width no greater than 100 columns. | ||
* Files should not contain trailing spaces. | ||
* Imports should be sorted alphabetically. | ||
|
||
When in doubt, please run `sbt scalastyle` and let us know if you have any questions. | ||
|
||
## Write tests | ||
|
||
Shaclex uses [ScalaTest][scalatest] for testing. | ||
|
||
## Submit a pull request | ||
|
||
* Pull requests should be submitted from a separate branch (e.g. using | ||
`git checkout -b "username/fix-123"`). | ||
* In general we discourage force pushing to an active pull-request branch that other people are | ||
commenting on or contributing to, and suggest using `git merge master` during development. | ||
Once development is complete, use `git rebase master` and force push to [clean up the history][squash]. | ||
* The first line of a commit message should be no more than 72 characters long (to accommodate | ||
formatting in various environments). | ||
* Commit messages should general use the present tense, normal sentence capitalization, and no final | ||
punctuation. | ||
* If a pull request decreases code coverage more than by 2%, please file an issue to make sure that | ||
tests get added. | ||
|
||
This guide for contributors is inspired by [circe's guide](https://github.com/circe/circe/blob/master/CONTRIBUTING.md). |
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Jose Emilio Labra Gayo | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
web: target/universal/stage/bin/rdfshape -Dhttp.port=${PORT} | ||
web: target/universal/stage/bin/rdfshape --server -Dhttp.port=${PORT} |
Oops, something went wrong.