Skip to content

Commit 4d3b00a

Browse files
committed
Work CI-CD
- Update azure pipeline yaml. - Fix nuspec. - Update logo for nuget assets. - Switch order to nuget feeds in nuget.config. - Update projects to migrate to VS2022. - Fix typos. - Rename repo files. ***NO_CI***
1 parent 11c9e78 commit 4d3b00a

File tree

10 files changed

+25
-26
lines changed

10 files changed

+25
-26
lines changed

.github_changelog_generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
user=nanoframework
2-
project=lib-System.Device.I2c
2+
project=System.Device.I2c
33
issues=true
44
add_issues_wo_labels=false
55
add_pr_wo_labels=false
File renamed without changes.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2c&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2c) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2c&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2c) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.I2c.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2c/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
22

3-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
44

55
-----
66

7-
### Welcome to the **nanoFramework** System.Device.I2c Library repository!
7+
### Welcome to the .NET **nanoFramework** System.Device.I2c Library repository
88

99
## Build status
1010

@@ -29,7 +29,7 @@ The **nanoFramework** Class Libraries are licensed under the [MIT license](LICEN
2929

3030
## Code of Conduct
3131

32-
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
32+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
3333
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
3434

3535
### .NET Foundation

System.Device.I2c/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
// set of attributes. Change these attribute values to modify the information
1212
// associated with an assembly.
1313
[assembly: AssemblyTitle("nanoFramework System.Device.I2c")]
14-
[assembly: AssemblyDescription("")]
1514
[assembly: AssemblyCompany(".NET nanoFramework contributors")]
16-
[assembly: AssemblyProduct(".NET nanoFramework System.Device.I2c")]
15+
[assembly: AssemblyProduct("nanoFramework System.Device.I2c")]
1716
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
18-
[assembly: AssemblyTrademark("")]
19-
[assembly: AssemblyCulture("")]
2017

2118
////////////////////////////////////////////////////////////////
2219
// update this whenever the native assembly signature changes //

System.Device.I2c/System.Device.I2c.nfproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<PropertyGroup>

assets/nf-logo.png

8.98 KB
Loading
File renamed without changes.

azure-pipelines.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: ["*.md", .gitignore]
5+
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

99
# PR always trigger build
10+
pr:
11+
autoCancel: true
1012

1113
# add nf-tools repo to resources (for Azure Pipelines templates)
1214
resources:
@@ -20,12 +22,11 @@ pool:
2022
vmImage: 'windows-2019'
2123

2224
variables:
23-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
24-
solution: '**/*.sln'
25+
DOTNET_NOLOGO: true
26+
solution: 'nanoFramework.System.Device.I2c.sln'
2527
buildPlatform: 'Any CPU'
2628
buildConfiguration: 'Release'
2729
nugetPackageName: 'nanoFramework.System.Device.I2c'
28-
repoName: 'System.Device.I2c'
2930

3031
steps:
3132

nanoFramework.System.Device.I2c.DELIVERABLES.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<version>$version$</version>
66
<title>nanoFramework.System.Device.I2c.DELIVERABLES</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors</owners>
8+
<owners>nanoFramework,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<releaseNotes>
1111
</releaseNotes>
1212
<developmentDependency>false</developmentDependency>
13-
<projectUrl>https://github.com/nanoframework/lib-System.Device.I2c</projectUrl>
13+
<projectUrl>https://github.com/nanoframework/System.Device.I2c</projectUrl>
1414
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
1515
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
1616
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Device.I2c assembly for nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>

nanoFramework.System.Device.I2c.nuspec

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@
55
<version>$version$</version>
66
<title>nanoFramework.System.Device.I2c</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors</owners>
8+
<owners>nanoFramework,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10-
<license type="expression">MIT</license>
10+
<license type="file">LICENSE.md</license>
1111
<releaseNotes>
1212
</releaseNotes>
13+
<readme>docs\README.md</readme>
1314
<developmentDependency>false</developmentDependency>
14-
<projectUrl>https://github.com/nanoframework/lib-System.Device.I2c</projectUrl>
15-
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
16-
<repository type="git" url="https://github.com/nanoframework/lib-System.Device.I2c" commit="$commit$" />
15+
<projectUrl>https://github.com/nanoframework/System.Device.I2c</projectUrl>
16+
<icon>images\nf-logo.png</icon>
17+
<repository type="git" url="https://github.com/nanoframework/System.Device.I2c" commit="$commit$" />
1718
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
18-
<description>This package includes the System.Device.I2c assembly for nanoFramework C# projects.
19-
This package requires a target with System.Device.I2c v$nativeVersion$ (checksum $checksum$).</description>
20-
<summary>System.Device.I2c assembly for .NET nanoFramework C# projects</summary>
19+
<description>This package includes the System.Device.I2c assembly for nanoFramework C# projects.&#10;This package requires a target with System.Device.I2c v$nativeVersion$ (checksum $checksum$).</description>
2120
<tags>nanoFramework C# csharp netmf netnf System.Device.I2c</tags>
2221
<dependencies>
2322
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@@ -29,7 +28,9 @@ This package requires a target with System.Device.I2c v$nativeVersion$ (checksum
2928
<file src="System.Device.I2c\bin\Release\System.Device.I2c.pdbx" target="lib\System.Device.I2c.pdbx" />
3029
<file src="System.Device.I2c\bin\Release\System.Device.I2c.pe" target="lib\System.Device.I2c.pe" />
3130
<file src="System.Device.I2c\bin\Release\System.Device.I2c.xml" target="lib\System.Device.I2c.xml" />
32-
<!-- readme -->
33-
<file src="readme.txt" target="readme.txt" />
31+
<file src="assets\readme.txt" target="" />
32+
<file src="README.md" target="docs\" />
33+
<file src="assets\nf-logo.png" target="images" />
34+
<file src="LICENSE.md" target="" />
3435
</files>
3536
</package>

0 commit comments

Comments
 (0)