Skip to content

[src] Fix rebuilding pdb files. - #3961

Merged
rolfbjarne merged 4 commits into
dotnet:masterfrom
rolfbjarne:pdb-build-fixes
Apr 20, 2018
Merged

[src] Fix rebuilding pdb files.#3961
rolfbjarne merged 4 commits into
dotnet:masterfrom
rolfbjarne:pdb-build-fixes

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

There was a problem with the logic to install pdb files, where they'd only be
touched if they already existed instead of updated.

This causes frequent problems when building locally, because symbols would be
out of date (resulting in build warnings, broken debugging, etc).

Since it only happens when assemblies are rebuilt, this was not a problem for
packages built on wrench.

There was a problem with the logic to install pdb files, where they'd only be
touched if they already existed instead of updated.

This causes frequent problems when building locally, because symbols would be
out of date (resulting in build warnings, broken debugging, etc).

Since it only happens when assemblies are rebuilt, this was not a problem for
packages built on wrench.
@monojenkins

Copy link
Copy Markdown
Contributor

Build failure
Build comment file:

Provisioning succeeded
🔥 Build failed 🔥


@monojenkins

Copy link
Copy Markdown
Contributor

rolfbjarne added a commit to rolfbjarne/macios that referenced this pull request Apr 20, 2018
…iff for a pull request with conflicts.

We can't create an API/generator diff for a pull request with conflicts, so
detect this scenario and show a better error than this (from dotnet#3961):

    Comparing the changes between origin/pr/3961/merge^1 and HEAD:
    fatal: ambiguous argument 'origin/pr/3961/merge^1..HEAD': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    fatal: ambiguous argument 'origin/pr/3961/merge^1': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
@monojenkins

Copy link
Copy Markdown
Contributor

Build success
Build comment file:

Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only)
Generator Diff
Test run succeeded


@rolfbjarne
rolfbjarne merged commit e540c0f into dotnet:master Apr 20, 2018
rolfbjarne added a commit that referenced this pull request Apr 20, 2018
…iff for a pull request with conflicts. (#3966)

We can't create an API/generator diff for a pull request with conflicts, so
detect this scenario and show a better error than this (from #3961):

    Comparing the changes between origin/pr/3961/merge^1 and HEAD:
    fatal: ambiguous argument 'origin/pr/3961/merge^1..HEAD': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    fatal: ambiguous argument 'origin/pr/3961/merge^1': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
rolfbjarne added a commit to rolfbjarne/macios that referenced this pull request Jun 12, 2018
…iff for a pull request with conflicts. (dotnet#3966)

We can't create an API/generator diff for a pull request with conflicts, so
detect this scenario and show a better error than this (from dotnet#3961):

    Comparing the changes between origin/pr/3961/merge^1 and HEAD:
    fatal: ambiguous argument 'origin/pr/3961/merge^1..HEAD': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    fatal: ambiguous argument 'origin/pr/3961/merge^1': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
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.

4 participants