ibm-swift / generator-swiftserver Goto Github PK
View Code? Open in Web Editor NEWWARNING: This repository is no longer maintained
License: Apache License 2.0
WARNING: This repository is no longer maintained
License: Apache License 2.0
Branch | Build failing π¨ |
---|---|
Dependency | rimraf |
Current Version | 2.6.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
rimraf is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
When attempting to change a property from 'required: true' -> 'required: false' it does not work
However doing the opposite works
Branch | Build failing π¨ |
---|---|
Dependency | nyc |
Current Version | 11.2.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As nyc is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 3 commits.
87281f9
chore(release): 11.2.1
3bd1527
fix: create temp directory when --no-clean flag is set #663 (#664)
a10d478
fix: apply exclude logic before remapping coverage (#667)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Because there is no models directory created by the app generator, the runtime code produces an error saying it is missing, instead of saying there are no model to load.
When compiling generated projects (for example a Scaffold Web project) and generating an XCode project, it fails to compile with:
! Apple Mach-O Linker (ld) Error
! "__TZFE10FoundationPs5Errorg20localizedDescriptionSS", referenced from:
! Linker command failed with exit code 1 (use -v to see invocation)
From #195
Unlike the runtime code (which only loads files with .json extenstion), the refresh generator attempts to process all files in the models directory. If there are any non-json files then an error message ("Failed to process model file ...") will be printed.
Branch | Build failing π¨ |
---|---|
Dependency | mocha |
Current Version | 4.0.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 6 commits.
eb8bf8d
Release v4.0.1
3b485ea
update CHANGELOG.md for v4.0.1 [ci skip]
96e5c1a
upgrade eslint to v4.8.0
d7cff37
Update growl to 1.10.3
0cdd921
remove preversion script; test on publish; closes #2999
f49c0ce
Fix changelog issues/pr URLs (#3047)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | mocha |
Current Version | 3.4.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As mocha is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
--forbid-only
and --forbid-pending
flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph)--napi-modules
flag (@jupp0r)The new version differs by 34 commits.
82d879f
Release v3.5.0
bf687ce
update mocha.js for v3.5.0
ec73c9a
update date for release of v3.5.0 in CHANGELOG [ci skip]
1ba2cfc
update CHANGELOG.md for v3.5.0 [ci skip]
065e14e
remove custom install script from travis (no longer needed)
4e87046
update karma-sauce-launcher URL for npm@5
6886ccc
increase timeout for slow-grepping test
2408d90
Make dependencies use older version of readable-stream to work around incompatibilities introduced by 2.3.0 on June 19th
68a1466
Try not clearing the env for debug in the integration test and see if that fixes Node 0.10 on AppVeyor; if need be, some other fix/workaround can be applied to handle whatever was up with debug without causing this issue
958fbb4
Update new tests to work in browser per test hierarchy reorganization
1df7c94
Merge pull request #2704 from seppevs/increase_test_coverage_of_mocha_js
1f270cd
Stop timing out (#2889)
27c7496
upgrade to [email protected]; closes #2859 (#2860)
50fc47d
fix CI; closes #2867 (#2868)
1b1377c
Add test for ignoreLeaks and fix descriptions
There are 34 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Update our generated Package.swift
and generated Swift code to work with Swift 3.1.1.
We will skip Swift 3.1 as it has a crash bug that affects Kitura-WebSocket (which is used by SwiftMetrics and others).
The new generators don't generate anything in the app, model and property generators so all those currently fail.
The refresh generator now generates all the files which is currently not being tested.
Since the docker image has changes to use .build-docker
directory for the Swift project build within the docker image (so that it won't clash with .build
for the host build), we need to add .build-docker
to the following ignore files:
Branch | Build failing π¨ |
---|---|
Dependency | bluebird |
Current Version | 3.5.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
bluebird is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
Bugfixes:
The new version differs by 26 commits.
dcfa52b
Release v3.5.1
48c8591
Fixes #1404
3c93a91
Revert "Update default.html"
5155a7b
Merge pull request #1463 from gabegorelick/isError
3f7ccf4
Better error check
f8f4a01
Merge pull request #1462 from themez/patch-1
18891c9
Fix title style
b2b14c2
Update default.html
a61aa1c
tiny grammar change (#1457)
2c9f7a4
Update tap.md (#1438)
3a7fcbb
fixes markdow headers (#1437)
e889c0d
Correct a tiny tiny typo (#1431)
e03f12c
improve .all() docs (#1436)
4f90934
Updated links (#1420)
3d2e57f
Add Node.js 7+8 to Travis build matrix (#1412)
There are 26 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | standard |
Current Version | 10.0.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As standard is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 99 commits.
91e80a1
10.0.3
82a0d5c
changelog
d22676e
Merge pull request #963 from daper/patch-1
cfb84fe
Remove tilde to lock down eslint-config-standard-jsx version
4a6e0d0
Update dependecy of eslint-config-standard-jsx
ac9e09e
Merge pull request #961 from igorsantos07/patch-1
873bc9b
Adding valid example for no-unsafe-negation
f00b169
more feross/standard -> standard/standard
9770303
Merge pull request #954 from standard/security
8cc2285
Add a security policy
2fa8b0f
change more feross/standard -> standard/standard
e79a692
Merge branch 'devjin0617-translation-kr'
34490f7
Merge branch 'translation-kr' of https://github.com/devjin0617/standard into devjin0617-translation-kr
6d59566
Merge pull request #953 from standard/translations
3895bc6
move english readme/rules to docs/ folder
There are 99 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
It is not necessary to call this.option()
to use an option on the generator, since this only adds it to the help. Since this is an internal option for enabling tests and is not user-facing and therefor does not need to be added to the help.
We print out swift build command is complete
followed by Next steps
and Done running kitura generator
even when the swift compilation has failed. We shouldn't do this as the later information which we're printing out is useless if the swift build has failed.
Branch | Build failing π¨ |
---|---|
Dependency | swagger-parser |
Current Version | 3.4.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
swagger-parser is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 26 commits.
49c74ae
release v3.4.2
3968e67
removed unnecessary steps from the Travis CI build
50bce4d
changed the default values of Karma environment variables in Travis CI
12ac2b4
removed version number from the readme
bde8e8a
ESLint auto-fixes
263937e
cleaned up the bower.json file
48ecbdf
cleaned-up the .gitignore file
14b8b63
Switched to ESLint-Config-Modular
02c22c1
Removed old tooling that is no longer needed (JSCS, CodeClimate, Yeoman)
a6485e5
Removed Node 0.x from the Travis CI script and added Node 5, 6, 7, and 8
8f12a18
Merge branch 'master' of https://github.com/BigstickCarpet/swagger-parser
1e837cb
Merge pull request #71 from shankiesan/master
0877ede
added a notice about upcoming OpenAPI v3 support
7cbbce4
Updated the "real world" tests to include over 500 APIs from the APIs.guru directory
cd411fd
updated dependencies
There are 26 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Support:
cd yo
β yo yo swiftserver
? ==========================================================================
We're constantly looking for ways to make yo better!
May we anonymously report usage statistics to improve the tool over time?
More info: https://github.com/yeoman/insight & http://yeoman.io
========================================================================== Yes
? What's the name of your application? twit
? Enter the name of the directory to contain the project: twit
? Select type of project: Scaffold a starter
? Select capability presets for application pattern: Basic
? Select capabilities: Static web file serving, Embedded metrics dashboard, Docker files,
Bluemix cloud deployment
? Generate boilerplate for Bluemix services: Auto-scaling
create .swiftservergenerator-project
create .gitignore
create config.json
create spec.json
create .swift-version
create LICENSE
create Sources/Application/Application.swift
create public/.keep
create README.md
create Sources/Application/Routes/.keep
create Sources/twit/main.swift
create .dockerignore
create Dockerfile-tools
create Dockerfile
create cli-config.yml
create .cfignore
create manifest.yml
create .bluemix/pipeline.yml
create .bluemix/toolchain.yml
create .bluemix/deploy.json
create Package.swift
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Target: x86_64-apple-macosx10.9
Fetching https://github.com/IBM-Swift/Kitura.git
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetching https://github.com/IBM-Swift/CloudConfiguration.git
Fetching https://github.com/RuntimeTools/SwiftMetrics.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/CCurl.git
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetching https://github.com/IBM-Swift/Swift-cfenv.git
Fetching https://github.com/IBM-Swift/Configuration.git
Fetching https://github.com/RuntimeTools/omr-agentcore.git
Fetching https://github.com/IBM-Swift/Kitura-WebSocket.git
Fetching https://github.com/IBM-Swift/Kitura-Request.git
error: fatal error: Error raised at top level: Error Domain=NSCocoaErrorDomain Code=4 "βorg.eclipse.paho.mqtt.cβ couldnβt be moved to βsrcβ because either the former doesn't exist, or the folder containing the latter doesn't exist." UserInfo={NSSourceFilePathErrorKey=/Users/jpope/Documents/gitWorkspace/yo/twit/org.eclipse.paho.mqtt.c, NSUserStringVariant=(
Move
), NSDestinationFilePath=/Users/jpope/Documents/gitWorkspace/yo/twit/src/paho, NSFilePath=/Users/jpope/Documents/gitWorkspace/yo/twit/org.eclipse.paho.mqtt.c, NSUnderlyingError=0x7fd3d9dda430 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-802.0.53/src/swift/stdlib/public/core/ErrorType.swift, line 188
Current stack trace:
0 libswiftCore.dylib 0x000000010d34f130 swift_reportError + 129
1 libswiftCore.dylib 0x000000010d36ba40 _swift_stdlib_reportFatalErrorInFile + 100
2 libswiftCore.dylib 0x000000010d15cba0 (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 124
3 libswiftCore.dylib 0x000000010d313360 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 93
4 libswiftCore.dylib 0x000000010d15c250 specialized specialized StaticString.withUTF8Buffer ((UnsafeBufferPointer) -> A) -> A + 342
5 libswiftCore.dylib 0x000000010d315880 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 144
6 libswiftCore.dylib 0x000000010d15c760 specialized specialized String._withUnsafeBufferPointerToUTF8 ((UnsafeBufferPointer) throws -> A) throws -> A + 784
7 libswiftCore.dylib 0x000000010d2d6f40 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 185
8 libswiftCore.dylib 0x000000010d15c250 specialized specialized StaticString.withUTF8Buffer ((UnsafeBufferPointer) -> A) -> A + 342
9 libswiftCore.dylib 0x000000010d28d130 specialized _assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never + 144
10 libswiftCore.dylib 0x000000010d185130 swift_unexpectedError_merged + 289
12 swift 0x0000000104adcb40 llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRefllvm::GenericValue) + 655
13 swift 0x0000000104ae2700 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, char const* const*) + 707
14 swift 0x0000000103fdef30 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 3385
15 swift 0x0000000103fa7ff0 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 50738
16 swift 0x0000000103f5fa10 main + 9052
17 libdyld.dylib 0x00007fffe6a1e234 start + 1
0 swift 0x00000001071944f7 PrintStackTraceSignalHandler(void*) + 39
1 swift 0x00000001071939a6 SignalHandler(int) + 646
2 libsystem_platform.dylib 0x00007fffe6c2db3a _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 423437536
4 libswiftCore.dylib 0x000000010d185251 swift_unexpectedError_merged + 289
5 libswiftCore.dylib 0x000000010a0a59ee swift_unexpectedError_merged + 4243720382
6 swift 0x0000000104adcdcf llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRefllvm::GenericValue) + 655
7 swift 0x0000000104ae29c3 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, char const* const*) + 707
8 swift 0x0000000103fdfc69 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 3385
9 swift 0x0000000103fb4622 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 50738
10 swift 0x0000000103f61d6c main + 9052
11 libdyld.dylib 0x00007fffe6a1e235 start + 1
12 libdyld.dylib 0x0000000000000011 start + 425598429
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret /var/folders/_g/9f_q1hw907s4pdbctf_lj9n19x5s_w/T/TemporaryFile.0JoxQF.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -module-name main -lPackageDescription -- -fileno 6
Child process exited with signal
Error swiftserver
swift build command completed with errors
At the moment, the Swagger file is a purely generated file (we do expect to change this in the near future). While this is so, we want to accept all changes without marking them as conflicts during a generator to keep the user experience clean.
Currently the Model.store is hard-coded in Application.init() but it should be configurable.
The application manages the dependencies for available Store
implementations, so it is the appropriate place to instantiate the store. Use the config.json
to configure which store to use and extra parameters (eg connection information).
Since we are trying to keep main.swift
relatively small and free of business logic (since it cannot be imported by tests), the logic for creating the store needs to be in a separate module.
In the future we would like to make the different Store
implementations optional dependencies, which means either using reflection or code generation (until #canImport becomes a reality) to avoid having static imports of all recognised store implementations. Experiments with using reflection have proven awkward and code generation seems like the most viable option at the moment. With that in mind, it makes sense for the generator to create the store instantiation code in the Generated
module, even if it only contains static imports for now.
Related: IBM-Swift/GeneratedSwiftServer#6
Instead we should fail early with a message directing the user to the property generator for modifying existing models.
When generating the extension for watson conversation the version
is not being evaluated:
let version = "<%- service.version %>"
This was generated without configuring any services
When you run yo swiftserver --help
we are given multiple options, but a few of them don't work properly. We need to either fix them or remove them. For example, the -h
option does not do anything, it just starts the generator.
Review:
-h
--skip-cache
--skip-install
Related to #41
This update to GeneratedSwiftServer includes a breaking change to the Store
API and GeneratedSwiftServer-CloudantStore has not been updated yet. Therefore we should wait to update the generator until that has been implemented (see IBM-Swift/GeneratedSwiftServer-CloudantStore#4).
Branch | Build failing π¨ |
---|---|
Dependency | chalk |
Current Version | 2.1.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
chalk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
Chalk now comes with TypeScript type definitions built-in. f653b06
Note: It's incompatible with @types/chalk
if you're currently using that: #215
The new version differs by 7 commits.
d86db88
2.2.0
f0533f6
Bump dev dependencies
f653b06
Add TypeScript definitions (#207)
5e6d5fd
Add strip-ansi-stream
to related modules
7898eda
Update chalk-pipe description
37db75e
Add related package in the readme
a9f0c77
Use a Map
and some minor regex tweaks
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I have macOS Sierra, Xcode 8.3.2 and Swift 3.1.
I used yo swiftserver
to generate a new project and most of the packages were fetched.
But after this i got this error:
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetching https://github.com/IBM-Swift/CloudConfiguration.git
Fetching https://github.com/RuntimeTools/SwiftMetrics.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/CCurl.git
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetching https://github.com/IBM-Swift/Swift-cfenv.git
Fetching https://github.com/IBM-Swift/Configuration.git
Fetching https://github.com/RuntimeTools/omr-agentcore.git
Fetching https://github.com/IBM-Swift/Kitura-WebSocket.git
Fetching https://github.com/IBM-Swift/Kitura-Request.git
error: fatal error: Error raised at top level: Error Domain=NSCocoaErrorDomain Code=4 "βorg.eclipse.paho.mqtt.cβ couldnβt be moved to βsrcβ because either the former doesn't exist, or the folder containing the latter doesn't exist." UserInfo={NSSourceFilePathErrorKey=/Users/lucianboboc/Desktop/kituraApp/org.eclipse.paho.mqtt.c, NSUserStringVariant=(
Move
), NSDestinationFilePath=/Users/lucianboboc/Desktop/kituraApp/src/paho, NSFilePath=/Users/lucianboboc/Desktop/kituraApp/org.eclipse.paho.mqtt.c, NSUnderlyingError=0x7f853b4252c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-802.0.53/src/swift/stdlib/public/core/ErrorType.swift, line 188
Current stack trace:
0 libswiftCore.dylib 0x00000001133da130 swift_reportError + 129
1 libswiftCore.dylib 0x00000001133f6a40 _swift_stdlib_reportFatalErrorInFile + 100
2 libswiftCore.dylib 0x00000001131e7ba0 (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 124
3 libswiftCore.dylib 0x000000011339e360 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 93
4 libswiftCore.dylib 0x00000001131e7250 specialized specialized StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 342
5 libswiftCore.dylib 0x00000001133a0880 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 144
6 libswiftCore.dylib 0x00000001131e7760 specialized specialized String._withUnsafeBufferPointerToUTF8<A> ((UnsafeBufferPointer<UInt8>) throws -> A) throws -> A + 784
7 libswiftCore.dylib 0x0000000113361f40 partial apply for (_assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 185
8 libswiftCore.dylib 0x00000001131e7250 specialized specialized StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 342
9 libswiftCore.dylib 0x0000000113318130 specialized _assertionFailure(StaticString, String, file : StaticString, line : UInt, flags : UInt32) -> Never + 144
10 libswiftCore.dylib 0x0000000113210130 swift_unexpectedError_merged + 289
12 swift 0x000000010bfb9b40 llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) + 655
13 swift 0x000000010bfbf700 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const*) + 707
14 swift 0x000000010b4bbf30 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 3385
15 swift 0x000000010b484ff0 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 50738
16 swift 0x000000010b43ca10 main + 9052
17 libdyld.dylib 0x00007fffc82e8234 start + 1
0 swift 0x000000010e6714f7 PrintStackTraceSignalHandler(void*) + 39
1 swift 0x000000010e6709a6 SignalHandler(int) + 646
2 libsystem_platform.dylib 0x00007fffc84f7b3a _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 934315232
4 libswiftCore.dylib 0x0000000113210251 swift_unexpectedError_merged + 289
5 libswiftCore.dylib 0x0000000111554a81 swift_unexpectedError_merged + 4264839505
6 swift 0x000000010bfb9dcf llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) + 655
7 swift 0x000000010bfbf9c3 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const*) + 707
8 swift 0x000000010b4bcc69 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 3385
9 swift 0x000000010b491622 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 50738
10 swift 0x000000010b43ed6c main + 9052
11 libdyld.dylib 0x00007fffc82e8235 start + 1
12 libdyld.dylib 0x0000000000000011 start + 936476125
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret /var/folders/ds/tl29rv6n75n1x9lf__8yxtt40000gn/T/TemporaryFile.oHP2YK.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -module-name main -lPackageDescription -- -fileno 6
Child process exited with signal
Error swiftserver```
It would be better for the app generator to create a Swagger file with no paths or definitions defined, rather than produce no file at all.
And there is no PUT defined
Ever since Kitura 1.7
was released builds (tested on Swift 3.0.2) are failing with the following error:
error: The dependency graph could not be satisfied (https://github.com/IBM-Swift/Kitura-net.git)
generator-swiftserver version 0.2.0
Application definition:
config.js:
{
"appName": "test2",
"store": "memory",
"logger": "helium",
"port": 8090
}
models/todo.json:
{
"name": "todo",
"plural": "todos",
"classname": "Todo",
"properties": {
"id": {
"type": "number",
"id": true
},
"title": {
"type": "string",
"required": true
},
"completed": {
"type": "boolean",
"default": false
},
"order": {
"type": "number"
}
}
}
Steps to reproduce:
$ curl -XPOST -H 'Content-Type: application/json' -d '{"title":"hi"}' http://localhost:8090/api/todos
{
"title": "hi",
"id": 1,
"completed": false
}
$ curl -i -XPUT -H 'Content-Type: application/json' -d '{"completed": true}' http://localhost:8090/api/todo/1
HTTP/1.1 500 Server Error
Date: Tue, 29 Nov 2016 18:28:00 GMT
Content-Length: 0
Connection: Keep-Alive
Keep-Alive: timeout=60, max=99
$ curl http://localhost:8090/api/todo/1
curl: (52) Empty reply from server
Server crashed:
assertion failed: file /home/vagrant/reltest/repos/test2/Packages/GeneratedSwiftServer-0.2.0/Sources/Model.swift, line 178
Current stack trace:
0 libswiftCore.so 0x00007f217c19c300 swift_reportError + 117
1 libswiftCore.so 0x00007f217c1ad630 _swift_stdlib_reportFatalErrorInFile + 103
2 libswiftCore.so 0x00007f217c1539f3 <unavailable> + 0
3 libswiftCore.so 0x00007f217bfbd1c3 <unavailable> + 0
4 libswiftCore.so 0x00007f217c153960 <unavailable> + 0
5 libswiftCore.so 0x00007f217bfbd5ec <unavailable> + 0
6 libswiftCore.so 0x00007f217c0ffae9 <unavailable> + 0
7 libswiftCore.so 0x00007f217bfbd1c3 <unavailable> + 0
8 libswiftCore.so 0x00007f217bfbce40 _assertionFailed(StaticString, String, StaticString, UInt, flags : UInt32) -> Never + 144
9 test2 0x0000000000539810 <unavailable> + 0
...
All the existing console.log()
calls should be converted to use the debug
module (https://npmjs.com/package/debug) to allow for logging to be optional and filterable.
Also, log messages should be reviewed and applied more consistently across the code.
When "store": "cloudant" it crashes but not when "store": {"type": "cloudant"}
Branch | Build failing π¨ |
---|---|
Dependency | codecov |
Current Version | 2.2.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As codecov is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 6 commits.
7e39f19
v2.3.0
489ec49
Adding AppVeyor badge
8e31537
Coverage upload on Windows - fixes #61 (#62)
12a5193
Update package.json (#67)
2e40593
Update README.md
d2a021d
Update README.md
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | request |
Current Version | 2.81.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
request is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 27 commits.
0ab5c36
2.82.0
ffdf0d3
Updating deps.
4386836
Merge branch 'master' of github.com:request/request
1527407
Merge pull request #2703 from ryysud/add-nodejs-v8-to-travis
3afcbf8
Merge branch 'master' of github.com:request/request
479143d
Update of hawk and qs to latest version (#2751)
169be11
Add Node.js v8 to Travis CI
643c43a
Fixed some text in README.md (#2658)
e8fca51
chore(package): update aws-sign2 to version 0.7.0 (#2635)
e999203
Update README to simplify & update convenience methods (#2641)
6f286c8
lint fix, PR from pre-standard was merged with passing tests
a765593
Add convenience method for HTTP OPTIONS (#2541)
52d6945
Add promise support section to README (#2605)
b12a624
refactor(lint): replace eslint with standard (#2579)
29a0b17
Merge pull request #2598 from request/greenkeeper-codecov-2.0.2
There are 27 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
On macOS it defaults to node v7.1.0 when there should be a v4 and a v6
Branch | Build failing π¨ |
---|---|
Dependency | js-yaml |
Current Version | 3.9.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
js-yaml is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 3 commits.
82945a7
3.9.1 released
c7111db
Browser files rebuild
698f65b
Ensure stack is present for custom errors (fixes #351) (#360)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | nock |
Current Version | 9.0.16 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As nock is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 11 commits.
4772c15
9.0.17
0bf9eb4
835 support regex for both host and port with allowUnmocked
1c3f3e1
835-added-fail-test-case
e911688
docs(README) - fix info about mocking (#971)
978a3f0
Document replyWithFile using Content-Type header
1c6ae5b
fix readme typo
fe440ec
fix grammar
93341d3
Improve Match Logging
1612e36
Update README.md
97d1ea1
fix: printing recorded requests with output_objects resulted in output of [Object Object]
664ee63
chore(CHANGELOG): 9.0.16
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
This is what the error message looks like now:
? What's the name of your application? testapp
? Enter the name of the directory to contain the project: testapp
identical config.json
identical Package.swift
identical Sources/testapp/main.swift
identical .swiftservergenerator-project
identical definitions/testapp.yaml
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn swift ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
It would make more sense to define HTTP PUT to replace the data model with the data supplied and for HTTP PATCH to apply partial updates to the data model with the data supplied.
For example, consider an existing model:
{ "id": 1, "title": "Best practice", "author": "Jon" }
Then, PUT { "id": 1, "title": "Worst practice" }
would result in: { "id": 1, "title": "Worst practice" }
And, UPDATE { "id": 1, "title": "Worst practice" }
would result in: { "id": 1, "title": "Worst practice", "author": "Jon" }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.