-
Notifications
You must be signed in to change notification settings - Fork 349
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
[Linter] Grey areas #44
Comments
Is this issue about listing the areas of improvement to the linter? If so heard are my 2 cents:
|
|
@irrationalfab yes, that's exactly what this issue is for. |
|
What a bad-ass. |
|
lol, you guys. |
When a spec is update that is part of the white list, errors are still shown in the build. https://travis-ci.org/CocoaPods/Specs/builds/15322032 |
@Keithbsmiley My idea is that the white list should go away sooner or later. To all: before converting the specs repo to the new format we should get rid of the hooks which are not supported anymore. |
I would love to clean up in that area. Not sure what you want to do though. Removing stuff I suppose |
Not sure about how to proceed with the git tags. Regarding the hooks we can port them to a pre-install hook if they are simple enough or remove them... thoughts? |
Looks like you'd have to validate tags with some form of a
There are still 68 specs using pre_install (not showing versions they are): CocoaLibSpotify CoconutKit CorePlot DTCoreText Facebook-iOS-SDK HockeySDK LevelDB-ObjC MapBox ReactiveCocoa SinglySDK Three20 ctemplate freexl geos icu4c lambert-objc libetpan libsasl2 spatialite The 81 specs using post_install: ARCHelper ARCMacro AppPaoPaoSDK CocoaLibSpotify CoconutKit DTCoreText Facebook-iOS-SDK GrannySmith HockeySDK LibComponentLogging-Core LibComponentLogging-Crashlytics LibComponentLogging-LogFile LibComponentLogging-NSLog LibComponentLogging-NSLogger LibComponentLogging-SystemLog LibComponentLogging-UserDefaults LibComponentLogging-pods LibComponentLogging-qlog MKStoreKit MagicalRecord MapBox QuickDialog SSToolkit SYCache TWReverseAuth TouchDB XingSDK unoffical-twitter-sdk |
CocoaLibSpotify has a full fledged python script as a pre_install hook. https://github.com/CocoaPods/Specs/blob/master/CocoaLibSpotify/2.4.2/CocoaLibSpotify.podspec |
@Keithbsmiley Lol. But that means that we can just copy and paste it in the prepare_command. |
Yea with stuff like this, https://github.com/CocoaPods/Specs/blob/master/CoconutKit/2.0.2/CoconutKit.podspec#L26-L55 I don't think we can remove them |
@Keithbsmiley the import of the header can be done with a shell script similarly to what I have done in the ChatCore podspec. Regarding the resource bundles the spec is working around CocoaPods which at the time didn't support them. It is likely that more modern version of the spec have the proper setup for the bundles and thus that part can just be ported. The problem is that this process is time consuming, especially if we want to lint/test the podspec. What about pinging the authors and asking them to fix the hooks, they could help us a lot. |
|
Still tracking these, just school slammed right now. Hoping I can get on it near the end of April. |
Two importants point to not forget:
|
As this issue was becoming a kitchen sink hard to track I've spitted it up in smaller ones:
Moved to #88
Moved to #89
Moved to #90
Moved to #91
Moved to CocoaPods/CocoaPods#2006
Moved to CocoaPods/CocoaPods#2007 |
I'm sure everyone can pipe in, but with the number of linter improvements I've made I'd like to see if we can make a bit more of a concrete list of areas that we should be checking for inside of it. This will also help keep things a bit more organized/documented on what we need to work on in this area.
cc/ @irrationalfab, @alloy, @Keithbsmiley, @orta
The text was updated successfully, but these errors were encountered: