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

Fix installation bugs and add Windows installation #755

Merged
merged 7 commits into from
Dec 10, 2018

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Dec 10, 2018

  1. Configure a scoop-based installation for Windows Powershell users.
  2. Improve the ergonomics of Windows CMD users.
  3. Fix several bugs with the installation script and the nailgun script.
  4. Fix a bug in the build when running gradle in Windows.
  5. Improve the UX of the installation page by persisting the choices to
    the session storage.

The fixed tickets are linked in the commit messages.

Adds both the `bloop.cmd` for normal CMD users and a scoop installer for
Powershell users.

Fixes #567
1. Persist the choice of build tool and package manager so long as the
   tab is not closed.
1. Make links work (a page linking to #nix) will click the nix button
   when loading the page. Useful when linking to docs from external places.
@jvican jvican added enhancement install ergonomics Any change that affects developer ergonomics and the easiness of use of bloop. labels Dec 10, 2018
@jvican
Copy link
Contributor Author

jvican commented Dec 10, 2018

/cc @philwalk @andrezimmermann @Katrix on improvements to Windows.

/cc @igor-ramazanov @ouchxp @countfloyd @gabro on the fix of bloop server.

@@ -31,3 +31,4 @@ website/build/
website/build/bloop-gh-pages/
node_modules/
package-lock.json
.metals/
Copy link
Contributor

Choose a reason for hiding this comment

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

😍

@@ -34,6 +34,12 @@
}
}


previouslyBuildActive = null;
if (typeof(Storage) !== "undefined") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this PR specifically, but typeof is an operator and it doesn't need parenthesis.
It works anyway because (a) == a, but it caught my JS dev eye 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 thanks, good to know, will leave it as is to prove how terrible a js developer am, i cargo-culted it from https://www.w3schools.com/html/html5_webstorage.asp

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hahaha, nice one 👍

@jvican
Copy link
Contributor Author

jvican commented Dec 10, 2018

I'm merging, the Windows CI error seems spurious and this doesn't change the main logic of the server anyway.

@jvican jvican merged commit 7aee7d0 into master Dec 10, 2018
@tgodzik tgodzik deleted the topic/installation-fixes branch September 7, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ergonomics Any change that affects developer ergonomics and the easiness of use of bloop. install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants