-
Notifications
You must be signed in to change notification settings - Fork 737
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
Release 6.1.0 #584
Release 6.1.0 #584
Conversation
Filter input files
Update CocoaPods (1.6.0.rc.1), SwiftLint (0.30.1), Kanna (4.0.3) and StencilSwiftKit (2.7.2)
Hey 👋 I'm Eve, the friendly bot watching over SwiftGen 🤖 Thanks a lot for your contribution! ChangeLog check✅ All entries seems OK (end with period + 2 spaces, correct links) Release version check
Seems like everything is in order 👍 You did a good job here! 🤝 Generated by 🚫 Danger |
I'm curious if we actually need to update the branch or not. The only thing on |
So if you try to merge master into this branch (as GitHub suggests with this message) the merge commit will be empty then, right? Maybe the fact that we sometimes rebase and force-push commits means that there's a commit in master that has a corresponding identical commit in this branch, but with a different sha1, so GitHub don't realize they're the same? |
PS: me likey that Danger summary, very reassuring 👍 should we have another release of StencilSwiftKit (maybe with stencilproject/Stencil#268) before that next SwiftGen release or are we good to go on that front? |
I don't think that the merge button is blocked because of this, it's only a warning. Merging is blocked for now because there's no review yet. |
I don't think we need another StencilSwiftKit or Stencil release? Our codebase is only Swift 4.2, and nothing else has changed in Stencil. I did a SSK release a couple of days ago (2.7.2) |
private static let subParsers: [ColorsFileTypeParser.Type] = [ | ||
CLRFileParser.self, | ||
JSONFileParser.self, | ||
TextFileParser.self, |
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.
Now that I think about it, the .txt
format for colors looks a lot like a YAML dictionary… so maybe in a future release we could deprecate the .txt
extension and add a YAMLFileParser
for colors instead, and tell users to just rename their colors.txt
to colors.yml
when doing the migration? Not for this PR obviously, but just a thought for the future of SwiftGen and for slowly deprecating a legacy historical proprietary format we created in the early days of SwiftGen 😛 )
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.
Sure. We can even add the .txt
extension to the future yaml parser if we want. Or just drop it completely, no idea how many people ever used it?
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.
Yeah I think when times comes we should drop it completely. It was probably used by many in the early days of SwiftGen, so some legacy projects might still have kept using that format, but if all it takes is to change the extension of their file from .txt
to .yml
…
We'll have time to discuss that in the future when we decide to do a pass on things we want to deprecate or cleanup for future releases
Fixes #582.
Big PR because it targets
master
.Note: After this is merged, we need to merge it back into
develop
.