Skip to content

The Dart plugin should use .dart_tool/package_config.json, instead of .packages#862

Closed
jwren wants to merge 1 commit intoJetBrains:masterfrom
jwren:dot_packages_deprecation_01
Closed

The Dart plugin should use .dart_tool/package_config.json, instead of .packages#862
jwren wants to merge 1 commit intoJetBrains:masterfrom
jwren:dot_packages_deprecation_01

Conversation

@jwren
Copy link
Contributor

@jwren jwren commented Mar 8, 2022

@alexander-doroshko alexander-doroshko self-assigned this Mar 8, 2022
@alexander-doroshko
Copy link
Contributor

Merged, many thanks!

If you have time, it would be great to add some tests. We seem to have some for .packages (search for .packages in test source files), I guess we could write similar ones for package_config.json

@SergeyZh SergeyZh closed this in 18c27e4 Mar 9, 2022
SergeyZh pushed a commit that referenced this pull request Mar 22, 2022
…instead of .packages

close #862

(cherry picked from commit 20d74450bd4df3ddd5837915bca879c3c5a74a12)

GitOrigin-RevId: a0e595b5c65bb792ad723a8273998ef1c1539d0c
SergeyZh pushed a commit that referenced this pull request Mar 22, 2022
…instead of .packages

close #862

(cherry picked from commit 20d74450bd4df3ddd5837915bca879c3c5a74a12)

IJ-CR-22330

GitOrigin-RevId: bdbc7ddf2b5e1cec7c5963c76c7c298e35ee4f74
SergeyZh pushed a commit that referenced this pull request Mar 22, 2022
…instead of .packages

close #862

(cherry picked from commit 20d74450bd4df3ddd5837915bca879c3c5a74a12)
(cherry picked from commit a0e595b5c65bb792ad723a8273998ef1c1539d0c)

GitOrigin-RevId: e934a8aadae62d9d30116ba86b83a6508217279f
SergeyZh pushed a commit that referenced this pull request Mar 22, 2022
…instead of .packages

close #862

(cherry picked from commit 20d74450bd4df3ddd5837915bca879c3c5a74a12)

IJ-CR-22330

GitOrigin-RevId: dc7c3858579cf1d132e8d9f7baf3c40e4e87b1df
// need to protect '+' chars because URLDecoder.decode replaces '+' with space
final String encodedUriWithoutPluses = StringUtil.replace(rootUriValue + "/" + packageUriValue, "+", "%2B");
final String uri = URLUtil.decode(encodedUriWithoutPluses);
final String packageUri = getAbsolutePackageRootPath(packageConfigJsonFile.getParent().getParent(), uri);
Copy link
Contributor

Choose a reason for hiding this comment

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

@jwren Not sure packageConfigJsonFile.getParent().getParent() is correct here. See https://youtrack.jetbrains.com/issue/WEB-55363. I guess it should be packageConfigJsonFile.getParent().

intellij-monorepo-bot pushed a commit that referenced this pull request Apr 6, 2022
…s folder

(follow-up on WEB-54703 and #862)

GitOrigin-RevId: 1993d18a7f1a8e4d1b6f71ffc5614a97637d459a
intellij-monorepo-bot pushed a commit that referenced this pull request Apr 8, 2022
…s folder

(follow-up on WEB-54703 and #862)

(cherry picked from commit 1993d18a7f1a8e4d1b6f71ffc5614a97637d459a)

IJ-CR-23164

GitOrigin-RevId: 4efb73dcca31a9bc0e5971bad8c795b8b9e7b0f0
intellij-monorepo-bot pushed a commit that referenced this pull request Apr 8, 2022
…s folder

(follow-up on WEB-54703 and #862)

(cherry picked from commit 1993d18a7f1a8e4d1b6f71ffc5614a97637d459a)

IJ-CR-23164

GitOrigin-RevId: 9892d6c6b2dde0b31ff3ff5888d3f6ffc43d236b
intellij-monorepo-bot pushed a commit that referenced this pull request Apr 8, 2022
…s folder

(follow-up on WEB-54703 and #862)

(cherry picked from commit 1993d18a7f1a8e4d1b6f71ffc5614a97637d459a)

IJ-CR-23164

GitOrigin-RevId: 3c4a37974be199be5cfd04c5ae308939890c2caa
intellij-monorepo-bot pushed a commit that referenced this pull request Apr 8, 2022
…s folder

(follow-up on WEB-54703 and #862)

(cherry picked from commit 1993d18a7f1a8e4d1b6f71ffc5614a97637d459a)

IJ-CR-23164

GitOrigin-RevId: 341f36093ea21bd01f1abe7a2b8da31952e215b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants