-
Notifications
You must be signed in to change notification settings - Fork 608
Packaging prototype #5154
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
base: main
Are you sure you want to change the base?
Packaging prototype #5154
Conversation
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. |
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Unit Test Results 48 files - 6 48 suites - 6 1m 26s ⏱️ - 5m 39s Results for commit 1723142. ± Comparison against base commit 8fff029. This pull request removes 470 and adds 78 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
1 similar comment
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
1 similar comment
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Size Report 1Affected Products
Test Logs |
firebase-functions/src/main/java/com/google/firebase/functions/Functions.kt
Outdated
Show resolved
Hide resolved
The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: The public api surface has changed for the subproject firebase-common_ktx: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
@@ -99,7 +99,7 @@ class LibraryVersionTest : BaseTestCase() { | |||
@Test | |||
fun `library version should be registered with runtime`() { | |||
val publisher = Firebase.app.get(UserAgentPublisher::class.java) | |||
assertThat(publisher.userAgent).contains(LIBRARY_NAME) | |||
assertThat(publisher.userAgent).contains("fire-fun-ktx") |
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.
This only happens if the ktx sdk is present, right? or should it work even if there's no common-ktx artifact?
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.
currently i think with the new approach irrespective of anything this will be logged.. I think we should stop supporting this.
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.
to register what was discussed offline: there's value keep reporting the ktx usage in the user agent string.
The public api surface has changed for the subproject firebase-functions_ktx: The public api surface has changed for the subproject firebase-functions: The public api surface has changed for the subproject firebase-common: The public api surface has changed for the subproject firebase-common_ktx: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
package com.google.firebase.ktx |
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.
Should we mark everything in this file as deprecated?
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.
Yes
Move the ktx library inside of the main artifact for both firebase-common and firebase-functions. This prototype achieves the following things