Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Support showing an overview of the integration #77

Closed
orta opened this issue Oct 28, 2015 · 13 comments
Closed

Support showing an overview of the integration #77

orta opened this issue Oct 28, 2015 · 13 comments

Comments

@orta
Copy link
Member

orta commented Oct 28, 2015

screen shot 2015-10-28 at 22 00 04

Shows each target, ideally taking the app icon from the Target's info.plist ( and having some known ones otherwise, I can provide these. )

For the simplest v1, lets just show a link to the website and the current version. Definitely things we can build on from there.

Blocked by #76

@orta orta added this to the Podfile Editing milestone Oct 28, 2015
@orta
Copy link
Member Author

orta commented Oct 28, 2015

the ... is meant to be and more, not to crop

@orta
Copy link
Member Author

orta commented Nov 28, 2015

This is now possible with #103 merged - see CPPodfileReflection

@orta
Copy link
Member Author

orta commented Nov 29, 2015

Alright, so, my shopping list:

  • List of CocoaPods Targets

Podfile wide info

  • Deployment target
  • uses frameworks?
  • sources
  • plugins

Targets

  • xcworkspace ( could be nil )
  • xcodeproj targets ( could be nil? )
  • CocoaPods' name of target
  • type of target (can be the string ID from xcodeproj)
  • a reference to the Info.plist for the target ( version, build number, bundle name, potentially icon )
  • pods associated with target

Target's Pods

  • Podfile declared type semver validator string, e.g. "~> 3.4.5"
  • Podfile.lock actual version e.g. "3.4.8"
  • Pod name
  • Custom Pod metadata ( :git => "blah" )

@alloy
Copy link
Member

alloy commented Nov 29, 2015

Do you need all of these at the same time? Or can there be subset queries and, if so, what would those be?

@alloy
Copy link
Member

alloy commented Nov 29, 2015

Actually, the Podfile stuff is fine in 1 query, but the xcodeproj ones would probably be nice to subquery, so if those are in another view, that would be nice.

@orta
Copy link
Member Author

orta commented Nov 29, 2015

This is aiming for 1 tableview style stuff, so it's probably not going to dig in much further here. A bunch of the xcodeproj introspection stuff is probably above the fold visuals, can do async but ideally not.

@orta
Copy link
Member Author

orta commented Nov 29, 2015

Otherwise things like Target's pods, are a pretty low priority, but I bet those are easy gets given they're in pod ipc podfile

@orta
Copy link
Member Author

orta commented Nov 29, 2015

depending on how it works out in implementation time, I can think about ways to fix with design if xcodeproj stuff is timely and we need to re-think, otherwise it's more or less everything upfront

@orta orta mentioned this issue Dec 6, 2015
4 tasks
@alloy
Copy link
Member

alloy commented Jan 1, 2016

So far I have this data (extracted from Eigen’s Podfile):

{
    "pod_targets" =     {
        "Pods-Artsy" =         (
            AFNetworking,
            AFOAuth1Client,
            AFNetworkActivityLogger,
            SDWebImage,
            ALPValidator,
            ARGenericTableViewController,
            CocoaLumberjack,
            FLKAutoLayout,
            FXBlurView,
            iRate,
            ISO8601DateFormatter,
            JLRoutes,
            JSBadgeView,
            JSDecoupledAppDelegate,
            Mantle,
            MMMarkdown,
            NPKeyboardLayoutGuide,
            ReactiveCocoa,
            UICKeyChainStore,
            ARTiledImageView,
            ARCollectionViewMasonryLayout,
            ORStackView,
            "UIView+BooleanAnimations",
            NAMapKit,
            "UIAlertView+Blocks",
            KSDeferred,
            MultiDelegate,
            ObjectiveSugar,
            InterAppCommunication,
            "Artsy-UIButtons",
            "Artsy+UIColors",
            "Artsy+UILabels",
            "Artsy+OSSUIFonts",
            FBSDKCoreKit,
            FBSDKLoginKit,
            Analytics,
            "ARAnalytics/Segmentio",
            "ARAnalytics/HockeyApp",
            "ARAnalytics/Adjust",
            "ARAnalytics/DSL",
            DHCShakeNotifier,
            ORKeyboardReactingApplication,
            VCRURLConnection,
            ARASCIISwizzle,
            DRKonamiCode
        );
        "Pods-Artsy Tests" =         (
            FBSnapshotTestCase,
            "Expecta+Snapshots",
            OHHTTPStubs,
            "XCTest+OHHTTPStubSuiteCleanUp",
            Specta,
            Expecta,
            OCMock
        );
    };
    projects =     {
        "/Users/eloy/Code/Artsy/eigen/Artsy.xcodeproj" =         {
            targets =             {
                Artsy =                 {
                    "info_plist" = "Artsy/App_Resources/Artsy-Info.plist";
                    "pod_targets" =                     (
                        "Pods-Artsy"
                    );
                    type = "com.apple.product-type.application";
                };
                "Artsy Tests" =                 {
                    "info_plist" = "Artsy_Tests/Supporting_files/Artsy_Tests-Info.plist";
                    "pod_targets" =                     (
                        "Pods-Artsy Tests"
                    );
                    type = "com.apple.product-type.bundle.unit-test";
                };
            };
        };
    };
}

@orta
Copy link
Member Author

orta commented Jan 1, 2016

ouch, that's good that!

@alloy
Copy link
Member

alloy commented Jan 1, 2016

:)

Is the only important thing missing atm the deployment target of each target?

@orta
Copy link
Member Author

orta commented Jan 1, 2016

Yeah, I think that's enough to show what we want.

@orta orta assigned orta and unassigned alloy Jan 3, 2016
@orta
Copy link
Member Author

orta commented Jan 18, 2016

This is in

@orta orta closed this as completed Jan 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants