-
Notifications
You must be signed in to change notification settings - Fork 14
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
GRMustache is incompatible with Swift 5 #28
Comments
kitura mustache dependency install fails. |
Yes, I'm afraid the upstream project we depend on needs some love :( Looks like it's not going to become compatible with Swift 5. |
Correct me if I am wrong. GRMustache is no longer being maintained and it is a dependency Kitura-MacheteTemplate. |
Yes that's right. We may have to deprecate Kitura-MustacheTemplateEngine |
do we need to deprecate it, it is being widely used. |
That's interesting to hear, I was not aware of widespread usage. Stencil seemed to be much more popular. Do you have any information about its usage? |
Confirmation that upstream support has ceased: https://twitter.com/groue/status/1082253076432605184 |
Good news! There may be a new upstream maintainer: groue/GRMustache.swift#57 (comment) If there is a new release from upstream supporting Swift 5 we would be glad to support it in |
I see that there've been no updates to the ObjC code in the upstream repo over the last four years. This means all of the new commits that we need to cherry-pick onto the IBM-Swift fork must be pure Swift. However, before cherry-picking the new commits I wanted to make sure the IBM-Swift fork builds with Swift 5 - its not. Working on that now. |
|
Updating to Swift 5.1 needs a backward-incompatible change to SwiftyJSON. |
groue/GRMustache.swift#66 hasn't received any comments - I'd suggest we raise an upstream PR with the work done so far (assuming it's in a good state) and let the PR process determine what else needs changing. |
@djones6 No chance this'd ever get resolved, right? 😞 |
I don't think it did, I'm afraid. IIRC there were two parts to this:
If we could confirm that the PR above is good + get that merged, it might at least get GRMustache functional again on Swift 5. I'm no longer actively working on Swift, but if someone could help review that PR (test that it works - we don't have any CI on that repo) then I imagine we could push it through. |
Wow. @djones6 Thanks for the quick reply! However we're really happy with the stack so far, so as soon as we get to a confident professional level, we'll sure as hell start contributing wherever we can. |
Our fork of GRMustache has diverged from Gwendal Roué's version over the years. It is still in Swift 3 format, running on Swift 4.x in 3.0 compatibility mode, which means it will not build at all on Swift 5.
GRMustache itself has not been updated in 18 months, though there are a number of PRs to address Swift 4 support and bug fixes.
We need to either deprecate
Kitura-MustacheTemplateEngine
, making it clear that it will not support Swift 5, or put some effort into updating our GRMustache fork to be Swift 4 compatible.The text was updated successfully, but these errors were encountered: