Skip to content

Commit

Permalink
release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Jul 1, 2024
2 parents effb8f1 + 25197a0 commit b852bad
Show file tree
Hide file tree
Showing 219 changed files with 36,013 additions and 38,533 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ indent_size = 2

# C# files
[*.cs]

# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = none # It's required to be public in case of readonly fields, used like consts
54 changes: 35 additions & 19 deletions .github/workflows/myget-unstable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,48 @@ name: Unstable release deploy to MyGet
on:
push:
branches:
- dev
- 'hotfix/**'
- dev
- 'hotfix/**'
- 'release/**'

jobs:
build-test-package:
runs-on: ubuntu-latest
env:
BeeNet_IT_NodeEndPoint: "http://127.0.0.1/"
BeeNet_IT_NodeVersion: "1.13.2"

steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Build with dotnet
run: dotnet build --configuration Release

- name: Run unit tests
run: dotnet test --configuration Release
- name: Build with dotnet
run: dotnet build --configuration Release

- name: Generate nuget package
run: dotnet pack --configuration Release -o nupkg
# - name: Setup Node.js environment
# uses: actions/setup-node@v3.3.0
#
# - name: Install BeeFactory
# run: npm install -g @ethersphere/bee-factory
#
# - name: Start Bee Nodes
# run: bee-factory start --detach "${{env.BeeNet_IT_NodeVersion}}"
#
# - name: Run integration tests
# run: dotnet test --configuration Release

- name: Generate nuget package
run: dotnet pack --configuration Release -o nupkg

- name: Push packages
run: dotnet nuget push './nupkg/*.nupkg' --api-key ${{secrets.MYGET_APIKEY}} --source https://www.myget.org/F/etherna/api/v3/index.json
- name: Push packages
run: dotnet nuget push './nupkg/*.nupkg' --api-key ${{secrets.MYGET_APIKEY}} --source https://www.myget.org/F/etherna/api/v3/index.json
57 changes: 36 additions & 21 deletions .github/workflows/nuget-stable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,41 @@ on:
jobs:
build-test-package:
runs-on: ubuntu-latest
env:
BeeNet_IT_NodeEndPoint: "http://127.0.0.1/"
BeeNet_IT_NodeVersion: "1.12.0"

steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0

- name: Setup .NET SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'

- name: Build with dotnet
run: dotnet build --configuration Release

- name: Run unit tests
run: dotnet test --configuration Release

- name: Generate nuget package
run: dotnet pack --configuration Release -o nupkg

- name: Push packages
run: dotnet nuget push './nupkg/*.nupkg' --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Build with dotnet
run: dotnet build --configuration Release

# - name: Setup Node.js environment
# uses: actions/setup-node@v3.3.0
#
# - name: Install BeeFactory
# run: npm install -g @ethersphere/bee-factory
#
# - name: Start Bee Nodes
# run: bee-factory start --detach "${{env.BeeNet_IT_NodeVersion}}"
#
# - name: Run tests
# run: dotnet test --configuration Release

- name: Generate nuget package
run: dotnet pack --configuration Release -o nupkg

- name: Push packages
run: dotnet nuget push './nupkg/*.nupkg' --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json
13 changes: 13 additions & 0 deletions .idea/.idea.BeeNet/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.idea.BeeNet/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/.idea.BeeNet/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/.idea.BeeNet/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.BeeNet/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/.idea.bee-net.dir/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/.idea.bee-net.dir/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/.idea.bee-net.dir/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.bee-net.dir/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 21 additions & 6 deletions BeeNet.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31019.35
# Visual Studio Version 17
VisualStudioVersion = 17.3.32811.315
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BeeNet", "src\BeeNet\BeeNet.csproj", "{653BEB35-743E-4612-BEF4-7B26C6FB3D8F}"
EndProject
Expand All @@ -11,18 +11,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
Bee.Net.sln.licenseheader = Bee.Net.sln.licenseheader
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
LICENSE = LICENSE
COPYING = COPYING
README.md = README.md
COPYING-LESSER = COPYING-LESSER
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{C162BCCF-B5C8-466A-AAB7-6D85CC171434}"
ProjectSection(SolutionItems) = preProject
tools\README.md = tools\README.md
tools\swarm-debug-api.nswag = tools\swarm-debug-api.nswag
tools\swarm-gateway-api.nswag = tools\swarm-gateway-api.nswag
tools\bee-api.nswag = tools\bee-api.nswag
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "openapi", "openapi", "{1956F8A3-25CE-42BB-8AE5-77ACC56B9B92}"
Expand All @@ -38,6 +37,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\nuget-stable-deploy.yml = .github\workflows\nuget-stable-deploy.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{990C5C57-6E00-4E76-A23A-519F19290ACB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BeeNet.IntegrationTest", "test\BeeNet.IntegrationTest\BeeNet.IntegrationTest.csproj", "{F0C776C9-4856-4031-B4CE-18E53FEF9E55}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BeeNet.Tests", "test\BeeNet.Tests\BeeNet.Tests.csproj", "{549BB2F5-D48E-4785-AF14-EF116A79AD00}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -48,6 +53,14 @@ Global
{653BEB35-743E-4612-BEF4-7B26C6FB3D8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{653BEB35-743E-4612-BEF4-7B26C6FB3D8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{653BEB35-743E-4612-BEF4-7B26C6FB3D8F}.Release|Any CPU.Build.0 = Release|Any CPU
{F0C776C9-4856-4031-B4CE-18E53FEF9E55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0C776C9-4856-4031-B4CE-18E53FEF9E55}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0C776C9-4856-4031-B4CE-18E53FEF9E55}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0C776C9-4856-4031-B4CE-18E53FEF9E55}.Release|Any CPU.Build.0 = Release|Any CPU
{549BB2F5-D48E-4785-AF14-EF116A79AD00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{549BB2F5-D48E-4785-AF14-EF116A79AD00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{549BB2F5-D48E-4785-AF14-EF116A79AD00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{549BB2F5-D48E-4785-AF14-EF116A79AD00}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -57,6 +70,8 @@ Global
{C162BCCF-B5C8-466A-AAB7-6D85CC171434} = {6EAC22F4-C9F3-4C2E-A0AC-922D4F92B8F6}
{1956F8A3-25CE-42BB-8AE5-77ACC56B9B92} = {C162BCCF-B5C8-466A-AAB7-6D85CC171434}
{F6289FE6-5CC0-4225-98BC-2DCFE85C767F} = {6EAC22F4-C9F3-4C2E-A0AC-922D4F92B8F6}
{F0C776C9-4856-4031-B4CE-18E53FEF9E55} = {990C5C57-6E00-4E76-A23A-519F19290ACB}
{549BB2F5-D48E-4785-AF14-EF116A79AD00} = {990C5C57-6E00-4E76-A23A-519F19290ACB}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BC8368EB-8E3B-4FBB-B657-D1C9375AFAFC}
Expand Down
18 changes: 18 additions & 0 deletions BeeNet.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">Copyright 2021-present Etherna SA
This file is part of Bee.Net.

Bee.Net is free software: you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

Bee.Net is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Bee.Net.
If not, see &lt;https://www.gnu.org/licenses/&gt;.

</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002ECodeCleanup_002EFileHeader_002EFileHeaderSettingsMigrate/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Etherna/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
47 changes: 0 additions & 47 deletions BeeNet.sln.licenseheader

This file was deleted.

Loading

0 comments on commit b852bad

Please sign in to comment.