Skip to content

Commit c874fa5

Browse files
authored
Merge pull request #35 from frankodoom/development
Development
2 parents 5a94c4f + 23b7fa6 commit c874fa5

29 files changed

+20504
-19183
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: DEV-WORKFLOW-ACTION
2+
3+
on:
4+
push:
5+
branches: [ development ]
6+
pull_request:
7+
branches: [ development ]
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup .NET
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: 8.x.x
18+
- name: Restore Workload dependencies
19+
run: dotnet workload restore
20+
# - name: Install .NET Maui workload packs
21+
# run: dotnet workload install maui android
22+
- name: Restore NuGet packages
23+
run: dotnet restore
24+
- name: Build
25+
run: dotnet build
26+
- name: Test
27+
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/ --collect:"XPlat Code Coverage"
28+
- name: Upload coverage reports to Codecov
29+
uses: codecov/codecov-action@v4.0.1
30+
with:
31+
token: ${{ secrets.CODECOV_TOKEN }}
32+
file: ./TestResults/coverage.cobertura.xml
33+
flags: unittests
34+
name: codecov-umbrella
35+
#fail_ci_if_error: true

.github/workflows/dotnet.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

Assets/logo.png

26.4 KB
Loading

CODE_OF_CONDUCT.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
# Code of Conduct
3+
4+
## Our Pledge
5+
6+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a positive experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
7+
8+
## Our Standards
9+
10+
Examples of behavior that contribute to creating a positive environment include:
11+
12+
- Using welcoming and inclusive language
13+
- Being respectful of differing viewpoints and experiences
14+
- Gracefully accepting constructive criticism
15+
- Focusing on what is best for the community
16+
- Showing empathy towards other community members
17+
18+
Examples of unacceptable behavior by participants include:
19+
20+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
21+
- Trolling, insulting/derogatory comments, and personal or political attacks
22+
- Public harassment
23+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
24+
- Other conduct which could reasonably be considered inappropriate in a professional setting
25+
26+
## Our Responsibilities
27+
28+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
29+
30+
## Enforcement
31+
32+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at [INSERT CONTACT METHOD HERE]. All complaints will be reviewed and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
33+
34+
## Attribution
35+
36+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 1.4, available at https://www.contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
3+
# Contributing to CountryData.Net
4+
5+
Thank you for considering contributing to CountryData.Net We appreciate all forms of contributions, whether it's fixing bugs, adding new features, updating documentation, or even just discussing ideas. Your input is invaluable to us.
6+
7+
## Getting Started
8+
9+
Before you start contributing, please go through our [Code of Conduct](CODE_OF_CONDUCT.md) to ensure a positive experience for everyone involved.
10+
11+
### How Can I Contribute?
12+
13+
There are many ways you can contribute to CountryData.Net:
14+
15+
#### Reporting Bugs
16+
17+
If you find a bug, please create an issue on GitHub. Make sure to describe the problem in detail, including steps to reproduce the issue, what you expect to happen, and what actually happens.
18+
19+
#### Suggesting Enhancements
20+
21+
For feature requests and enhancements, open an issue first to discuss the change you wish to make. This allows us to better coordinate efforts, prevent duplicate work, and help define the scope of the proposal.
22+
23+
#### Creating Pull Requests
24+
25+
Pull requests are the best way to propose changes to the project. They allow us to review your modifications before merging them into the main branch. Please follow these steps to create a pull request:
26+
27+
1. Fork the Project Repository, *Note* Fork from `development` branch.
28+
2. Create a new branch for your changes.
29+
3. Commit your changes to the new branch.
30+
4. Push your branch to GitHub.
31+
5. Open a Pull Request against the original repository.
32+
33+
Please ensure your pull request adheres to the following rules:
34+
35+
- Each pull request should implement one feature or fix a bug.
36+
- Avoid mixing unrelated changes.
37+
- Update the README.md with details of changes to the interface.
38+
- Increase coverage by writing unit tests.
39+
- Check existing open issues/pull requests first to avoid duplicating effort.
40+
41+
### Style Guide
42+
43+
- Follow the existing style guide. Consistency is key!
44+
- Keep commits small and focused. Large commits are hard to review and often lead to merge conflicts.
45+
- Write meaningful commit messages. Good practice is to write clear, concise messages that explain what was changed and why.
46+
47+
48+
Remember, every contribution counts, no matter how big or small. Thank you for taking the time to improve CountryData.Net!

CountryData.Standard.sln

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{420B8450-0A3
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{EBEF4582-3E32-4FBA-92CA-335DD47C2B4B}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CountryData.UnitTests", "test\CountryData.UnitTests\CountryData.UnitTests.csproj", "{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.UnitTests", "test\CountryData.UnitTests\CountryData.UnitTests.csproj", "{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA}"
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B26DCACD-70E4-4B96-B583-FB0F1B0698F5}"
1313
ProjectSection(SolutionItems) = preProject
1414
.gitignore = .gitignore
1515
azure-pipelines.yml = azure-pipelines.yml
16+
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
1617
data.csv = data.csv
1718
README.md = README.md
1819
EndProjectSection
@@ -21,7 +22,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Standard", "src
2122
EndProject
2223
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{BBA69DE8-BE26-498E-9A62-131EB2494972}"
2324
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CountryData.Sample.Console", "sample\CountryData.Sample.Console\CountryData.Sample.Console.csproj", "{397666FE-700B-446E-B4EC-13ACF0DDDEBE}"
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Sample.ConsoleProject", "sample\CountryData.Sample.Console\CountryData.Sample.ConsoleProject.csproj", "{397666FE-700B-446E-B4EC-13ACF0DDDEBE}"
26+
EndProject
27+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "doc", "doc", "{131F8946-7828-4AB1-A0B7-279CD142F7E1}"
28+
ProjectSection(SolutionItems) = preProject
29+
READMEDoc.md = READMEDoc.md
30+
EndProjectSection
31+
EndProject
32+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{3803AB02-5C70-4523-AA4E-8BEE9AD6D592}"
33+
EndProject
34+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Sample.Web.API", "sample\CountryData.Sample.Web.API\CountryData.Sample.Web.API.csproj", "{787E809D-2E54-47F0-A5CB-8C0D383D327E}"
35+
EndProject
36+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Sample.MAUI", "sample\CountryData.Sample.MAUI\CountryData.Sample.MAUI\CountryData.Sample.MAUI.csproj", "{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}"
2537
EndProject
2638
Global
2739
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -41,6 +53,16 @@ Global
4153
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
4254
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
4355
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Release|Any CPU.Build.0 = Release|Any CPU
56+
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57+
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Debug|Any CPU.Build.0 = Debug|Any CPU
58+
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Release|Any CPU.Build.0 = Release|Any CPU
60+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
61+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
62+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
63+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
64+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.Build.0 = Release|Any CPU
65+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.Deploy.0 = Release|Any CPU
4466
EndGlobalSection
4567
GlobalSection(SolutionProperties) = preSolution
4668
HideSolutionNode = FALSE
@@ -49,6 +71,8 @@ Global
4971
{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA} = {EBEF4582-3E32-4FBA-92CA-335DD47C2B4B}
5072
{A450767F-7970-4A30-834E-3E086B87D925} = {420B8450-0A31-431D-90B0-A5C9C7B314C9}
5173
{397666FE-700B-446E-B4EC-13ACF0DDDEBE} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
74+
{787E809D-2E54-47F0-A5CB-8C0D383D327E} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
75+
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
5276
EndGlobalSection
5377
GlobalSection(ExtensibilityGlobals) = postSolution
5478
SolutionGuid = {CD61C5EF-9299-42A8-81E2-D96FAF1BC81D}

0 commit comments

Comments
 (0)