Skip to content

Commit 74a15ca

Browse files
committed
Initial lib implementation.
1 parent 1533e5b commit 74a15ca

36 files changed

+2221
-129
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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: Daily update 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+
defaults:
16+
run:
17+
shell: pwsh
18+
19+
jobs:
20+
update-nuget-dependencies:
21+
name: Update .NET nanoFramework dependencies
22+
timeout-minutes: 15
23+
runs-on: windows-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v2
27+
with:
28+
path: main
29+
- name: Checkout tools repo
30+
uses: actions/checkout@v2
31+
with:
32+
repository: nanoframework/nf-tools
33+
path: tools
34+
- name: Update dependencies
35+
run: ./github-actions/update-nf-dependencies.ps1
36+
working-directory: tools
37+
- name: Create Pull Request
38+
uses: peter-evans/create-pull-request@v3
39+
if: env.CREATE_PR == 'true'
40+
with:
41+
title: '${{ env.PR_TITLE }}'
42+
body: |
43+
${{ env.PR_MESSAGE }}
44+
45+
[version update]
46+
47+
### :warning: This is an automated update. :warning:
48+
committer: 'nfbot <[email protected]>'
49+
branch: ${{ env.BRANCH_NAME }}
50+
path: main
51+
labels: |
52+
Type: dependencies

.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.Aws.IoTCore.Devices
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

.gitignore

Lines changed: 19 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3-
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
53

64
# User-specific files
7-
*.rsuser
85
*.suo
96
*.user
107
*.userosscache
@@ -13,68 +10,48 @@
1310
# User-specific files (MonoDevelop/Xamarin Studio)
1411
*.userprefs
1512

16-
# Mono auto generated files
17-
mono_crash.*
18-
1913
# Build results
2014
[Dd]ebug/
2115
[Dd]ebugPublic/
2216
[Rr]elease/
2317
[Rr]eleases/
2418
x64/
2519
x86/
26-
[Aa][Rr][Mm]/
27-
[Aa][Rr][Mm]64/
2820
bld/
2921
[Bb]in/
3022
[Oo]bj/
3123
[Ll]og/
32-
[Ll]ogs/
3324

34-
# Visual Studio 2015/2017 cache/options directory
25+
# Visual Studio 2015 cache/options directory
3526
.vs/
3627
# Uncomment if you have tasks that create the project's static files in wwwroot
3728
#wwwroot/
3829

39-
# Visual Studio 2017 auto generated files
40-
Generated\ Files/
41-
4230
# MSTest test Results
4331
[Tt]est[Rr]esult*/
4432
[Bb]uild[Ll]og.*
4533

46-
# NUnit
34+
# NUNIT
4735
*.VisualState.xml
4836
TestResult.xml
49-
nunit-*.xml
5037

5138
# Build Results of an ATL Project
5239
[Dd]ebugPS/
5340
[Rr]eleasePS/
5441
dlldata.c
5542

56-
# Benchmark Results
57-
BenchmarkDotNet.Artifacts/
58-
59-
# .NET Core
43+
# DNX
6044
project.lock.json
61-
project.fragment.lock.json
6245
artifacts/
6346

64-
# StyleCop
65-
StyleCopReport.xml
66-
67-
# Files built by Visual Studio
6847
*_i.c
6948
*_p.c
70-
*_h.h
49+
*_i.h
7150
*.ilk
7251
*.meta
7352
*.obj
74-
*.iobj
7553
*.pch
7654
*.pdb
77-
*.ipdb
7855
*.pgc
7956
*.pgd
8057
*.rsp
@@ -84,7 +61,6 @@ StyleCopReport.xml
8461
*.tlh
8562
*.tmp
8663
*.tmp_proj
87-
*_wpftmp.csproj
8864
*.log
8965
*.vspscc
9066
*.vssscc
@@ -113,9 +89,6 @@ ipch/
11389
*.vspx
11490
*.sap
11591

116-
# Visual Studio Trace Files
117-
*.e2e
118-
11992
# TFS 2012 Local Workspace
12093
$tf/
12194

@@ -127,20 +100,15 @@ _ReSharper*/
127100
*.[Rr]e[Ss]harper
128101
*.DotSettings.user
129102

103+
# JustCode is a .NET coding add-in
104+
.JustCode
105+
130106
# TeamCity is a build add-in
131107
_TeamCity*
132108

133109
# DotCover is a Code Coverage Tool
134110
*.dotCover
135111

136-
# AxoCover is a Code Coverage Tool
137-
.axoCover/*
138-
!.axoCover/settings.json
139-
140-
# Visual Studio code coverage results
141-
*.coverage
142-
*.coveragexml
143-
144112
# NCrunch
145113
_NCrunch_*
146114
.*crunch*.local.xml
@@ -172,7 +140,7 @@ publish/
172140
# Publish Web Output
173141
*.[Pp]ublish.xml
174142
*.azurePubxml
175-
# Note: Comment the next line if you want to checkin your web deploy settings,
143+
# TODO: Comment the next line if you want to checkin your web deploy settings
176144
# but database connection strings (with potential passwords) will be unencrypted
177145
*.pubxml
178146
*.publishproj
@@ -184,15 +152,13 @@ PublishScripts/
184152

185153
# NuGet Packages
186154
*.nupkg
187-
# NuGet Symbol Packages
188-
*.snupkg
189155
# The packages folder can be ignored because of Package Restore
190-
**/[Pp]ackages/*
156+
**/packages/*
191157
# except build/, which is used as an MSBuild target.
192-
!**/[Pp]ackages/build/
158+
!**/packages/build/
193159
# Uncomment if necessary however generally it will be regenerated when needed
194-
#!**/[Pp]ackages/repositories.config
195-
# NuGet v3's project.json files produces more ignorable files
160+
#!**/packages/repositories.config
161+
# NuGet v3's project.json files produces more ignoreable files
196162
*.nuget.props
197163
*.nuget.targets
198164

@@ -209,31 +175,24 @@ AppPackages/
209175
BundleArtifacts/
210176
Package.StoreAssociation.xml
211177
_pkginfo.txt
212-
*.appx
213-
*.appxbundle
214-
*.appxupload
215178

216179
# Visual Studio cache files
217180
# files ending in .cache can be ignored
218181
*.[Cc]ache
219182
# but keep track of directories ending in .cache
220-
!?*.[Cc]ache/
183+
!*.[Cc]ache/
221184

222185
# Others
223186
ClientBin/
224187
~$*
225188
*~
226189
*.dbmdl
227190
*.dbproj.schemaview
228-
*.jfm
229191
*.pfx
230192
*.publishsettings
193+
node_modules/
231194
orleans.codegen.cs
232195

233-
# Including strong name files can present a security risk
234-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
235-
#*.snk
236-
237196
# Since there are multiple workflows, uncomment next line to ignore bower_components
238197
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
239198
#bower_components/
@@ -248,22 +207,15 @@ _UpgradeReport_Files/
248207
Backup*/
249208
UpgradeLog*.XML
250209
UpgradeLog*.htm
251-
ServiceFabricBackup/
252-
*.rptproj.bak
253210

254211
# SQL Server files
255212
*.mdf
256213
*.ldf
257-
*.ndf
258214

259215
# Business Intelligence projects
260216
*.rdl.data
261217
*.bim.layout
262218
*.bim_*.settings
263-
*.rptproj.rsuser
264-
*- [Bb]ackup.rdl
265-
*- [Bb]ackup ([0-9]).rdl
266-
*- [Bb]ackup ([0-9][0-9]).rdl
267219

268220
# Microsoft Fakes
269221
FakesAssemblies/
@@ -273,17 +225,13 @@ FakesAssemblies/
273225

274226
# Node.js Tools for Visual Studio
275227
.ntvs_analysis.dat
276-
node_modules/
277228

278229
# Visual Studio 6 build log
279230
*.plg
280231

281232
# Visual Studio 6 workspace options file
282233
*.opt
283234

284-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
285-
*.vbw
286-
287235
# Visual Studio LightSwitch build output
288236
**/*.HTMLClient/GeneratedArtifacts
289237
**/*.DesktopClient/GeneratedArtifacts
@@ -299,52 +247,9 @@ paket-files/
299247
# FAKE - F# Make
300248
.fake/
301249

302-
# CodeRush personal settings
303-
.cr/personal
304-
305-
# Python Tools for Visual Studio (PTVS)
306-
__pycache__/
307-
*.pyc
308-
309-
# Cake - Uncomment if you are using it
310-
# tools/**
311-
# !tools/packages.config
312-
313-
# Tabs Studio
314-
*.tss
315-
316-
# Telerik's JustMock configuration file
317-
*.jmconfig
318-
319-
# BizTalk build output
320-
*.btp.cs
321-
*.btm.cs
322-
*.odx.cs
323-
*.xsd.cs
324-
325-
# OpenCover UI analysis results
326-
OpenCover/
327-
328-
# Azure Stream Analytics local run output
329-
ASALocalRun/
330-
331-
# MSBuild Binary and Structured Log
332-
*.binlog
333-
334-
# NVidia Nsight GPU debugger configuration file
335-
*.nvuser
336-
337-
# MFractors (Xamarin productivity tool) working folder
338-
.mfractor/
339-
340-
# Local History for Visual Studio
341-
.localhistory/
342-
343-
# BeatPulse healthcheck temp database
344-
healthchecksdb
345-
346-
# Backup folder for Package Reference Convert tool in Visual Studio 2017
347-
MigrationBackup/
250+
# JetBrains Rider
251+
.idea/
252+
*.sln.iml
348253

349-
# Ionide (cross platform F# VS Code tools) working folder
350-
.ionide/
254+
#SoundCloud
255+
*.sonarqube/

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelog

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributor Code of Conduct
2+
3+
Please refer to the contributor Code of Conduct at the Home repository [here](https://github.com/nanoframework/Home/blob/main/CODE_OF_CONDUCT.md.

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing to **nanoFramework**
2+
3+
Please refer to the contribution guidelines at the Home repository [here](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md).

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="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
5+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
6+
</packageSources>
7+
</configuration>

0 commit comments

Comments
 (0)