Commit Graph

41 Commits

Author SHA1 Message Date
GitHub
13fba45db8 Automated: Update Podfile.lock (#1221)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1221

Reviewed By: passy

Differential Revision: D21863090

Pulled By: priteshrnandgaonkar

fbshipit-source-id: c6b06a6dbc7039ef099462028f37a1761c6e071b
2020-06-03 11:41:13 -07:00
GitHub
fed7059d2c Automated: Update Podfile.lock (#1177)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1177

Reviewed By: passy

Differential Revision: D21642302

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7019861e07e0a467eb40cb5d1cf1e109466e38f9
2020-05-19 10:33:25 -07:00
GitHub
8320253eeb Automated: Update Podfile.lock (#1158)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1158

Reviewed By: priteshrnandgaonkar

Differential Revision: D21550463

Pulled By: passy

fbshipit-source-id: 190b52bf2657603f9b6a037df5942ca17de4c0a3
2020-05-14 04:42:20 -07:00
GitHub
9e8592d050 Automated: Update Podfile.lock (#1141)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1141

Reviewed By: passy

Differential Revision: D21440678

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 616c083237b23807d152db59a7a223f53bc45028
2020-05-07 05:07:15 -07:00
GitHub
994930c314 Automated: Update Podfile.lock (#1110)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
Pull Request resolved: https://github.com/facebook/flipper/pull/1110

Reviewed By: priteshrnandgaonkar

Differential Revision: D21399344

Pulled By: passy

fbshipit-source-id: ee3435d19593c93566737bbe16252a8d4863fffa
2020-05-05 03:00:02 -07:00
Pritesh Nandgaonkar
e15f6ccdc8 Commit Podfile.lock
Summary: This diff commits Podile.lock, once this diff gets landed I will add a github action to automatically raise a PR with the updated Podfile.lock

Reviewed By: cekkaewnumchai

Differential Revision: D21348940

fbshipit-source-id: e3bcdb8699442aa8d3092d9517c332eeb9c02981
2020-05-01 14:11:00 -07:00
Pritesh Nandgaonkar
90ad50f714 Back out "Refactor oss ios job to not use pod install"
Summary:
Original commit changeset: 41028c11da6c

I will use mitmproxy for offline support, but till then lets back out the diff and make our tests work for all cases

Reviewed By: passy

Differential Revision: D20514538

fbshipit-source-id: c081baba0a0c7189ae862a66b6116f26b1401177
2020-03-18 21:07:15 -07:00
Pritesh Nandgaonkar
0b8c2e27aa Update iOS deps
Summary:
This diff updates the podfile.lock and also updates all the dependencies in the lfs. Actually we don't need all the dependencies to be reuploaded in the lfs, but current script packs everythin in Pods folder and uploads it, I will upload the logic to look for the diff and only upload the changed dependencies.Also we can merge this logic in our release script. I will put this up in later diffs.

Right now the CK folks are stuck due to the release of CK dependency and their OSS job is failing and this should fix the failing oss-ios job on diff D19948738

Reviewed By: Andrey-Mishanin

Differential Revision: D20378076

fbshipit-source-id: 56ed996cd75fba77a15e7264f9e5c27b262f00d2
2020-03-11 06:35:48 -07:00
Pritesh Nandgaonkar
eca300d43f Refactor oss ios job to not use pod install
Summary:
This diff adds the ability to run iOS tests without doing pod install in sandcastle. For this, the repo will already have the dependencies archived and checked into the repo. For this I have already added the script, `recreate_offline_mirrors` which takes the first argument, which is the sample app's name, in our case it will be `Sample` and `SampleSwift`. There is one more script `prepare_pods` which untars the dependencies and copies it into the Pods folders.

Reason we are moving away from using `pod install` is that internet is unreliable in sandcastle and there have been many instances that the job fails due to flaky internet.

Reviewed By: passy

Differential Revision: D20136440

fbshipit-source-id: 41028c11da6c66b484f36c7d1090ac7ffd847ec2
2020-03-09 05:12:18 -07:00
John Knox
e1f4b73783 Delete Sample app Podfile.lock
Summary: It's not necessary for the sample app itself, and causes a lot of conflict trouble.

Reviewed By: passy

Differential Revision: D9971997

fbshipit-source-id: 99b822c7a317487d841b939bf99e0dedcc172d37
2018-09-20 11:13:34 -07:00
Oleksii Dykan
c0982ea1db Add stateless component info in Flipper
Summary: This diff updates layout plugin in Flipper to show the name of the Stateless component C function

Reviewed By: adamjernst

Differential Revision: D9907068

fbshipit-source-id: d10b43171383f11aca3c140bbb450db817576052
2018-09-20 07:27:42 -07:00
Pritesh Nandgaonkar
ba7b43a547 Rename SonarKitLayoutPlugin to FlipperKitLayoutPlugin
Summary: Renames SonarKitLayoutPlugin to FlipperKitLayoutPlugin

Reviewed By: passy

Differential Revision: D9949785

fbshipit-source-id: 8cfde4dfad3e34038d2f66f0ce4393db9d83ef60
2018-09-20 04:45:35 -07:00
Pritesh Nandgaonkar
da851bd7e6 Change modulename to FlipperKit
Summary: Change modulename to FlipperKit

Reviewed By: passy

Differential Revision: D9940793

fbshipit-source-id: ea3c6633c481e29fc192cea7465fe3a93cf28f87
2018-09-19 08:29:43 -07:00
Pritesh Nandgaonkar
fdc4f7a5c8 Rename iOS SonarConnection to FlipperConnection
Summary: Rename iOS SonarConnection to FlipperConnection

Reviewed By: jknoxville

Differential Revision: D9916509

fbshipit-source-id: 7253ab37f5ab28dc8063fb6b3765afd1c2aee645
2018-09-18 11:59:27 -07:00
Pritesh Nandgaonkar
f970e60edd Rename iOS SonarPlugin to FlipperPlugin
Summary: Rename iOS SonarPlugin to FlipperPlugin

Reviewed By: jknoxville

Differential Revision: D9915094

fbshipit-source-id: ea2ca60ab578aca8c8f028e3deea4a3b9a48a63b
2018-09-18 09:58:08 -07:00
Pritesh Nandgaonkar
a488e34514 Rename iOS SonarClient to FlipperClient
Summary: Renamed `SonarClient` to `FlipperClient`

Reviewed By: passy

Differential Revision: D9861749

fbshipit-source-id: 3374e4297e49ac198a235babc92deb9d2dddc268
2018-09-18 08:58:10 -07:00
John Knox
a480be90a2 Rename facebook::sonar namespace
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/271

Reviewed By: passy

Differential Revision: D9861393

Pulled By: jknoxville

fbshipit-source-id: d65f751c35028748915023f33f273d6ec45863c8
2018-09-18 07:27:28 -07:00
Pritesh Nandgaonkar
a0bb9e6fe5 Fix broken sample app
Summary:
This diff adds FlipperStateUpdateListener in public headers, as SonarClient.h depends on it and the sample app depends on SonarClient.h.

This diff fixes the compilation error for Sample and SwiftSample

Ideally travis should have caught it. Fix for travis is coming.

Reviewed By: jknoxville

Differential Revision: D9462177

fbshipit-source-id: e3e0ec90f9083294d4a131989ec0eaee02b52791
2018-08-22 12:57:33 -07:00
Pritesh Nandgaonkar
be4b45c703 Update Sample apps to refer local podspecs (#244)
Summary:
Before this PR, travis used to build sample app which used a tagged release of SonarKit and Sonar. So travis used to never check the source code in master branch. This PR, instead uses local podspecs, which refers to the local source code, and thus travis would be testing the local source code.
Solves #237
Pull Request resolved: https://github.com/facebook/flipper/pull/244

Reviewed By: passy

Differential Revision: D9394955

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7109a8baaeb8ff7e14d19ebe1d7c3bcb7e4bebd2
2018-08-20 04:11:38 -07:00
Pascal Hartig
221cdda89d Manual fixup
fbshipit-source-id: 7b80c41ca68324f067b6c6796f59f14101a2c643
2018-07-31 14:20:42 -07:00
Pritesh Nandgaonkar
2155c7799f Publish 0.6.13 to private repo (#186)
Summary:
Publishes 0.6.13 to private repo
Solves  #181
Pull Request resolved: https://github.com/facebook/Sonar/pull/186

Reviewed By: passy

Differential Revision: D8991760

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 3081cfd947d4bfea1defe75903cfa14cce442b19
2018-07-25 09:37:39 -07:00
Noah Gilmore
8177675465 Initial support for using Sonar in Swift projects (#106)
Summary:
This PR adds support for using SonarKit clients in Swift apps. Fixes #13, fixes #87

1. Swift can't import Obj-C modules which have C++ headers. For this reason, we use SonarKit as an Obj-C++ wrapper around Sonar, which is written in C++. Due to search path misconfiguration, trying to import SonarKit into a Swift project would import `xplat/Sonar/SonarPlugin.h` instead of `iOS/SonarKit/SonarPlugin.h`, which caused `file not found` errors for C++ stdlib imports like #28 because new projects don't have their search paths set up correctly.
2. The network and layout plugins have C++ definitions (struct methods, classes) in some of their headers. This causes the compiler to get confused for Swift projects, because it only supports importing Objective-C files in umbrella headers, meaning that the `SonarKit` won't build.

1. I updated the `HEADER_SEARCH_PATHS` of SonarKit.podspec's build configuration to include `${PODS_ROOT}/Headers/Private/SonarKit/**` first, which alleviates the search path issue. The Obj-C `Sample` project seems to have worked around this by including a hardcoded `${PODS_ROOT}/SonarKit/**` search path in the pbxproj, which is why Sample works but new projects (like those referenced in #28) don't. I removed this since it's no longer necessary.
2. I added a `SampleSwift` app to demonstrate using Sonar with a Swift project.
3. Because the Podfiles for `Sample` and `SampleSwift` referenced podspecs using `:podspec` instead of a concrete version, Cocoapods wouldn't copy local header files (instead, it downloads them from the source). To enable local development of these sample apps using `:path`, I added a symlink to SonarKit.podspec in the root of the directory.
4. I changed SonarKit.podspec to use a tag-based `source`, since v0.0.1 pulls from the master branch of this repo.

The layout and network plugins still don't work with Swift - in order to fix this, we'll need to work on extracting the C++ out of their headers and writing Obj-C++ wrappers for them. I decided to push this off to a later PR since this one is quite large already.

This means that we need to be able to `import SonarKit` without importing all the network/layout plugin headers. In order to make this work, I made "SonarKit/Core" the spec's `default_subspecs`.

priteshrnandgaonkar, let me know if you have any thoughts on this implementation. You can verify that the SampleSwift app works by checking out this branch, `pod install`ing in the SampleSwift directory, and building it :)

![image](https://user-images.githubusercontent.com/1168853/41928625-ac195bd8-792a-11e8-82b8-65d6233a1fbb.png)
Pull Request resolved: https://github.com/facebook/Sonar/pull/106

Reviewed By: jknoxville

Differential Revision: D8890010

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 449305bcc5cbeb5787c23f51b1ecb80a5cbdad32
2018-07-20 04:33:52 -07:00
Pritesh Nandgaonkar
3e20ebe970 Move Sample app from iOS to xplat
Summary: Move Sample app from iOS to xplat

Reviewed By: jknoxville

Differential Revision: D8911835

fbshipit-source-id: 2fffff0db0d1193183ddb818438d1b72d8b63ccb
2018-07-19 04:31:00 -07:00
Pritesh Nandgaonkar
73c830fc1b Use tag in podspecs (#152)
Summary:
This diff uses `tag` instead of master branch and also updates the version number to the desktop sdk.
Pull Request resolved: https://github.com/facebook/Sonar/pull/152

Reviewed By: danielbuechele

Differential Revision: D8820016

Pulled By: priteshrnandgaonkar

fbshipit-source-id: ff2e554be55254b77c4e130b35b7299abbafa77d
2018-07-12 10:18:17 -07:00
Pritesh Nandgaonkar
f520486c2d Fix the xcodeproj of SonarKit (#96)
Summary:
This diff repaces the faulty sonarkit.xcodeproj with the current one. I think ship it synced the xcodeproj which was generated by buck.
Closes https://github.com/facebook/Sonar/pull/96

Reviewed By: emilsjolander

Differential Revision: D8538609

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 9eb049a9770c40b652f999ace9b82207e3a395e5
2018-06-21 06:47:28 -07:00
Daniel Buchele
f7d487dd76 fbshipit-source-id: 2cd940396d650342920b28835f6e672febe6b55c 2018-06-12 03:39:09 -07:00
Pritesh Nandgaonkar
4ae30bd786 remove duplicate code block 2018-06-11 14:28:33 +01:00
Pritesh Nandgaonkar
4a989cf8ef update glog podspec 2018-06-07 15:13:18 -04:00
Pritesh Nandgaonkar
03ffb3640a make everything build 2018-06-07 14:15:34 -04:00
Pritesh Nandgaonkar
541a4f1b98 update 2018-06-05 17:02:01 -04:00
Pritesh Nandgaonkar
43086d9c93 update 2018-06-05 15:16:03 -04:00
Pritesh Nandgaonkar
a4efaca1a6 added peertalksonar and specs folder 2018-06-04 23:48:37 -04:00
Pritesh Nandgaonkar
4cafc351b5 Removed EasyWSClient podspec file 2018-06-04 14:32:26 -04:00
Pritesh Nandgaonkar
f34c791167 Remove reference to easywsclient 2018-06-04 14:23:30 -04:00
Pritesh Nandgaonkar
ff2dd0b828 Removed references to local oss and libevent 2018-06-04 14:07:55 -04:00
Pritesh Nandgaonkar
b72572e922 It builds 2018-06-04 13:39:21 -04:00
Pritesh Nandgaonkar
04b1ea9915 update 2018-06-01 16:32:41 +01:00
Pritesh Nandgaonkar
9a6f612923 update 2018-06-01 15:52:10 +01:00
Pritesh Nandgaonkar
ef40c5f754 update 2018-06-01 15:51:53 +01:00
Pritesh Nandgaonkar
674eeddd62 update 2018-06-01 15:51:39 +01:00
Daniel Büchele
fbbf8cf16b Initial commit 🎉
fbshipit-source-id: b6fc29740c6875d2e78953b8a7123890a67930f2
Co-authored-by: Sebastian McKenzie <sebmck@fb.com>
Co-authored-by: John Knox <jknox@fb.com>
Co-authored-by: Emil Sjölander <emilsj@fb.com>
Co-authored-by: Pritesh Nandgaonkar <prit91@fb.com>
2018-06-01 11:03:58 +01:00