Skip to content
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

The dist project in the SBT build fails to update #8873

Closed
iamrecursion opened this issue May 4, 2020 · 0 comments · Fixed by #8916
Closed

The dist project in the SBT build fails to update #8873

iamrecursion opened this issue May 4, 2020 · 0 comments · Fixed by #8916

Comments

@iamrecursion
Copy link
Contributor

As discussed with @smarter on gitter, the dist project is broken as only dist-bootstrapped is actually used. dist should probably be disabled.

Minimized example

  1. Run the sbt shell
  2. project dist
  3. update.

Output

[error] (update) sbt.librarymanagement.ResolveException: Error downloading ch.epfl.lamp:dotty-tasty-inspector_0.24:0.25.0-bin-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: /Users/ara/.ivy2/local/ch.epfl.lamp/dotty-tasty-inspector_0.24/0.25.0-bin-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/ch/epfl/lamp/dotty-tasty-inspector_0.24/0.25.0-bin-SNAPSHOT/dotty-tasty-inspector_0.24-0.25.0-bin-SNAPSHOT.pom
[error] Error downloading ch.epfl.lamp:dotty-staging_0.24:0.25.0-bin-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: /Users/ara/.ivy2/local/ch.epfl.lamp/dotty-staging_0.24/0.25.0-bin-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/ch/epfl/lamp/dotty-staging_0.24/0.25.0-bin-SNAPSHOT/dotty-staging_0.24-0.25.0-bin-SNAPSHOT.pom

Expectation

The project should work properly.

iamrecursion added a commit to iamrecursion/dotty that referenced this issue May 8, 2020
1. Removes the `dist` subproject as it was unused in the main and had
   bitrotted to an unworking state. This was preventing a successful
   `sbt update`, and hence import into some IDEs.
2. Renames the working `dist-bootstrapped` project to `dist` as the
   latter no longer exists.
3. Adds some clarifications to the documentation on testing about
   which tests are run when running `test` vs.
   `dotty-bootstrapped/test`.

Close scala#8873
Review by @smarter
iamrecursion added a commit to iamrecursion/dotty that referenced this issue May 8, 2020
1. Removes the `dist` subproject as it was unused in the main and had
   bitrotted to an unworking state. This was preventing a successful
   `sbt update`, and hence import into some IDEs.
2. Renames the working `dist-bootstrapped` project to `dist` as the
   latter no longer exists.
3. Adds some clarifications to the documentation on testing about
   which tests are run when running `test` vs.
   `dotty-bootstrapped/test`.

Close scala#8873
Review by @smarter
smarter added a commit that referenced this issue May 8, 2020
Closes #8873: Remove the outdated dist subproject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant