From fed9f1cfb7f9dbaf89491ca8e40eb241374cf0be Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 9 Apr 2021 20:39:32 +0200 Subject: Remove links to github repo --- LICENSE_NOTICES | 4 ++-- README.md | 8 ++++---- src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE_NOTICES b/LICENSE_NOTICES index c37df05..fdbdf58 100644 --- a/LICENSE_NOTICES +++ b/LICENSE_NOTICES @@ -4,12 +4,12 @@ be distributed under licenses different than the IOL.VippsEcommerce software. In the event that we accidentally failed to list a required notice, please bring it to our attention through any of the ways detailed here: - https://github.com/ivarlovlie/IOL.VippsEcommerce/issues + ivar@ivarlovlie.no The attached notices are provided for information only. For any licenses that require disclosure of source, sources are available at -https://github.com/ivarlovlie/IOL.VippsEcommerce/. +https://git.sr.ht/~ivar/IOL.VippsEcommerce/. License Notice for Microsoft.NET.Sdk --------------------------- diff --git a/README.md b/README.md index 8bf178b..29e4305 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Implements https://vippsas.github.io/vipps-ecom-api/, more or less (see [IVippsEcommerceService.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/IVippsEcommerceService.cs)). +Implements https://vippsas.github.io/vipps-ecom-api/, more or less (see [IVippsEcommerceService.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/VippsEcommerceService.cs)). `dotnet add package IOL.VippsEcommerce` @@ -18,15 +18,15 @@ services.AddVippsEcommerceService(o => { }); ``` -See [VippsConfiguration.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties. -You can configure how to get values with the `ConfigurationMode` property, valid modes is specified in [VippsConfigurationMode.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationMode.cs), example: +See [VippsConfiguration.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties. +You can configure how to get values with the `ConfigurationMode` property, valid modes is specified in [VippsConfigurationMode.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfigurationMode.cs), example: ```csharp services.AddVippsEcommerceService(o => { o.ConfigurationMode = VippsConfigurationMode.ENVIRONMENT_THEN_OBJECT; }); ``` -With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation. +With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation. > [Environment.GetEnvironmentVariable](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-5.0) is used to retrieve environment variables, that means that user-secrets and anything else than process-spesific variables (`VARIABLE=value dotnet YourBinary.dll`) does not register on Unix systems. diff --git a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj index 9bc526b..0643154 100644 --- a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj +++ b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj @@ -5,9 +5,9 @@ Ivar Løvlie Dotnet classlib for communicating with the vipps e-commerce api. Dotnet classlib for communicating with the vipps e-commerce api. - https://github.com/ivarlovlie/IOL.VippsEcommerce - https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/LICENSE - https://github.com/ivarlovlie/IOL.VippsEcommerce + https://git.sr.ht/~ivar/IOL.VippsEcommerce + https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/LICENSE + https://git.sr.ht/~ivar/IOL.VippsEcommerce git dotnet;vipps-api net5.0 -- cgit v1.3