-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SPM number10 #1487
SPM number10 #1487
Conversation
cc @lorixx |
There was a problem hiding this 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.
I see that job |
I checked and we have this failure:
|
Hey guys! Any updates? I'd love to get this out on the main repo as soon as possible. For reference, this branch has been working great for me in the latest xcode: https://github.com/3a4oT/IGListKit/tree/spmBrain We even took a snapshot and pushed it to prod with zero issues/crashes/reported problems. |
Hey! this is on my to-do list (upcoming, maybe next weekend :)), but I'm not sure how to deal with internal tests that are failing for Instagram. |
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
OK, so I rebased with the current master! Seems like at least locally I still can build it as a swift package which is good. ~3 months later I see that the current master:
From the error description
Any answer is good for me, I just need to know whether I should continue to invest time and try to make upstream or just create a hard fork for my own needs?=) Thanks for the awesome framework :) |
any updates on SPM support? Its still broken for me. |
Summary: ## Changes in this pull request A better version of Instagram#1465 =) - SPM support with script-based generations. - added macOS Catalyst support ### Generate SPM layout 1. From **project's root** run: `bash scripts/generate_spm_sources_layout.sh` 2. Commit Changes Repeat those steps each time you delete/add the project's files. **Make sure** to have this CI step which will check that `generate_spm_sources_layout.sh` is not broken. Issue fixed: Instagram#1368 Instagram#1406 ### 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](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: Instagram#1487 Reviewed By: candance Differential Revision: D25562739 Pulled By: lorixx fbshipit-source-id: eb4f9e82e6b4842aae71585e0c1377c13cf21196
Thanks for raising the issue @3a4oT:
Please keep the feedback and suggestions coming! |
Awesome @3a4oT ! Looks like all the Unit Tests + Build are done successfully! Do you mind rebase withe the master branch instead? It already includes some of the changes: e.g. Github Action. Can you create a separate PR for fixing the CI? Thanks a lot! |
This is the most heroic PR the community got recently! Thanks Petro! @3a4oT |
added Carthage job for Xcframework and legacy Lipo
@lorixx I rebased on master(please double-check since there was a mess with commits and I completely forgot what I did half a year ago :)).
Does it all make sense for you? |
Thanks @3a4oT ! It all makes sense to me, I will trigger the internal build and ensure the latest didn't break internally as well then we can land the change. Finger cross! The only thing I would ask your help in the gigantic PR change, is to add comment in the change that you believe worth mentioning: e.g. Pod file change, special handling by changing the bitcode enabled or any workaround that applies to the swift package manager layout. I might ask question inline the PR too. Again, thank you so much for your hard work here! |
@lorixx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it looks great! The next step is to address my inline comment and document anything tricky workaround you did in the development. At the same time, I will work on the internal build to ensure the build works. Thanks Petro!
|
||
# 2. Commit Changes | ||
|
||
# Repeate those steps each time you delete/add project's files. **Make sure** to have this CI step which will check that `generate_spm_sources_layout.sh` is not broken. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we dont have this step in CI yet, maybe add it to the Github action file or the ./setup.sh too? What do you think?
Summary: ## Changes in this pull request A better version of Instagram#1465 =) - SPM support with script-based generations. - added macOS Catalyst support ### Generate SPM layout 1. From **project's root** run: `bash scripts/generate_spm_sources_layout.sh` 2. Commit Changes Repeat those steps each time you delete/add the project's files. **Make sure** to have this CI step which will check that `generate_spm_sources_layout.sh` is not broken. Issue fixed: Instagram#1368 Instagram#1406 ### 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](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: Instagram#1487 Differential Revision: D30428297 Pulled By: lorixx fbshipit-source-id: 7fe5e99f2c6faf695a74588743a17fcafd02de44
Summary: Follow up with the PR: Instagram#1487 and to resolve some of the internal build failure. = Facebook = This is to follow up with the PR diff: D30428297 to fix the internal BUCK build error. Differential Revision: D30437725 fbshipit-source-id: 8eb6a48a614a857806ee0ab3152707e9b4fd147a
Summary: Follow up with the PR: Instagram#1487 and to resolve some of the internal build failure. = Facebook = This is to follow up with the PR diff: D30428297 to fix the internal BUCK build error. Differential Revision: D30437725 fbshipit-source-id: 8eb6a48a614a857806ee0ab3152707e9b4fd147a
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
@3a4oT has updated the pull request. You must reimport the pull request before landing. |
@lorixx I addressed your feedback, please let me know whether I need to do something else |
@lorixx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@3a4oT Just a quick update, we are still doing the internal review, I made some changes and the internal builds are passing fine. Will keep you posted, thanks! |
Thanks for the update |
Congrats @3a4oT 🎉🎉🎉! Finally merged the change, SPM support should be now available! Btw, do you have idea why https://github.com/Instagram/IGListKit/runs/3479832142?check_suite_focus=true still has unit tests build issue? Thanks! |
Summary: There were a lot of placeholder references to the PRs of committed features in the CHANGELOG. I went along each one and tagged each PR/commit that added the feature. Differential Revision: D45477107 fbshipit-source-id: 4d64366bbafc07de278aaacac7e8558b6483cae4
Changes in this pull request
A better version of #1465 =)
SPM support with script-based generations.
added macOS Catalyst support
Generate SPM layout
From project's root run:
bash scripts/generate_spm_sources_layout.sh
Commit Changes
Repeat those steps each time you delete/add the project's files. Make sure to have this CI step which will check that
generate_spm_sources_layout.sh
is not broken.Issue fixed: #1368 #1406
Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.