Skip to content
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

Deprecate IGListStackedSectionController #1355

Closed

Conversation

hanton
Copy link
Contributor

@hanton hanton commented Aug 12, 2019

Changes in this pull request

Issue fixed: #1099

Checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
  • I have reviewed the contributing guide

@hanton hanton changed the title Remove IGListStackedSectionController Deprecate IGListStackedSectionController Aug 12, 2019
@hanton hanton closed this Aug 15, 2019
@hanton hanton reopened this Aug 15, 2019
@hanton
Copy link
Contributor Author

hanton commented Aug 15, 2019

hi, in the CI tasks, the build Example task fails to use the updated IGListKit code. (IGListStackedSectionControllerInternal.h is already deleted by the PR)
image
I suggest run pod install or pod update before xcodebuild, so the Examples always use the latest IGListKit code :)

@lorixx
Copy link
Contributor

lorixx commented Sep 5, 2019

I was about to delete this guy too, glad that you are on it! thanks!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lorixx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Delete:
* IGListStackedSectionController.h
* IGListStackedSectionController.m
* IGListStackedSectionControllerInternal.h
* IGListReorderableStackSectionControllerTests.m
* IGListStackSectionControllerTests.m
* IGListTestAdapterStackedReorderingDataSource.h
* IGListTestAdapterStackedReorderingDataSource.m
* IGTestStackedDataSource.h
* IGTestStackedDataSource.m

Update:
* IGListKit.h
* IGListAdapterStoryboardTests.m
Delete:
* PrefixedLabelSectionController.swift
* ReorderableStackedViewController.swift
* StackedViewController.swift

Update:
* DemosViewController.swift
@hanton hanton force-pushed the remove_IGListStackedSectionController branch from bcc13a1 to b3be355 Compare September 5, 2019 07:05
@facebook-github-bot
Copy link
Contributor

@hanton has updated the pull request. Re-import the pull request

@hanton
Copy link
Contributor Author

hanton commented Sep 5, 2019

hi @lorixx , the PR is rebased to the latest master for resolving the merge conflict :)

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lorixx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@lorixx merged this pull request in b01010e.

@hanton hanton deleted the remove_IGListStackedSectionController branch September 17, 2019 01:10
Ziewvater pushed a commit to Ziewvater/IGListKit that referenced this pull request Oct 22, 2019
Summary:
Our [builds](https://travis-ci.org/Instagram/IGListKit) have been failing since `IGListStackedSectionController` was removed in [D17200801](D17200801)/[1355](Instagram#1355). The error message in our Travis logs points to something related to `IGListStackedSectionController` causing the error:

```
X  error: /Users/travis/build/Instagram/IGListKit/Source/Internal/IGListStackedSectionControllerInternal.h: No such file or directory

** BUILD FAILED **

The following build commands failed:
	CpHeader /Users/travis/build/Instagram/IGListKit/Source/Internal/IGListStackedSectionControllerInternal.h /Users/travis/Library/Developer/Xcode/DerivedData/IGListKitExamples-cfbxdbnpimeeplcoaiqrlyrrqjxn/Build/Products/Debug-iphonesimulator/IGListKit/IGListKit.framework/PrivateHeaders/IGListStackedSectionControllerInternal.h
(1 failure)
```

Pretty sure the issue here is that the `xcodeproj` files were not rebuilt after deleting these files, which meant they were pointing to files that no longer existed, which caused the build to fail. I was able to fix this issue by running our `setup.sh` script, which regenerated the `xcodeproj` files.

Reviewed By: bdotdub

Differential Revision: D18064465

fbshipit-source-id: 3351c83255d7e4247efd0a00f7ced8372ac34548
facebook-github-bot pushed a commit that referenced this pull request Oct 23, 2019
Summary:
Pull Request resolved: #1376

Our [builds](https://travis-ci.org/Instagram/IGListKit) have been failing since `IGListStackedSectionController` was removed in [D17200801](D17200801)/[1355](#1355). The error message in our Travis logs points to something related to `IGListStackedSectionController` causing the error:

```
X  error: /Users/travis/build/Instagram/IGListKit/Source/Internal/IGListStackedSectionControllerInternal.h: No such file or directory

** BUILD FAILED **

The following build commands failed:
	CpHeader /Users/travis/build/Instagram/IGListKit/Source/Internal/IGListStackedSectionControllerInternal.h /Users/travis/Library/Developer/Xcode/DerivedData/IGListKitExamples-cfbxdbnpimeeplcoaiqrlyrrqjxn/Build/Products/Debug-iphonesimulator/IGListKit/IGListKit.framework/PrivateHeaders/IGListStackedSectionControllerInternal.h
(1 failure)
```

Pretty sure the issue here is that the `xcodeproj` files were not rebuilt after deleting these files, which meant they were pointing to files that no longer existed, which caused the build to fail. I was able to fix this issue by running our `setup.sh` script, which regenerated the `xcodeproj` files.

Reviewed By: bdotdub

Differential Revision: D18064465

fbshipit-source-id: d07586a99d4bbb9346bdda0752dbd613eb1b6d03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] Deprecate IGListStackedSectionController
3 participants