Skip to content

Rename IsCore to IsCoreCLR - #1476

Merged
Jason Shirk (lzybkr) merged 6 commits into
masterfrom
andschwa/iscore
Jul 26, 2016
Merged

Jason Shirk (lzybkr) merged 6 commits into
masterfrom
andschwa/iscore

Conversation

@andyleejordan

@andyleejordan Andy Jordan (andyleejordan) commented Jul 22, 2016 •

Copy link
Copy Markdown
Member

Resolves #1230.

  • Removes the runtime uses of IsCore and replaces with CORECLR (and notes for Mike Richmond (@mirichmo))
  • Renames IsCore to IsCoreCLR
  • Removes some deprecated guards

@andyleejordan

Andy Jordan (andyleejordan) commented Jul 22, 2016 •

Copy link
Copy Markdown
Member Author

I'm not sure why this failed... will investigate tomorrow.

@andyleejordan Andy Jordan (andyleejordan) changed the title Andschwa/iscore Rename IsCore to IsCoreCLR Jul 22, 2016
@andyleejordan

Copy link
Copy Markdown
Member Author

UGH.

It's because there are files committed that are:

Little-endian UTF-16 Unicode text, with CRLF, CR line terminators

Which is tough to deal with 😦

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please change this to Issue #1184 instead of my alias.

@andyleejordan

Copy link
Copy Markdown
Member Author

Blocked on #1487.

@andyleejordan

Copy link
Copy Markdown
Member Author

sergei (@vors) James Truher (@JamesWTruher) I'm very confused as I can't reproduce that AppVeyor failure on Windows.

@vors

Copy link
Copy Markdown
Collaborator

Andy Jordan (@andschwa) that's why there is an easy way to RDP to a build worker

@andyleejordan

Copy link
Copy Markdown
Member Author

sergei (@vors) it doesn't reproduce on the AppVeyor machine when debugging it.

@vors

Copy link
Copy Markdown
Collaborator

Well. what you are going to do about it?

@andyleejordan

Copy link
Copy Markdown
Member Author

Wallow in pain and misery.

Really, skip the test and see what happens. If I learn nothing from that, push the changes individually and see what breaks it.

// Close the progress pane that may have popped up from analyzing UNC paths.
// Porting note: we don't like this message
if (!Platform.IsCore && context.CurrentCommandProcessor != null)
if (context.CurrentCommandProcessor != null)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

James Truher (@JamesWTruher) this was the bug. I'd removed this guard, and didn't expect anything to fail. The note I'd left myself was just that it left a useless message on *nix. However, it's apparently causing the bug with bad XML output on the error stream.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like a partial fix and a wrong one at that.

By not calling WriteProgress with a Completed message, we'll leave screen artifacts. See the corresponding call in SriptAnalysis.cs, line 43 - that code is not guarded at all by #if !CORECLR

I don't have a strong preference on this specific progress message, but if progress messages are causing problems in CI, turning them off this way is not the right fix.


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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is status quo currently. It was already disabled for CoreCLR builds, and remains disabled.

I agree there is a bug here. I'll file an issue, but it's separate from this PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Filed #1524.

@andyleejordan

Copy link
Copy Markdown
Member Author

Jason Shirk (@lzybkr) given #1524, do you sign off?

@lzybkr

Copy link
Copy Markdown
Contributor

LGTM

@andyleejordan

Copy link
Copy Markdown
Member Author

Thanks!

@andyleejordan
Andy Jordan (andyleejordan) deleted the andschwa/iscore branch July 26, 2016 21:20
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
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 this pull request may close these issues.

5 participants