Skip to content

Commit 479c03f

Browse files
committed
Initial commit
1 parent 7e370a9 commit 479c03f

21 files changed

+491
-0
lines changed

.github/workflows/pr-checks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
name: PR Checks
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
check_package_lock:
11+
name: nanoFramework
12+
uses: nanoframework/nf-tools/.github/workflows/check-package-lock.yml@main
13+
check_nuget_latest:
14+
name: nanoFramework
15+
uses: nanoframework/nf-tools/.github/workflows/check-packages-updated.yml@main
16+
with:
17+
solution: 'nanoFramework.System.Runtime.Serialization.sln'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
5+
6+
name: Update .NET nanoFramework dependencies
7+
8+
on:
9+
schedule:
10+
# At 00:00 UTC every day.
11+
- cron: '00 00 * * *'
12+
repository_dispatch:
13+
types: update-dependencies
14+
15+
jobs:
16+
update-dependencies:
17+
name: nanoFramework
18+
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
19+
with:
20+
solutionsToCheck: 'nanoFramework.System.Runtime.Serialization.sln'
21+
secrets:
22+
githubAuth: ${{ secrets.NFBOT_GITHUB_ACTIONS }}

.github_changelog_generator

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
user=nanoframework
2+
project=nanoFramework.GiantGecko.Adc
3+
issues=true
4+
add_issues_wo_labels=false
5+
add_pr_wo_labels=false
6+
add_issues_wo_labels=false
7+
filter_issues_by_milestone=false
8+
exclude_labels=Area: Config-and-Build,Area: Infrastructure-and-Organization,reverted
9+
enhancement_labels=Type: enhancement
10+
bug_labels=Type: bug
11+
merge_prefix=**Documentation and other chores:**
12+
unreleased_label=**Changes available only in 'Preview' NuGet packages:**
13+
author=false

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) .NET Foundation and Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NuGet.Config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5+
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
6+
</packageSources>
7+
</configuration>

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Runtime.Serialization&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=nanoframework_System.Runtime.Serialization) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Runtime.Serialization&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=nanoframework_System.Runtime.Serialization) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Runtime.Serialization.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Runtime.Serialization/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
2+
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
4+
5+
-----
6+
7+
# Welcome to the .NET **nanoFramework** System.Runtime.Serialization repository
8+
9+
## Build status
10+
11+
| Component | Build Status | NuGet Package |
12+
|:-|---|---|
13+
| nanoFramework.System.Runtime.Serialization | [![Build Status](https://dev.azure.com/nanoframework/System.Runtime.Serialization/_apis/build/status/System.Runtime.Serialization?branchName=main)](https://dev.azure.com/nanoframework/System.Runtime.Serialization/_build/latest?definitionId=98&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Runtime.Serialization.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Runtime.Serialization/) |
14+
15+
## Usage
16+
17+
## Feedback and documentation
18+
19+
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).
20+
21+
Join our Discord community [here](https://discord.gg/gCyBu8T).
22+
23+
## Credits
24+
25+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
26+
27+
## License
28+
29+
The **nanoFramework** Class Libraries are licensed under the [MIT license](LICENSE.md).
30+
31+
## Code of Conduct
32+
33+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
34+
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
35+
36+
### .NET Foundation
37+
38+
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).

assets/nf-logo.png

8.98 KB
Loading

assets/readme.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
_____ _
2+
_ __ __ _ _ __ ___ | ___| __ __ _ _ __ ___ _____ _____ _ __| | __
3+
| '_ \ / _` | '_ \ / _ \| |_ | '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
4+
| | | | (_| | | | | (_) | _|| | | (_| | | | | | | __/\ V V / (_) | | | <
5+
|_| |_|\__,_|_| |_|\___/|_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_\
6+
7+
===================================================================================
8+
9+
API docs: https://docs.nanoframework.net/api/nanoFramework.System.Runtime.Serialization
10+
11+
Browse our samples repository: https://github.com/nanoframework/Samples
12+
13+
Check our documentation online: https://docs.nanoframework.net
14+
15+
Join our lively Discord community: https://discord.gg/gCyBu8T
16+
17+
Report issues: https://github.com/nanoframework/Home/issues
18+
19+
Follow us on Twitter: https://twitter.com/nanoframework
20+
21+
Follow our YouTube channel: https://www.youtube.com/c/nanoFramework

azure-pipelines.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
trigger:
5+
branches:
6+
include:
7+
- main
8+
- develop
9+
- release-*
10+
paths:
11+
exclude:
12+
- .github_changelog_generator
13+
- .gitignore
14+
- CHANGELOG.md
15+
- CODE_OF_CONDUCT.md
16+
- LICENSE.md
17+
- README.md
18+
- NuGet.Config
19+
- assets/*
20+
- config/*
21+
- .github/*
22+
tags:
23+
include:
24+
- v*
25+
26+
# PR always trigger build
27+
pr:
28+
autoCancel: true
29+
30+
# add nf-tools repo to resources (for Azure Pipelines templates)
31+
resources:
32+
repositories:
33+
- repository: templates
34+
type: github
35+
name: nanoframework/nf-tools
36+
endpoint: nanoframework
37+
38+
pool:
39+
vmImage: 'windows-latest'
40+
41+
variables:
42+
DOTNET_NOLOGO: true
43+
solution: 'nanoFramework.System.Runtime.Serialization.sln'
44+
buildPlatform: 'Any CPU'
45+
buildConfiguration: 'Release'
46+
nugetPackageName: 'nanoFramework.System.Runtime.Serialization'
47+
48+
steps:
49+
50+
# step from template @ nf-tools repo
51+
# all build, update and publish steps
52+
- template: azure-pipelines-templates/class-lib-build.yml@templates
53+
parameters:
54+
sonarCloudProject: 'nanoframework_System.Runtime.Serialization'
55+
56+
# step from template @ nf-tools repo
57+
# report error
58+
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
59+
parameters:
60+
status: 'failure'
61+
webhookUrl: '$(DiscordWebhook)'
62+
message: ''

config/SignClient.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"SignClient": {
3+
"AzureAd": {
4+
"AADInstance": "https://login.microsoftonline.com/",
5+
"ClientId": "c248d68a-ba6f-4aa9-8a68-71fe872063f8",
6+
"TenantId": "16076fdc-fcc1-4a15-b1ca-32c9a255900e"
7+
},
8+
"Service": {
9+
"Url": "https://codesign.dotnetfoundation.org/",
10+
"ResourceId": "https://SignService/3c30251f-36f3-490b-a955-520addb85001"
11+
}
12+
}
13+
}
14+

0 commit comments

Comments
 (0)