Skip to content

Clone is required prior to pre requistes #18082

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

Closed
wants to merge 1 commit into from
Closed

Clone is required prior to pre requistes #18082

wants to merge 1 commit into from

Conversation

kp2017-zz
Copy link

pre-requisites require the scripts directory

Summary of the changes (Less than 80 chars)
copied and pasted clone instructions above Pre Requiste instructions

pre-requisites require the scripts directory
@dnfclas
Copy link

dnfclas commented Jan 1, 2020

CLA assistant check
All CLA requirements met.

@Pilchie Pilchie added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jan 6, 2020
@Pilchie
Copy link
Member

Pilchie commented Jan 6, 2020

@aspnet/aspdoi thoughts?

@dougbu
Copy link
Contributor

dougbu commented Jan 6, 2020

Why is cloning required prior to getting the prerequisites? While scripts are available in the repo to install some of the prereqs, the particular install locations et cetera aren't required. This change seems to mandate an ordering unnecessarily.

@kp2017-zz
Copy link
Author

kp2017-zz commented Jan 6, 2020 via email

@dougbu
Copy link
Contributor

dougbu commented Jan 6, 2020

current directions the reader downloads multiple times.

Downloads what multiple times?

@kp2017-zz
Copy link
Author

The prerequisites require running scripts from powershell. Those scripts are in the repo however they are not on the reader's computer. Without running clone first the reader will have to find each script and all the scripts that script runs and individual download them or I guess down load the whole repo to make it easier. If later we want them to clone the Repo, why not just have the to do that to begin with.

@dougbu
Copy link
Contributor

dougbu commented Jan 6, 2020

Those scripts are in the repo however they are not on the reader's computer.

@Kp2017 that's not the case in general. Users can install the prerequisites using installers from the relevant product sites and the repo should find them. (If it doesn't, that's a build bug and not a doc problem.) For example Windows builds will find java.exe even if it's not installed using InstallJdk.ps1.

So, there's no reason to change the document.

@kp2017-zz
Copy link
Author

kp2017-zz commented Jan 6, 2020

I understand that but the document does reference script that do it; therefore requiring the script to be ran (if chosen). It seems one way or the other should be changed but but the current version, telling someone to do something they are not able to is out of context, is a documentation issue.

@dougbu
Copy link
Contributor

dougbu commented Jan 6, 2020

The following comments in the doc are intended to be suggestions. If you want to change them to make that even more clear, sure. But the existing change isn't something I can get behind.

To install the exact required components, run eng/scripts/InstallVisualStudio.ps1

To install a version of the JDK that will only be used by this repo, run eng/scripts/InstallJdk.ps1

@kp2017-zz
Copy link
Author

I understand the instructions are optional process flows but from the state the user's environment when the options are presented to them, their systems is not in a state that allows the options. If we are to assume they understand how to get their environment in that state, we do not need the cloning instructions following.

I understand you might not like my approach to fixing this issue, but you are not providing alternatives. You are suggesting we just ignore the contradiction. I think you need to provide a better alternative.

@dougbu
Copy link
Contributor

dougbu commented Jan 7, 2020

The alternative I'm suggesting is to make it clear the later sub-bullets using scripts in the repo are not the only way to install the prerequisites. Guess you could also mention the repo needs to be cloned first if users choose to use those scripts but I think that's pretty obvious.

@kp2017-zz
Copy link
Author

Can you check in the change that you are suggesting so I can get a better understanding of your perspective?

@dougbu
Copy link
Contributor

dougbu commented Jan 10, 2020

@Kp2017 I created #18277 because I can't push to your fork. My changes start from scratch due to the conflicts in this PR. Feel free to comment there.

I suggest closing this PR.

@kp2017-zz
Copy link
Author

Closing PR to use #18277 instead

@kp2017-zz kp2017-zz closed this Jan 11, 2020
@kp2017-zz kp2017-zz deleted the patch-1 branch January 11, 2020 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants