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

Upgrade directories version to match coursier's #465

Merged
merged 2 commits into from
May 3, 2018
Merged

Conversation

jvican
Copy link
Contributor

@jvican jvican commented May 2, 2018

Fixes #463.

@jvican jvican added bug A defect or misbehaviour. install labels May 2, 2018
@jvican jvican changed the title Use proguarded coursier for blp-coursier Upgrade directories version to match coursier's May 2, 2018
@avdv
Copy link

avdv commented May 2, 2018

Hey, coursier switched to version 10 of directories in v1.1.0-M2, is there a reason you hold on to 7?

Copy link
Contributor

@tues tues left a comment

Choose a reason for hiding this comment

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

Looks good 🙂 But as @avdv suggested, maybe we could upgrade to version 10 as there seem to be quite a few bugs in versions <= 7? Coursier 1.1.0-M1 uses version 6, but AFAIK we're using coursier's master branch anyway.

Also, should we consider setting qualifier/organisation name as well? Qualifier affects only Mac, while organisation affects Mac and Windows. I don't know how important they are on those systems - probably it's just cosmetic so not worth changing now, I guess?

@jvican
Copy link
Contributor Author

jvican commented May 3, 2018

@tues Thanks for the review 😉. 👍 on your suggestion to upgrade to 10, guys.

I don't know how important they are on those systems - probably it's just cosmetic so not worth changing now, I guess?

I didn't change it because it would modify the path of the bloop cache. That means that users in the systems affected (mainly osx and windows) will need to see how the compilation bridges are compiled again, and that may be annoying.

I don't own a Mac or Windows, are the qualifier and organisation important for a correct behaviour upon the creation of these directories?

This issue just showed up in the windows tests. It was an oversight that
our `sources` was giving us all the source in the source dirs too. We
only want to export those sources that are not contained in the source
dirs.
@jvican jvican merged commit 09f5204 into master May 3, 2018
@tues
Copy link
Contributor

tues commented May 3, 2018

Not sure about Windows, but on Mac all it seems to do is prepending program name with dot-separated qualifier name and apparently not all Mac programs do that. Since I don't use Mac for development either I have asked a friend who is using both Bloop and Mac and he confirmed that everything is working fine and e.g. IntelliJ is even misusing the standard by creating IntelliJIdea2018.1 directory so I guess it's better not to touch this if it works.

I guess this is worth a new release considering that installing Bloop using the official guide isn't working now?

P.S. I know you probably don't need reviews, but I hope they don't do any harm? 😉

@jvican
Copy link
Contributor Author

jvican commented May 3, 2018

Thanks for confirming! Yeah, we'll try to release a new version soon. Need to write the release notes.

P.S. I know you probably don't need reviews, but I hope they don't do any harm?

Absolutely not, feel free to submit your reviews 😉

@tgodzik tgodzik deleted the ticket/463 branch September 7, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect or misbehaviour. install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants