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

63 Коммитов

Автор SHA1 Сообщение Дата
Serge Mera 66beb05120 Merged PR 812680: Add interactive device auth support for Linux
When bxl is running under Linux without an X server available, the regular interactive browser credential is not an option for doing cache auth. Use device code authentication on that case.
2024-10-31 17:22:36 +00:00
Pasindu Gunasekara 🍣 3381b87183 Merged PR 812898: Downgrade System.Security.Principal.Windows to 5.0.0.0
- Version 6.0.0.0 got delisted from nuget.org at some point, but continued to work because our ADO feed cached it from nuget.org.
2024-10-31 17:05:50 +00:00
Michael Pysson 49afda4542 Merged PR 809927: Update System.Text.Json
Update System.Text.Json

Related work items: #2221670
2024-10-11 23:19:39 +00:00
Oleksii Kononenko c0c03d7a08 Merged PR 800074: Update .net packages
Update .net packages (8.0.8 and 6.0.33)

Related work items: #2205871, #2205872, #2205873, #2205874
2024-08-27 20:23:30 +00:00
Oleksii Kononenko 53ff9ba1c9 Merged PR 799153: Remove net7 qualifier
Remove net7 qualifier
2024-08-09 00:15:26 +00:00
Michael Pysson 2631d72083 Merged PR 795055: Bump package versions for Component Governance
Bump package versions for Component Governance

Related work items: #2195385, #2195386, #2195387
2024-07-16 00:20:23 +00:00
Oleksii Kononenko 68b8e5b32d Merged PR 794333: Update net runtime and packages
Update net runtime and packages
2024-07-09 22:51:38 +00:00
Oleksii Kononenko fe5a6759ec Merged PR 786241: Revive Net7 support
CaSaaS is currently on Net7 and it might need updated bxl bits while it's moving to Net8. This PR re-adds net7 qualifier. It's essentially a revert of `0a4d5b272900cfb6ad2c13795650e269500f9d17` and `5380d614bb98bfebb5a63900bb617ff51e93e56e`.

7.0.18 has a vulnerability, so this PR also includes a change that updates net7 bits to 7.0.19 to make the CG happy.

note: MsBuild is back to net7 (net7->net8 for msbuild was a part of net7 removal)
2024-05-22 19:35:13 +00:00
Oleksii Kononenko 8e7874240d Merged PR 784905: Update net runtime and packages
Update net runtime and packages
2024-05-15 19:16:45 +00:00
Oleksii Kononenko 5380d614bb Merged PR 784655: Revert "Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
Reapply the original Net7 removal commit `4c5cc753`. The issue that we initially saw after it was merged was not caused by the commit. The commit forced a cache miss for a couple of pip and it uncovered the issue with vctip/lib.exe.

Must be merged after !784653

Related work items: #2174274
2024-05-14 00:20:53 +00:00
Oleksii Kononenko cea42e3df4 Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
After net7 removal the minimal build fails in CB with 'child process survived' error.

Revert "Merged PR 784187: Remove net7 qualifier

Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274"

Reverted commit `4c5cc753`.

Related work items: #2174274
2024-05-11 00:15:11 +00:00
Oleksii Kononenko 4c5cc753e9 Merged PR 784187: Remove net7 qualifier
Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274
2024-05-10 20:43:31 +00:00
Oleksii Kononenko 993872d960 Merged PR 778582: Update .net runtimes and packages
Update .net runtimes
2024-04-12 06:57:48 +00:00
Michael Pysson 585933e47f Merged PR 776611: Update dotnet versions
Update dotnet versions

Related work items: #2159548, #2159542, #2159549, #2159547, #2159550, #2159545
2024-04-02 18:27:50 +00:00
Oleksii Kononenko dc43f557a0 Merged PR 769435: Add .net8.0 support
[wip] Add .net8.0 support

Related work items: #2139356
2024-02-29 18:03:00 +00:00
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