Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Add project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Jul 12, 2022
0 parents commit d4806fe
Show file tree
Hide file tree
Showing 26 changed files with 1,252 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Ask a question
about: Ask us anything about Inxi.NET.
title: "[Q&A] [FeatureName] - [Question]"
labels: ''
assignees: ''

---

### -+--> Type of question
- [ ] General
- [ ] Parser
- [ ] Hardware
- [ ] Others

### -+--> Ask here
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/report-an-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Report an issue
about: Thank you for reporting a bug to us.
title: "[BUG] [featureName] - [issue]"
labels: ''
assignees: ''

---

### -+--> Description

<!-- Describe how this bug happened, and general information about it. Note that we only speak Arabic and English, so if you're on any other language than we know, then translate. -->
<!-- Note that you need to be as more descriptive as you can so we can understand this bug. -->


### -+--> Expected behavior

<!-- How do you expect Inxi.NET to behave on the suspected component. -->


### -+--> Actual behavior

<!-- What did the suspected component do instead? -->


### -+--> Steps to reproduce

<!-- Provide clear step-by-step instructions on how do you reporduce this bug. -->
1.
1.
1.

### -+--> System Information

<!-- This is here in case it's a hardware probing problem, but the probing should work normally. -->
- **OS:**
- **CPU:**
- **RAM:**
- **HDD:**

### -+--> Version (include commit number if applicable)

<!-- This should be in this format: <Version> (<Commit>) (<Branch>). Commit number and branch required for development builds. -->
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/request-a-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Request a feature
about: Suggest an idea to us.
title: "[ADD] [FeatureName] - [Feature]"
labels: ''
assignees: ''

---

### -+--> Description of new feature
<!--- Explain about a new feature here. --->


### -+--> What does it add?
- [ ] New hardware category
- [ ] Others

### -+--> Have you tried doing it?
38 changes: 38 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
### -+--> Description

<!-- Describe how this bug happened, and general information about it. Note that we only speak Arabic and English, so if you're on any other language than we know, then translate. -->
<!-- Note that you need to be as more descriptive as you can so we can understand this bug. -->


### -+--> Expected behavior

<!-- How do you expect Inxi.NET to behave on the suspected component. -->


### -+--> Actual behavior

<!-- What did the suspected component do instead? -->


### -+--> Steps to reproduce

<!-- Provide clear step-by-step instructions on how do you reporduce this bug. -->
1.
1.
1.

### -+--> System Information

<!-- This is here in case it's a hardware probing problem, but the probing should work normally. -->
**OS:**

**CPU:**

**RAM:**

**HDD:**

### -+--> Version (include commit number if applicable)

<!-- This should be in this format: <Version> (<Commit>). Commit number required for development builds. -->

17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### -+--> Description of change(s)

<!-- Describe about your pull request. Note that we only speak Arabic and English, so if you're on any other language than we know, then translate. -->
<!-- Note that you need to be as more descriptive as you can so we can understand this request. -->


### -+--> Type of change(s)

<!-- Specify what kind of changes you made. -->
- [ ] Behavioral
- [ ] Main parser change
- [ ] Other (specify)

### -+--> If other change(s), please specify here

<!-- Specify the change that didn't fit into the selection. -->

29 changes: 29 additions & 0 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: API Documentation

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: "Make API Reference"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Fetching the source
- uses: "nunit/[email protected]"
name: Generating documentation
with:
args: DocGen/docfx.json
- name: Saving changes to gh-pages
if: ${{ github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v3
with:
commit_message: "Updated documentation to reflect latest changes"
personal_token: ${{ secrets.DOCGEN_TOKEN }}
publish_dir: ./docs/
publish_branch: gh-pages
32 changes: 32 additions & 0 deletions .github/workflows/gpr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Package Registry Push

on:
release:
types: [published]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: NuGet Installation
uses: nuget/setup-nuget@v1
with:
nuget-version: "latest"
- name: CURL Installation
run: choco install curl
- name: MSBuild Installation
uses: microsoft/[email protected]
- name: Dependency Restoration
run: nuget restore "Dictify.sln"
- name: Solution Compilation
run: msbuild "Dictify.sln" /p:Configuration=Release
- name: Package Publication
run: |
$path = "Dictify\bin\Release"
$FileName = Get-ChildItem -Path $path -Recurse -Name -Filter "Dictify.*"
curl -vX PUT -u "EoflaOE:${{ secrets.GH_APIKEY }}" -F package="@$path\$FileName" https://nuget.pkg.github.com/EoflaOE/
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: NuGet Gallery Push

on:
release:
types: [published]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: NuGet Installation
uses: nuget/setup-nuget@v1
with:
nuget-version: "latest"
- name: MSBuild Installation
uses: microsoft/[email protected]
- name: Dependency Restoration
run: nuget restore "Dictify.sln"
- name: Solution Compilation
run: msbuild "Dictify.sln" /p:Configuration=Release
- name: NuGet Preparation
run: nuget setApiKey ${{ secrets.NUGET_APIKEY }}
- name: Package Publication
run: |
$path = "Dictify\bin\Release"
$FileName = Get-ChildItem -Path $path -Recurse -Name -Filter "Dictify.*"
nuget push "$path\$FileName" -source "nuget.org"
Loading

0 comments on commit d4806fe

Please sign in to comment.