-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Rome incorrectly assumes supported platform #135
Comments
Similarly running |
Thanks for opening an issue. The current behavior is intended (I don't mean it's right, I mean that I am aware that this can happen). The idea is that when listing you know what platform you're listing for. You also know what frameworks are required by each platform, so you can take action on rome's reports and ignore false positives like HockeySDK-iOS missing for Mac. I think I can Either way in the mean time you have to process the output of list (which can also print json) and skip the false positives. |
Thanks for the answer. The problem is that your example of piping I do like the idea of moving to yaml files. |
Yeah i like yaml too, but it's not something i can implement in a reasonable time to help you out. So basically you have 3 choices:
|
Step 1 #138 |
Yaml version looks like this respositoryMap:
- cat-framework: #look ma, 2 targets
- name: AwesomeCats # target 1
type: dynamic # can omit this key, default is dynamic
- name: StaticKitties # target 2
type: static # if static, specify it
- HockeySDK-iOS:
- name: HockeySDK # no need to specify dynamic
- dog-framework:
- name: Doggos
type: static # if static, specify it
ignoreMap:
- GDCWebServer:
- name: GDCWebServer
type: dynamic
cache:
local: ~/Library/Caches/Rome
s3Bucket: animals-bucket |
Step 2 #141 |
Please try https://github.com/blender/Rome/releases/tag/v0.17.0.47 The binary is attached. Feedback is greatly appreciated. I will add integration tests in the following days. |
Works like a charm. Thank you! |
Maybe add documentation for |
@c0diq 🤦♂️ good point |
@c0diq Done. I hope you're using https://github.com/blender/Rome/releases/tag/v0.17.1.49 which is the stable release instead of the one I linked that is unfortunately bugged. |
Enhancement Suggestion / Bug Report
Rome assumes a platform is missing for projects that can only build certain platform. In the Rome documentation, HockeySDK-iOS is used as an example in the RepositoryMap to tell Rome that the framework name generated is not the same as the project name. However if one is also to depend on HockeySDK-Mac which generates the same framework name, Rome will incorrectly assume that it generates an iOS version.
Steps which explain the enhancement or reproduce the bug
HockeySDK-iOS = HockeySDK
HockeySDK-Mac = HockeySDK
$ rome list --missing --platform ios
HockeySDK-Mac 5.1.0 : -iOS
Current behavior
Rome incorrectly list a platform as missing for a project that doesn't build that platform.
Suggested behavior
Rome should automatically detect/know what platforms are supported for a given project.
Alternatively, allow to specify in the Romefile what platform are supported
Why would the enhancement be useful to most users
See above
Rome version:
0.15.0.43 - Romam uno die non fuisse conditam.
OS and version:
macOS 10.13.5
The text was updated successfully, but these errors were encountered: