Skip to content

Commit

Permalink
Merge pull request #35 from frankodoom/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
frankodoom authored Jun 19, 2024
2 parents 5a94c4f + 23b7fa6 commit c874fa5
Show file tree
Hide file tree
Showing 29 changed files with 20,504 additions and 19,183 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/development-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: DEV-WORKFLOW-ACTION

on:
push:
branches: [ development ]
pull_request:
branches: [ development ]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x.x
- name: Restore Workload dependencies
run: dotnet workload restore
# - name: Install .NET Maui workload packs
# run: dotnet workload install maui android
- name: Restore NuGet packages
run: dotnet restore
- name: Build
run: dotnet build
- name: Test
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/ --collect:"XPlat Code Coverage"
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./TestResults/coverage.cobertura.xml
flags: unittests
name: codecov-umbrella
#fail_ci_if_error: true
25 changes: 0 additions & 25 deletions .github/workflows/dotnet.yml

This file was deleted.

Binary file added Assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# Code of Conduct

## Our Pledge

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.

## Our Standards

Examples of behavior that contribute to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

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.

## Enforcement

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.

## Attribution

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/
48 changes: 48 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@


# Contributing to CountryData.Net

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.

## Getting Started

Before you start contributing, please go through our [Code of Conduct](CODE_OF_CONDUCT.md) to ensure a positive experience for everyone involved.

### How Can I Contribute?

There are many ways you can contribute to CountryData.Net:

#### Reporting Bugs

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.

#### Suggesting Enhancements

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.

#### Creating Pull Requests

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:

1. Fork the Project Repository, *Note* Fork from `development` branch.
2. Create a new branch for your changes.
3. Commit your changes to the new branch.
4. Push your branch to GitHub.
5. Open a Pull Request against the original repository.

Please ensure your pull request adheres to the following rules:

- Each pull request should implement one feature or fix a bug.
- Avoid mixing unrelated changes.
- Update the README.md with details of changes to the interface.
- Increase coverage by writing unit tests.
- Check existing open issues/pull requests first to avoid duplicating effort.

### Style Guide

- Follow the existing style guide. Consistency is key!
- Keep commits small and focused. Large commits are hard to review and often lead to merge conflicts.
- Write meaningful commit messages. Good practice is to write clear, concise messages that explain what was changed and why.


Remember, every contribution counts, no matter how big or small. Thank you for taking the time to improve CountryData.Net!
28 changes: 26 additions & 2 deletions CountryData.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{420B8450-0A3
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{EBEF4582-3E32-4FBA-92CA-335DD47C2B4B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CountryData.UnitTests", "test\CountryData.UnitTests\CountryData.UnitTests.csproj", "{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.UnitTests", "test\CountryData.UnitTests\CountryData.UnitTests.csproj", "{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B26DCACD-70E4-4B96-B583-FB0F1B0698F5}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
azure-pipelines.yml = azure-pipelines.yml
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
data.csv = data.csv
README.md = README.md
EndProjectSection
Expand All @@ -21,7 +22,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Standard", "src
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{BBA69DE8-BE26-498E-9A62-131EB2494972}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CountryData.Sample.Console", "sample\CountryData.Sample.Console\CountryData.Sample.Console.csproj", "{397666FE-700B-446E-B4EC-13ACF0DDDEBE}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CountryData.Sample.ConsoleProject", "sample\CountryData.Sample.Console\CountryData.Sample.ConsoleProject.csproj", "{397666FE-700B-446E-B4EC-13ACF0DDDEBE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "doc", "doc", "{131F8946-7828-4AB1-A0B7-279CD142F7E1}"
ProjectSection(SolutionItems) = preProject
READMEDoc.md = READMEDoc.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{3803AB02-5C70-4523-AA4E-8BEE9AD6D592}"
EndProject
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}"
EndProject
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}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -41,6 +53,16 @@ Global
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{397666FE-700B-446E-B4EC-13ACF0DDDEBE}.Release|Any CPU.Build.0 = Release|Any CPU
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{787E809D-2E54-47F0-A5CB-8C0D383D327E}.Release|Any CPU.Build.0 = Release|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.Build.0 = Release|Any CPU
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -49,6 +71,8 @@ Global
{BFFCBBCD-4DD4-4EBE-8282-A4694E6A0ECA} = {EBEF4582-3E32-4FBA-92CA-335DD47C2B4B}
{A450767F-7970-4A30-834E-3E086B87D925} = {420B8450-0A31-431D-90B0-A5C9C7B314C9}
{397666FE-700B-446E-B4EC-13ACF0DDDEBE} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
{787E809D-2E54-47F0-A5CB-8C0D383D327E} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
{2EBA3AC1-C3FE-47B0-8606-917BA212E6AB} = {BBA69DE8-BE26-498E-9A62-131EB2494972}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CD61C5EF-9299-42A8-81E2-D96FAF1BC81D}
Expand Down
Loading

0 comments on commit c874fa5

Please sign in to comment.