Skip to content

Commit 90915aa

Browse files
authored
Add script to sync nuget.config files (and run it) (#418)
* Create script to sync nuget.config files * Run the script
1 parent 0234bdf commit 90915aa

File tree

22 files changed

+182
-84
lines changed

22 files changed

+182
-84
lines changed

Configuration/src/ConfigurationProviders/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/CosmosDb/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/MongoDb/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/MySql/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/MySqlEFCore/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/PostgreSql/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/PostgreSqlEFCore/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/RabbitMQ/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/Redis/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

Connectors/src/SqlServerEFCore/nuget.config

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
This file exists for `cf push`. The file from the repository root is used on solution build.
3+
The `nuget.config` file in the repository root is typically used by IDEs,
4+
whereas a copy in a samples directory is used by `cf push`.
5+
6+
Use the script /tools/sync-nuget-config.ps1 to keep these files in sync.
7+
Do not commit changes to this file directly.
48
-->
59
<configuration>
610
<packageSources>
711
<clear />
812
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
9-
<add key="SteeltoeCI" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
13+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
1014
</packageSources>
1115
<packageSourceMapping>
1216
<packageSource key="nuget.org">
1317
<package pattern="*" />
1418
</packageSource>
15-
<packageSource key="SteeltoeCI">
19+
<packageSource key="Steeltoe-ci">
1620
<package pattern="Steeltoe.*" />
1721
</packageSource>
1822
</packageSourceMapping>

0 commit comments

Comments
 (0)