Skip to content

Conversation

@lzybkr
Copy link
Contributor

@lzybkr lzybkr commented Jan 27, 2017

Removed files that don't need to be built so searches don't waste time
on files that we don't use in PowerShell Core.

For now we'll keep code under !CORECLR so it's easy to see differences
between Windows PowerShell and PowerShell Core.

@adityapatwardhan
Copy link
Member

@lzybkr
Copy link
Contributor Author

lzybkr commented Jan 27, 2017

Yeah - had the changes, but didn't hit save.

@mirichmo
Copy link
Member

I noticed ScheduledJobs in the list. Those cmdlets are targeted for porting, so they should remain.

@lzybkr
Copy link
Contributor Author

lzybkr commented Jan 28, 2017

Thanks - I put those files back - sorry that I rewrote history to do that, it seemed much easier that way though.

@PowerShellTeam PowerShellTeam added the Review - Needed The PR is being reviewed label Jan 30, 2017
@JamesWTruher
Copy link
Collaborator

At one time, we were running our existing internal lab tests against our github build. While this hasn't happened for some time, I was hoping that we would be able to do that again. With this change we are no longer going to be able to do this. Is that right?

@lzybkr
Copy link
Contributor Author

lzybkr commented Feb 8, 2017

Correct. The trade-off here is time is being spent maintaining this code today (it has cause problems that required investigation) and will require work in the future (moving to msbuild). In return, what do we lose?

I don't recall internal lab runs finding any bugs that were common to PowerShell Core and Windows PowerShell (there may have been a small number, but they didn't stick with me, so maybe not noteworthy.)

I do recall bugs specific to how we were building Windows PowerShell out of github - bugs that would not exist when building Windows PowerShell using the internal build process.

So the thinking here is that we can provide more value to our customers by focusing on PowerShell Core here by not spending any time on Windows PowerShell. For example, if we truly believe internal tests are valuable and not easy to port, getting them to run against PowerShell Core might be a better investment, especially as it may help getting those tests running out of github.

@JamesWTruher
Copy link
Collaborator

WRT bugs found, @vors might recall, as he did all of that work. There is value in those historical tests, but it's hard to quantify how much value as they need to be inspected. I am just looking for the appropriate people to sign off on the fact that we won't be running these tests until they're available in github. To date, they've acted as a security blanket, but in actuality not providing much surety because we actually haven't been running them. Removing the windows build just makes that explicit, which is fine as long as everyone is aware of this effect.


In reply to: 278485996 [](ancestors = 278485996)

@vors
Copy link
Collaborator

vors commented Feb 9, 2017

We should also remove all exclude sections. Note that some of them represent resources (files in gen). You may want to remove .resx files for them too.

These changes disable building Windows PowerShell to make it easier to
move to the msbuild based dotnet cli.

The code is preserved for now should we need to revisit.
@lzybkr
Copy link
Contributor Author

lzybkr commented Mar 23, 2017

Not needed now - the msbuild PR supersedes this work, well the building part, we could still delete some of the code that isn't built.

@lzybkr lzybkr closed this Mar 23, 2017
@lzybkr lzybkr deleted the no-full-build branch March 23, 2017 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants