Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix version conflicts, verify publishability of packages in CI, Remove Travis #729

Merged
merged 4 commits into from
Aug 20, 2018

Conversation

gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Aug 17, 2018

This fixes a number of version resolution errors that would prevent these packages from building, and turn off Travis, since Cirrus now works.

I also fixed a number of errors that would have prevented these packages from being published without warnings, and establishes a CI script that will verify publishability for any changed packages in a PR.

For some examples, we were depending upon versions of other 1st-party plugins by using path: ../../<package>, which really isn't the right way to do things, so for those examples, they now depend on a published version.

I bumped the version number of any packages that were modified, and updated their CHANGELOGs since the dependencies have changed.

Also fixed a number of analyzer errors that somehow snuck in.

@gspencergoog gspencergoog force-pushed the update_versions branch 2 times, most recently from 0966387 to 1ff151c Compare August 17, 2018 23:07
Copy link
Member

@xster xster left a comment

Choose a reason for hiding this comment

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

I'd add changes to the various CHANGELOG.md files too

@mehmetf
Copy link
Contributor

mehmetf commented Aug 18, 2018

Thank you for this Greg. I started going down this path today just to fix the analyzer and build errors. I will close my PR.

@mehmetf
Copy link
Contributor

mehmetf commented Aug 18, 2018

It also seems like a package sneaked in (MLExample) that does not even build for iOS.

@gspencergoog
Copy link
Contributor Author

Hmm, yes, I see what you mean. Hey @bparrishMines, does that iOS example compile for you? Could you take a look and give me a patch if needed? (I don't really know much about building iOS apps). I'm trying to get the plugins repo to the point that it all builds...

@gspencergoog gspencergoog force-pushed the update_versions branch 3 times, most recently from 2996d16 to 42ee552 Compare August 18, 2018 06:00
@gspencergoog
Copy link
Contributor Author

I think the iOS problem is fixed now that I synced to master branch HEAD again. Now if I could get the apk build to finish before the gradle daemon crashes...

@gspencergoog gspencergoog force-pushed the update_versions branch 3 times, most recently from d8876b5 to fc80e0b Compare August 19, 2018 01:20
@gspencergoog gspencergoog changed the title Fix version conflicts, verify publishability of packages in CI Fix version conflicts, verify publishability of packages in CI, Remove Travis Aug 19, 2018
@gspencergoog
Copy link
Contributor Author

gspencergoog commented Aug 19, 2018

I also had to bump the Cirrus instance memory requirements from the default (4G?) to 8G, because the sensors example kept running out of memory and crashing during the gradle step.

@gspencergoog
Copy link
Contributor Author

Sorry there's so much stuff in this PR: I tried splitting out the continuous integration stuff to another PR, but the repo won't build without the CI changes, and the CI stuff won't build without the package changes...

@gspencergoog
Copy link
Contributor Author

@mehmetf could you review this for me, please?

@gspencergoog gspencergoog requested a review from mehmetf August 19, 2018 20:20
Copy link
Contributor

@mehmetf mehmetf left a comment

Choose a reason for hiding this comment

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

LGTM. One minor comment.

return "${#failures[@]}"
}

function check_changed_packages() {
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems that we repeat this function. Perhaps define a common script and include it using source?

julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
…e Travis (flutter#729)

This fixes a number of version resolution errors that would prevent these packages from building, and turn off Travis, since Cirrus now works.

I also fixed a number of errors that would have prevented these packages from being published without warnings, and establishes a CI script that will verify publishability for any changed packages in a PR.

For some examples, we were depending upon versions of other 1st-party plugins by using path: ../../<package>, which really isn't the right way to do things, so for those examples, they now depend on a published version.

I bumped the version number of any packages that were modified, and updated their CHANGELOGs since the dependencies have changed.

Also fixed a number of analyzer errors that somehow snuck in.
Akachu pushed a commit to Akachu/flutter_camera that referenced this pull request Apr 27, 2020
…e Travis (flutter#729)

This fixes a number of version resolution errors that would prevent these packages from building, and turn off Travis, since Cirrus now works.

I also fixed a number of errors that would have prevented these packages from being published without warnings, and establishes a CI script that will verify publishability for any changed packages in a PR.

For some examples, we were depending upon versions of other 1st-party plugins by using path: ../../<package>, which really isn't the right way to do things, so for those examples, they now depend on a published version.

I bumped the version number of any packages that were modified, and updated their CHANGELOGs since the dependencies have changed.

Also fixed a number of analyzer errors that somehow snuck in.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants