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

Revert "[path_provider] Use the application ID in the application support path" #2896

Merged
merged 3 commits into from
Jul 24, 2020

Conversation

dnfield
Copy link
Contributor

@dnfield dnfield commented Jul 24, 2020

Reverts #2845

This broke master - Linux is consistently timing out after this.

TBR @robert-ancell @stuartmorgan

/cc @ditman

@dnfield
Copy link
Contributor Author

dnfield commented Jul 24, 2020

I will wait for the test that's been timing out to pass before merging this.

@ditman
Copy link
Member

ditman commented Jul 24, 2020

path_provider_linux 0.1.0 seems to NOT have been published yet, so this looks safe to land (then reland the fixed 0.1.0).

(Note, this change may fail the publishable check, because it's not rolling forward the version of the package that it's "modifying" with what's published in pub.)

Yep:

packages/path_provider/path_provider_linux/pubspec.yaml incorrectly updated version.
HEAD: 0.0.1+2, master: 0.1.0.
Allowed versions: {1.0.0: NextVersionType.RELEASE, 0.2.0: NextVersionType.BREAKING_MAJOR, 0.1.1: NextVersionType.MINOR, 0.1.0+1: NextVersionType.PATCH

@dnfield
Copy link
Contributor Author

dnfield commented Jul 24, 2020

Hm. I'm not sure if this will make the version check permanently angry?

@ditman
Copy link
Member

ditman commented Jul 24, 2020

You may be able to "revert" to 0.1.0+1 (with a CHANGELOG entry), then the original code can be re-landed as 0.2.0?

@dnfield
Copy link
Contributor Author

dnfield commented Jul 24, 2020

That seems pretty wrong to me - we'd never want to publish those versions, and users are likely to get confused when reading the CHANGELOG :\

@ditman
Copy link
Member

ditman commented Jul 24, 2020

@dnfield when we publish the 0.2.0 we can erase all mentions to 0.1.x changelog, as if this never happened :P

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

Go for this! Maybe get an ACK from Stuart that this is being reverted?

@dnfield
Copy link
Contributor Author

dnfield commented Jul 24, 2020

Given that this has broken the tree, going to land - we can always reland it when it's ready.

@dnfield dnfield merged commit 7434e41 into master Jul 24, 2020
@dnfield dnfield deleted the revert-2845-linux-path-provider-app-id branch July 24, 2020 21:42
@stuartmorgan-g
Copy link
Contributor

Go for this! Maybe get an ACK from Stuart that this is being reverted?

Noted. I'm actually not sure the PR should have landed before flutter/flutter#60053 anyway.

@robert-ancell
Copy link
Contributor

robert-ancell commented Jul 29, 2020

Noted. I'm actually not sure the PR should have landed before flutter/flutter#60053 anyway.

This change is only supposed to work if an application ID is set, and reverts to the old behaviour if not, so the PRs are independent.

@robert-ancell
Copy link
Contributor

@dnfield do you have a link to the log of the failure?

@dnfield
Copy link
Contributor Author

dnfield commented Jul 29, 2020

jarrodcolburn pushed a commit to jarrodcolburn/plugins that referenced this pull request Aug 20, 2020
…port path" (flutter#2896)

* Revert "[path_provider] Use the application ID in the application support path (flutter#2845)"

This reverts commit 7d4a918.

* bump version to satisfy the machine. Also fix linting issue caught because of changes in this folder.
jorgefspereira pushed a commit to jorgefspereira/plugins_flutter that referenced this pull request Oct 10, 2020
…port path" (flutter#2896)

* Revert "[path_provider] Use the application ID in the application support path (flutter#2845)"

This reverts commit 7d4a918.

* bump version to satisfy the machine. Also fix linting issue caught because of changes in this folder.
FlutterSu pushed a commit to FlutterSu/flutter-plugins that referenced this pull request Nov 20, 2020
…port path" (flutter#2896)

* Revert "[path_provider] Use the application ID in the application support path (flutter#2845)"

This reverts commit 7d4a918.

* bump version to satisfy the machine. Also fix linting issue caught because of changes in this folder.
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.

5 participants