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

Update api diff script #2869

Merged
merged 1 commit into from Oct 14, 2022
Merged

Update api diff script #2869

merged 1 commit into from Oct 14, 2022

Conversation

drwill-ms
Copy link
Contributor

No description provided.

@drwill-ms drwill-ms merged commit 16e31c5 into previews/v2 Oct 14, 2022
@drwill-ms drwill-ms deleted the drwill/api-diff branch October 14, 2022 20:11
{
$internalRootPath = Join-Path -Path $baseRootPath -Child "\iot-sdks-internals"
}

Write-Verbose "Using $internalRootPath for the internals sdk repository base directory."

# If we specify to use the preview directory on the command line we will set it as such
$compareDirectory = Join-Path -Path $internalRootPath -Child "\sdk_design_docs\CSharp\main"
if ($IsPreview)
$compareDirectory = Join-Path -Path $internalRootPath -Child "\sdk_design_docs\CSharp\previews-v2"
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't this be main and the one in L143 be previews-v2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will become main. It isn't a preview of our GA SDK v1.

I think we'll need to rename the current main directory to v1, and main will become v2.

Or something like that.

Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

I see, that makes sense. We should probably also cut another preview at some point soon, else this previews/v2 -> preview diff will end up showing us a lot of outdated diffs (the preview branch hasn't been updated in a long long time). The only features in "preview" are dps client certificates and device streaming, both of which have their individual preview feature branches.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have nothing to preview besides v2, right?

Copy link
Member

Choose a reason for hiding this comment

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

Nothing else right now, no.

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.

None yet

3 participants