Skip to content

Conversation

@paulb777
Copy link
Member

Last night's zip build cron job failed because of a bug exposed by #5329 updating the GoogleUtilities version locally. We were getting the podspec name from the podname without truncating subspec's from the podname.

Also fixed a warning from pod install if a subspec install was requested without a version along with a request to install the base spec with a version.

I also added a check to only allow -buildDependencies false option when -zipPods is used since it does not make sense (nor work) for Firebase product builds.

@google-oss-bot google-oss-bot added the zip-builder Tools related to building the zip file. label Apr 10, 2020
@paulb777 paulb777 requested a review from morganchen12 April 10, 2020 22:41
podVersion = version
} else {
// See if there's a version on the base pod.
let basePod = String($0.split(separator: "/")[0])
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible for this to out-of-index for dependencies that aren't subspecs, e.g. nanopb?

Copy link
Member Author

Choose a reason for hiding this comment

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

My understanding of split is there will always be a 0th element for a non-nil string.

@paulb777 paulb777 merged commit 43e4733 into master Apr 10, 2020
@paulb777 paulb777 deleted the pb-zipbuilder-fixes branch April 10, 2020 22:51
ryanwilson pushed a commit that referenced this pull request Apr 24, 2020
@firebase firebase locked and limited conversation to collaborators May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes zip-builder Tools related to building the zip file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants