Skip to content

Adds SourceLink dependency to Product module#1657

Merged
Aniruddh25 merged 3 commits intomainfrom
dev/shyamsundarj/add-sourcelink-deps-product-module
Aug 25, 2023
Merged

Adds SourceLink dependency to Product module#1657
Aniruddh25 merged 3 commits intomainfrom
dev/shyamsundarj/add-sourcelink-deps-product-module

Conversation

@severussundar
Copy link
Copy Markdown
Contributor

@severussundar severussundar commented Aug 25, 2023

Why make this change?

What is this change?

  • SourceLink dependency is added to the Product module
  • SourceLink embeds the git commit ID to assembly metadata. So, the application name will be of the form dab_oss_1.0.0+<commit_id>. So, test assertion logic is updated.
  • This PR is a subsequent change for PR #1656 . It describes why the changes for fixing the NuGet health are broken down into two separate PRs.

How was this tested?

  • Manual Tests. Health of the NuGet after applying the changes from this PR and PR #1656 was validated.

image

Comment thread src/Service.Tests/Configuration/ConfigurationTests.cs
@Aniruddh25 Aniruddh25 merged commit 66172f1 into main Aug 25, 2023
@Aniruddh25 Aniruddh25 deleted the dev/shyamsundarj/add-sourcelink-deps-product-module branch August 25, 2023 23:49
Aniruddh25 added a commit that referenced this pull request Aug 26, 2023
…#1656)

## Why make this change?

-  Closes #1655 
- Health of [0.8.44-rc
nupkg](https://nuget.info/packages/Microsoft.DataApiBuilder/0.8.44-rc)
nupkg needs to be fixed

## What is this change?

- To fix the NuGet generated in the `main` branch, `Product` and `Core`
modules needs to be updated. `Product` module was introduced later and
`0.8.*` NuGets do not have the Product module. So, the fix is broken
into two PRs.
- This PR adds changes only to the `Core` module. After merging to
`main`, this PR can be ported over to `release/0.8` branch.
- [PR #1657 ](#1657) adds
the changes to `Product` module.
 
- Sets `EmbedUntrackedSources` and `ContinuousIntegrationBuild` to
`true`


## How was this tested?

- [x] Manual Tests
By applying the change on top of the `release/0.8` branch, the health of
the NuGet generated was validated

![image](https://github.com/Azure/data-api-builder/assets/11196553/551713f7-1f96-46e5-a310-91bccfeab87c)

---------

Co-authored-by: Aniruddh Munde <[email protected]>
Aniruddh25 added a commit that referenced this pull request Aug 26, 2023
…#1656)

## Why make this change?

-  Closes #1655 
- Health of [0.8.44-rc
nupkg](https://nuget.info/packages/Microsoft.DataApiBuilder/0.8.44-rc)
nupkg needs to be fixed

## What is this change?

- To fix the NuGet generated in the `main` branch, `Product` and `Core`
modules needs to be updated. `Product` module was introduced later and
`0.8.*` NuGets do not have the Product module. So, the fix is broken
into two PRs.
- This PR adds changes only to the `Core` module. After merging to
`main`, this PR can be ported over to `release/0.8` branch.
- [PR #1657 ](#1657) adds
the changes to `Product` module.
 
- Sets `EmbedUntrackedSources` and `ContinuousIntegrationBuild` to
`true`


## How was this tested?

- [x] Manual Tests
By applying the change on top of the `release/0.8` branch, the health of
the NuGet generated was validated

![image](https://github.com/Azure/data-api-builder/assets/11196553/551713f7-1f96-46e5-a310-91bccfeab87c)

---------

Co-authored-by: Aniruddh Munde <[email protected]>
Aniruddh25 added a commit that referenced this pull request Aug 26, 2023
…for Core module… (#1660)

Cherry-Picks (#1656) to release/0.8 branch

**Original Description:**

## Why make this change?

-  Closes #1655 
- Health of [0.8.44-rc
nupkg](https://nuget.info/packages/Microsoft.DataApiBuilder/0.8.44-rc)
nupkg needs to be fixed

## What is this change?

- To fix the NuGet generated in the `main` branch, `Product` and `Core`
modules needs to be updated. `Product` module was introduced later and
`0.8.*` NuGets do not have the Product module. So, the fix is broken
into two PRs.
- This PR adds changes only to the `Core` module. After merging to
`main`, this PR can be ported over to `release/0.8` branch.
- [PR #1657 ](#1657) adds
the changes to `Product` module.
 
- Sets `EmbedUntrackedSources` and `ContinuousIntegrationBuild` to
`true`


## How was this tested?

- [x] Manual Tests By applying the change on top of the `release/0.8`
branch, the health of the NuGet generated was validated


![image](https://github.com/Azure/data-api-builder/assets/11196553/551713f7-1f96-46e5-a310-91bccfeab87c)

---------

Co-authored-by: Shyam Sundar J <[email protected]>
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.

Fix NuGet health of the latest Nupkg

4 participants