Граф коммитов

48 Коммитов

Автор SHA1 Сообщение Дата
Iman Narasamdya 39315f8517 Merged PR 768051: Addressing CVE-2024-0057
Bump up NuGet nuget packages to address CG alert to address CVE-2024-0057

Related work items: #2149122, #2149123
2024-02-20 19:03:41 +00:00
Serge Mera 3f7067534f Merged PR 765884: DScript spec cleanup
Re-applies original clean up waves: https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/765540 and https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/763864, plus a fix for the VBCS compiler logger that ocurred in some QB queues using an old VS installation
2024-02-07 22:11:01 +00:00
Serge Mera 186dc379d0 Merged PR 765772: Revert DSCript cleanup
This caused some deployment issues in CB, and there is a hot fix that CB needs that got trapped in between cleanup waves. Reverting so CB can get unblocked.
2024-02-06 19:59:15 +00:00
Serge Mera 384b078e44 Merged PR 765540: DScript spec cleanup wave 2 (with net6 fix)
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 22:04:51 +00:00
Julian Bayardo e311b79313 Merged PR 765496: Revert "Merged PR 765049: DScript spec cleanup wave 2
Revert "Merged PR 765049: DScript spec cleanup wave 2

* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver."

Reverted commit `2b01690d`.
2024-02-05 19:36:38 +00:00
Serge Mera 2b01690d41 Merged PR 765049: DScript spec cleanup wave 2
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 17:49:26 +00:00
Serge Mera 2a6c56a2c8 Merged PR 763864: DScript spec cleanup
Mostly cache specs, but also touching some shared stuff:
* Unified some Nuget packages (System.Collections.Immutable, System.Memory, etc), and bumped versions to the latest. This triggered a bunch of other updates...
* Removed a lot of unnecessary 'withQualifier'
* Simplified some references by fixing the 'runtimes' folder behavior on the Nuget resolver (which forced a bunch of 'withWinRuntime' calls

More cleanup passes are possible, but those to come later
2024-02-01 22:30:56 +00:00
Serge Mera 21af0ba19f Merged PR 762033: Upgrade System.Data.SqlClient
Upgrade System.Data.SqlClient

Related work items: #2140137
2024-01-18 17:38:41 +00:00
Michael Pysson 668bd94fc4 Merged PR 739131: Update dotnet versions to latest
Addresses various CG violations

Related work items: #2103815, #2103814, #2103813, #2103812, #2103811, #2103810, #2103808, #2103807, #2103806, #2103805
2023-09-14 21:24:04 +00:00
Michael Pysson 15887129d4 Merged PR 735951: Update SBOM related packages
Updates various SBOM related packages to work with the new Component Detector.

These changes are necessary in order for CloudBuild Repo to update to the new version of Component Detector and SBOM tooling
2023-08-29 23:55:29 +00:00
Michael Pysson c91ad261a4 Merged PR 732648: Update NETCore.App.Runtime to 6.0.21 and 7.0.10
Update NETCore.App.Runtime to 6.0.21 and 7.0.10
2023-08-11 18:00:58 +00:00
Pasindu Gunasekara 🍣 e7dba54db7 Merged PR 729773: Upgrade packages to address CG warning
- net6: 6.0.20
- net7: 7.0.9
- aspnet6: 6.0.20
- nuget.*: 6.6.1
2023-07-26 17:15:11 +00:00
Will Li 8d588054aa Merged PR 711805: Update ADO Package Version
Update unified ADO package version
2023-06-21 18:43:25 +00:00
Iman Narasamdya 32b607700e Merged PR 712551: Update Net7 to address CG alert
Update Net7 to address CG alert

Related work items: #2047584
2023-04-12 20:59:04 +00:00
Iman Narasamdya edad28e61c Merged PR 712400: Update net6 to 6.0.16 to address pipe read cancellation issue
Update net6 to 6.0.16 to address pipe read cancellation issue

Related work items: #2032812
2023-04-12 17:50:48 +00:00
Sergey Tepliakov ccbec78eca Merged PR 706489: Update Microsoft.Win32.Registry to 4.4.0
This PR fixes the discrepancy between the artifact services package that requires 4.4.0 version and BuildXL.Utilities that used to require 4.3.0 version. Without this change referencing BUildXL.Utilities package was causing a nuget package downgrade.

Related work items: #2039361
2023-03-10 17:58:28 +00:00
Qi Wang abd6874142 Merged PR 703571: upgrade NetCore version
upgrade NetCore version

Related work items: #2032066, #2032067
2023-02-23 00:19:42 +00:00
Qi Wang 4fa45202ba Merged PR 696638: Update core60 version
[Component Governance] update dotnetcore60 version

Related work items: #2020962, #2020963, #2020964
2023-01-12 23:07:31 +00:00
Sergey Tepliakov e4218d2099 Merged PR 680397: Add NET7 support for BuildXL and Cache
This PR adds .NET 7 RC1 support to BuildXL and Cache Service.

Please note, that the PR will be failing until the new LKG with net7 nuget support will be deployed.

Related work items: #1990373
2022-12-22 00:32:20 +00:00
Sergey Tepliakov 7ebcf5488a Merged PR 691665: Upgrade System.Text.Json to 4.7.2 to avoid CB integration issues
The ["Add Azure blob reference to BXL.Cache.Libraries package"](https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/690299?_a=files) PR added a reference to azure blobs nuget package from the cache library package. This started causing an issue, because the azure package requires System.Text.Json 4.7.2 but the cache package itself requires System.Text.Json 4.7.0.

This PR bumps the depdendency in bxl to 4.7.2 to avoid the issue.
2022-12-05 17:34:58 +00:00
Michael Pysson 991a877e78 Merged PR 687995: Update System.Data.SqlClient
Update System.Data.SqlClient
2022-11-09 21:51:47 +00:00
Marcelo Lynch 🧉 fefe7d2cbb Merged PR 687738: Update netcore to 6.0.11
Update netcore to 6.0.11

Related work items: #2004039
2022-11-08 19:40:42 +00:00
Serge Mera 6de1287777 Merged PR 685985: Revert netcore 6 to 6.0.2
Revert netcore 6 to 6.0.2
2022-10-28 17:39:34 +00:00
Michael Pysson 1840a081c5 Merged PR 685515: Remove unused netcore dependencies
Remove unused netcore dependencies

Related work items: #2002246, #2003033, #2003032, #2003031, #2003030
2022-10-26 22:58:39 +00:00
Michael Pysson c40c08e6c2 Merged PR 685525: Update to .net 6.0.6
Update to latest version of .net 6
2022-10-26 21:34:54 +00:00
Pasindu Gunasekara 🍣 d515ee2c43 Merged PR 668403: Upgrade Newtonsoft.Json to 13.0.1
Related work items: #1963502, #1964751
2022-06-29 20:19:45 +00:00
Semih Okur 551664adb5 Merged PR 653351: Enable .net6 by default 2022-03-17 15:42:38 +00:00
Sergey Tepliakov 3bf3567c68 Merged PR 644729: Update .net6 sdk to 6.0.1 version
Update .NET 6 SDK to pick up the latest version that has a fix with UnobservedTaskException beein generated from SemaphoreSlim.
2022-01-18 21:59:03 +00:00
Marcelo Lynch 🧉 1d0dc08a64 Merged PR 643482: Fix runtime failures in DropDaemon's GetSbomPackages
- Remove the `__ENABLE_SBOM_PACKAGE_CONVERSION` env variable. This was meant to guard against using this feature while the library had a bug that is already resolved, so not necessary anymore
- Microsoft.SBOM.Adapters and some other packages reference Newtonsoft.Json 13.0.1, while we were using 12.0.3 throughout. This was causing a failure when the runtime tried to load the assembly after calling the library. Version 13.0.1 is incompatible with earlier ones so a downgrading binding redirect is not possible. Instead, we deploy the drop daemon with Newtonsoft.Json version 13.0.1 and use "forward" binding redirects.
- Add some extra logging

With these changes, an end-to-end build where CG is run in the build runner and the packages are retrieved and added to the SPDX SBOM was successful: https://cbtest.microsoft.com/build/1d85303e-322e-4ddf-af1f-585ecce96079
2022-01-06 01:28:25 +00:00
Sergey Tepliakov 40c9f163ba Merged PR 633580: Add .net6.0 support
This PR adds support of .net6 (rc version for now) to bxl codebase.
2021-11-18 21:47:42 +00:00
Marcelo Lynch 🧉 fd879b0886 Merged PR 635704: Use the new common API to generate SBOMs from the DropDaemon 2021-11-11 19:33:21 +00:00
Sergey Tepliakov 835fd911c6 Merged PR 632453: Cuts memory allocations for metadata service
Before
![image.png](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/632453/attachments/image.png)

After
![image (2).png](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/632453/attachments/image%20%282%29.png)
2021-11-01 23:43:04 +00:00
Sergey Tepliakov f5d76a0e38 Merged PR 590834: Add System.Threading.Tasks.Extensions to cacheBindingRedirects
Add System.Threading.Tasks.Extensions to cacheBindingRedirects to avoid binding failures when running tests in Visual Studio.
2020-12-28 22:00:46 +00:00
Serge Mera aac7c2ae4b Merged PR 588852: Upgrade VBCSCompilerLogger to use the latest code analysis libraries and incorporate the new switches
This change implies moving the VBCSCompilerLogger to net5.0, even though BuildXL codebase is not completely there yet.

Related work items: #1799988
2020-12-10 00:44:46 +00:00
Sergey Tepliakov d71d8b9b64 Merged PR 585237: Add support for NET 5
This PR adds support for .NET 5.

The only current limitation is that QTest is disabled in .NET 5 because it was failing with some "can't find the right assembly" issue that I'm going to investigate.

Also, the default qualifier stays the same and I need some help testing the changes on the mac and on Linux.

This PR also allow us using C# 9 features like records **for all target frameworks** and the following code compiles just fine:

```csharp
public record X
    {
        public int Y { get; init; }
    }
```

Keep in mind, that you need the most recently released VS in order to see intellisense for this code.
2020-11-19 00:25:17 +00:00
Aleksandar Milicevic 2e3fa937b2 Merged PR 572965: Remove unused nugets 2020-09-05 15:30:31 +00:00
Juan Carlos Guzman Islas 58d3dda3f5 Merged PR 568020: Update System.Threading.Tasks.Extensions to 4.5.4
Update System.Threading.Tasks.Extensions to 4.5.4

We recently updated System.IO.Pipelines from 4.7.0 to 4.7.2 and it requires 4.5.4 instead of 4.5.2

We didn't notice the change was necessary because we ignore the dependency on config..dsc

Without making this change, CloudBuild (and potentially anyone consuming our nuget packages) complains that there is a package downgrade.
2020-08-07 17:05:57 +00:00
Sergey Tepliakov 274a16f5a8 Merged PR 556497: Remove msbuild specific dependencies
This PR removes `ForMSBuild` packages because all the pieces are using the same version.
And it also fixes the test discovery issue that is happening in Test Explorer when trying to run the cache tests.
2020-06-08 23:34:34 +00:00
Matthew Lam b4d5f439fc Merged PR 554676: Json Migration to BCL Json
Removing NewntonSoft dependency from our packages and using System.Text.Json instead
2020-06-05 22:44:52 +00:00
Sergey Tepliakov dbf5c7c88a Merged PR 553376: Update System.Buffers to 4.5.1
The version is currently used is not the version that is referenced by the version of StackExchange.Redis.

And [this conversion](https://github.com/StackExchange/StackExchange.Redis/issues/1120) suggests that this maybe the issue that causes connectivity issues.

Related work items: #1719347
2020-05-28 18:31:46 +00:00
Aleksandar Milicevic a2875ae5ad [linux] changes needed for selfhost build
Various small changes that allow building selfhost with BuildXL on Linux.

What's missing:
  - downloading nugets
  - remote telemetry
  - bond.csharp tool (`gbc`) for Linux (needs to be built from sources and published as a new nuget)
  - rush stuff

If (1) nugets are first downloaded manually, and (2) `gbc` is manually replaced with a Linux binary, building minimal selfhost on Linux works.
2020-04-21 18:21:00 +00:00
Aleksandar Milicevic 32a599cc36 [linux-sandbox] fixes needed for running process tests
Fixes needed to run Test.BuildXL.Process.dll on Linux
2020-04-09 15:29:00 +00:00
Aleksandar Milicevic c264eed39d Merged PR 539513: Add qualifiers for Linux; add linux-x64.nupkg to deployment
- add qualifiers for Linux; add linux-x64.nupkg to deployment
 - rename namespace `BuildXL.Interop.MacOS` to `BuildXL.Interop.Unix`
2020-03-06 20:04:14 +00:00
Lance Collins ddee9b1a77 Merged PR 532175: Re-upgrade GRPC and add fix to DNS resolution delay
Re-upgrade GRPC and add fix to DNS resolution delay
2020-01-30 16:18:57 +00:00
Lance Collins 21272830cd Merged PR 531605: Revert "Merged PR 529351: Update Grpc and Protobuf versions"
Revert !530629
2020-01-28 18:35:53 +00:00
Danny van Velzen ad25bf2be0 Merged PR 530629: Merged PR 529351: Update Grpc and Protobuf versions
Merged PR 529351: Update Grpc and Protobuf versions

Update Grpc and Protobuf versions.
Checked out the codegen and the generated code is almost identical:
* A few case changes of members in the generated protobuf cs file
* Comment changes
* Service classes now have a BindServiceMethod attribute
* The generated class now takes a `ChannelBase` rather than `Channel`
* A new overload of `serviceBinder.AddMethod` is used but passing the same data.
2020-01-23 22:53:28 +00:00
Danny van Velzen 83deedddff Merged PR 529972: Revert "Merged PR 529351: Update Grpc and Protobuf versions"
Revert "Merged PR 529351: Update Grpc and Protobuf versions"

This reverts commit 46f0589b8e.

Cloudubild tried to deploy 2 times and it seems there are too many nuget dependency problems with version mismatches of transitive dependencies... I don't have the bandwidth to keep hinting this down as all the validations run seem to pass.
2020-01-20 05:53:08 +00:00
Danny van Velzen 46f0589b8e Merged PR 529351: Update Grpc and Protobuf versions
Update Grpc and Protobuf versions.
Checked out the codegen and the generated code is almost identical:
* A few case changes of members in the generated protobuf cs file
* Comment changes
* Service classes now have a BindServiceMethod attribute
* The generated class now takes a `ChannelBase` rather than `Channel`
* A new overload of `serviceBinder.AddMethod` is used but passing the same data.
2020-01-16 21:21:08 +00:00