[Solution] Reformat and cleanup.

This commit is contained in:
2023-10-03 21:59:40 +01:00
parent 4c7b7dd8e4
commit 29512a0a5f
11 changed files with 1442 additions and 1442 deletions

File diff suppressed because it is too large Load Diff

4
.github/FUNDING.yml vendored
View File

@@ -1,6 +1,6 @@
# These are supported funding model platforms
# github: claunia
patreon: claunia
ko_fi: claunia
patreon: claunia
ko_fi: claunia
open_collective: aaru

View File

@@ -1,13 +1,13 @@
name: General Bug Report
name: General Bug Report
description: Bugs report on other commands. Use this to submit device reports.
labels: ["bug", "needs triage"]
labels: [ "bug", "needs triage" ]
assignees:
- silaslaspada
body:
- type: dropdown
id: version
id: version
attributes:
label: Version
label: Version
description: What version of Aaru are you running?
options:
- 5.3.0
@@ -18,22 +18,22 @@ body:
validations:
required: true
- type: input
id: commit
id: commit
attributes:
label: Commit hash
label: Commit hash
description: If using a developmen commit, which one
- type: checkboxes
id: debug
id: debug
attributes:
label: Tested debug version?
label: Tested debug version?
description: Have you reproduced the problem using the debug version?
options:
- label: "Yes"
- label: "Yes"
required: true
- type: checkboxes
id: os
id: os
attributes:
label: Which operating systems have you used?
label: Which operating systems have you used?
description: You may select more than one.
options:
- label: Windows
@@ -41,56 +41,56 @@ body:
- label: macOS
- label: Other
- type: checkboxes
id: bitsize
id: bitsize
attributes:
label: What is the architectural bit size you're using?
label: What is the architectural bit size you're using?
description: You may select more than one.
options:
- label: 32-bit
- label: 64-bit
- label: Unsure or unknown
- type: checkboxes
id: cpu
id: cpu
attributes:
label: What processor are you using?
label: What processor are you using?
description: You may select more than one.
options:
- label: An Intel or AMD
- label: An ARM or Apple Silicon
- label: Unsure or unknown
- type: textarea
id: description
id: description
attributes:
label: Description
label: Description
description: Description of the bug
validations:
required: true
- type: input
id: command_line
id: command_line
attributes:
label: Exact command line used
label: Exact command line used
placeholder: "`Aaru [command] [parameters]`"
validations:
required: true
- type: textarea
id: expected
id: expected
attributes:
label: Expected behavior
label: Expected behavior
description: What did you expect to happen
validations:
required: true
- type: textarea
id: actual
id: actual
attributes:
label: Actual behavior
label: Actual behavior
description: What actually happened
validations:
required: true
- type: textarea
id: output
id: output
attributes:
label: Output of command execution with debug output enabled
label: Output of command execution with debug output enabled
placeholder: Paste the whole output of the executed command when you append '-d' to your command line parameters here
render: shell
render: shell
validations:
required: true

View File

@@ -1,13 +1,13 @@
name: Image Bug Report
name: Image Bug Report
description: Bugs report on commands that handle images, like converting or extracting.
labels: ["bug", "needs triage", "dump image format"]
labels: [ "bug", "needs triage", "dump image format" ]
assignees:
- silaslaspada
body:
- type: dropdown
id: version
id: version
attributes:
label: Version
label: Version
description: What version of Aaru are you running?
options:
- 5.3.0
@@ -18,22 +18,22 @@ body:
validations:
required: true
- type: input
id: commit
id: commit
attributes:
label: Commit hash
label: Commit hash
description: If using a developmen commit, which one
- type: checkboxes
id: debug
id: debug
attributes:
label: Tested debug version?
label: Tested debug version?
description: Have you reproduced the problem using the debug version?
options:
- label: "Yes"
- label: "Yes"
required: true
- type: checkboxes
id: os
id: os
attributes:
label: Which operating systems have you used?
label: Which operating systems have you used?
description: You may select more than one.
options:
- label: Windows
@@ -41,39 +41,39 @@ body:
- label: macOS
- label: Other
- type: checkboxes
id: bitsize
id: bitsize
attributes:
label: What is the architectural bit size you're using?
label: What is the architectural bit size you're using?
description: You may select more than one.
options:
- label: 32-bit
- label: 64-bit
- label: Unsure or unknown
- type: checkboxes
id: cpu
id: cpu
attributes:
label: What processor are you using?
label: What processor are you using?
description: You may select more than one.
options:
- label: An Intel or AMD
- label: An ARM or Apple Silicon
- label: Unsure or unknown
- type: input
id: format
id: format
attributes:
label: Image format
validations:
required: true
- type: input
id: application
id: application
attributes:
label: Application that created the image
validations:
required: true
- type: checkboxes
id: action
id: action
attributes:
label: What were you doing when it failed?
label: What were you doing when it failed?
description: Choose all that apply
options:
- label: I was converting the image to another format...
@@ -86,54 +86,54 @@ body:
- label: I was verifying the image...
- label: I was calculating the image entropy...
- type: input
id: target_format
id: target_format
attributes:
label: Destination image format
label: Destination image format
description: If you were converting the image format, what format were you trying to convert it into
- type: input
id: filesystem
id: filesystem
attributes:
label: Filesystem
label: Filesystem
description: If you were listing information, contents, or extracting the contents of a filesystem, which filesystem is it? (leave empty if unknown)
- type: textarea
id: description
id: description
attributes:
label: Description
label: Description
description: Description of the bug
validations:
required: true
- type: input
id: command_line
id: command_line
attributes:
label: Exact command line used
label: Exact command line used
placeholder: "`Aaru [command] [parameters]`"
validations:
required: true
- type: textarea
id: expected
id: expected
attributes:
label: Expected behavior
label: Expected behavior
description: What did you expect to happen
validations:
required: true
- type: textarea
id: actual
id: actual
attributes:
label: Actual behavior
label: Actual behavior
description: What actually happened
validations:
required: true
- type: textarea
id: output
id: output
attributes:
label: Output of command execution with debug output enabled
label: Output of command execution with debug output enabled
placeholder: Paste the whole output of the executed command when you append '-d' to your command line parameters here
render: shell
render: shell
validations:
required: true
- type: textarea
id: image
id: image
attributes:
label: Affected image
label: Affected image
placeholder: Upload the image, compressed and with the number of this issue.
If the image contains personal data contact the project lead, and the image contents will be handled confidentially under the GDPR requirements.

View File

@@ -1,13 +1,13 @@
name: Media Bug Report
name: Media Bug Report
description: Bugs report on commands that handle media, like dumping or retrieving information.
labels: ["bug", "needs triage", "media"]
labels: [ "bug", "needs triage", "media" ]
assignees:
- silaslaspada
body:
- type: dropdown
id: version
id: version
attributes:
label: Version
label: Version
description: What version of Aaru are you running?
options:
- 5.3.0
@@ -18,22 +18,22 @@ body:
validations:
required: true
- type: input
id: commit
id: commit
attributes:
label: Commit hash
label: Commit hash
description: If using a developmen commit, which one
- type: checkboxes
id: debug
id: debug
attributes:
label: Tested debug version?
label: Tested debug version?
description: Have you reproduced the problem using the debug version?
options:
- label: "Yes"
- label: "Yes"
required: true
- type: checkboxes
id: os
id: os
attributes:
label: Which operating systems have you used?
label: Which operating systems have you used?
description: You may select more than one.
options:
- label: Windows
@@ -41,39 +41,39 @@ body:
- label: macOS
- label: Other
- type: checkboxes
id: bitsize
id: bitsize
attributes:
label: What is the architectural bit size you're using?
label: What is the architectural bit size you're using?
description: You may select more than one.
options:
- label: 32-bit
- label: 64-bit
- label: Unsure or unknown
- type: checkboxes
id: cpu
id: cpu
attributes:
label: What processor are you using?
label: What processor are you using?
description: You may select more than one.
options:
- label: An Intel or AMD
- label: An ARM or Apple Silicon
- label: Unsure or unknown
- type: input
id: manufacturer
id: manufacturer
attributes:
label: Device manufacturer
validations:
required: true
- type: input
id: model
id: model
attributes:
label: Device model
validations:
required: true
- type: checkboxes
id: bus
id: bus
attributes:
label: Bus the device uses to attach to the computer
label: Bus the device uses to attach to the computer
description: Select the physical drive bus as well as the bus you're using if using a cable or card reader
options:
- label: Parallel ATA
@@ -86,19 +86,19 @@ body:
- label: SecureDigital
- label: MultiMediaCard
- type: input
id: usb_manufacturer
id: usb_manufacturer
attributes:
label: USB cable or card reader manufacturer
label: USB cable or card reader manufacturer
description: Fill if using a USB cable or a USB card reader
- type: input
id: usb_model
id: usb_model
attributes:
label: USB cable or card reader model
label: USB cable or card reader model
description: Fill if using a USB cable or a USB card reader
- type: checkboxes
id: action
id: action
attributes:
label: What were you doing when it failed?
label: What were you doing when it failed?
description: Choose all that apply
options:
- label: I was dumping media (disk, tape, etc)...
@@ -106,43 +106,43 @@ body:
- label: I was scanning media (disk, tape, etc)...
- label: I was retrieving device information...
- type: textarea
id: description
id: description
attributes:
label: Description
label: Description
description: Description of the bug
validations:
required: true
- type: input
id: command_line
id: command_line
attributes:
label: Exact command line used
label: Exact command line used
placeholder: "`Aaru [command] [parameters]`"
validations:
required: true
- type: textarea
id: expected
id: expected
attributes:
label: Expected behavior
label: Expected behavior
description: What did you expect to happen
validations:
required: true
- type: textarea
id: actual
id: actual
attributes:
label: Actual behavior
label: Actual behavior
description: What actually happened
validations:
required: true
- type: textarea
id: output
id: output
attributes:
label: Output of command execution with debug output enabled
label: Output of command execution with debug output enabled
placeholder: Paste the whole output of the executed command when you append '-d' to your command line parameters here
render: shell
render: shell
validations:
required: true
- type: textarea
id: details
id: details
attributes:
label: Media details
label: Media details
placeholder: Photo, EAN-13, if possible eBay link

View File

@@ -1,14 +1,14 @@
name: Feature Request
name: Feature Request
description: For feature requests. Please search for existing issues first. Also see CONTRIBUTING.
title: "[Feature request] "
labels: [feature request, needs triage]
assignees:
title: "[Feature request] "
labels: [ feature request, needs triage ]
assignees:
- claunia
body:
- type: dropdown
attributes:
description: Type of feture you're requesting
label: Type
label: Type
options:
- Support for a new media image format...
- Support for identifying a new filesystem...
@@ -21,19 +21,19 @@ body:
- type: textarea
attributes:
description: Detailed Description
label: Description
label: Description
placeholder: Provide a detailed description of the change or addition you are proposing
validations:
required: true
- type: textarea
attributes:
description: Context
label: Context
label: Context
placeholder: Why is this change important to you? How would you use it? How can it benefit other users?
validations:
required: true
- type: textarea
attributes:
description: Known documentation
label: Documentation
label: Documentation
placeholder: Attach documentation, links to specifications or existing source code

View File

@@ -1,6 +1,6 @@
name: "CodeQL"
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
CodeQL-Build:
@@ -12,8 +12,8 @@ jobs:
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
actions: read
contents: read
steps:
- name: Checkout repository
@@ -24,7 +24,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
8.0.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

View File

@@ -1,6 +1,6 @@
name: .NET
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
build:
@@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0
- name: Restore dependencies
run: dotnet restore Aaru.sln
- name: Build
run: dotnet build --no-restore Aaru.sln
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0
- name: Restore dependencies
run: dotnet restore Aaru.sln
- name: Build
run: dotnet build --no-restore Aaru.sln

View File

@@ -1,7 +1,7 @@
language: csharp
solution: Aaru.sln
mono: none
dotnet: 6.0.100
mono: none
dotnet: 6.0.100
script:
- dotnet restore Aaru.sln
- dotnet build Aaru.sln

View File

@@ -1,5 +1,5 @@
trigger:
- master
- master
pool:
vmImage: 'ubuntu-latest'
@@ -8,77 +8,77 @@ variables:
buildConfiguration: 'Release'
steps:
- checkout: self
submodules: true
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r alpine-x64 -o $(Build.ArtifactStagingDirectory)/out/alpine-amd64'
zipAfterPublish: false
displayName: "Building for Alpine Linux (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-arm -o $(Build.ArtifactStagingDirectory)/out/linux-arm'
zipAfterPublish: false
displayName: "Building for Linux (armv7h)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-arm64 -o $(Build.ArtifactStagingDirectory)/out/linux-aarch64'
zipAfterPublish: false
displayName: "Building for Linux (aarch64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-x64 -o $(Build.ArtifactStagingDirectory)/out/linux-amd64'
zipAfterPublish: false
displayName: "Building for Linux (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-x86 -o $(Build.ArtifactStagingDirectory)/out/linux-x86'
zipAfterPublish: false
displayName: "Building for Linux (x86)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r osx-x64 -o $(Build.ArtifactStagingDirectory)/out/macos'
zipAfterPublish: false
displayName: "Building for macOS (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win8-arm -o $(Build.ArtifactStagingDirectory)/out/windows-arm'
zipAfterPublish: false
displayName: "Building for Windows (armv7h)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win-x64 -o $(Build.ArtifactStagingDirectory)/out/windows-x64'
zipAfterPublish: false
displayName: "Building for Windows (x64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win-x86 -o $(Build.ArtifactStagingDirectory)/out/windows-x86'
zipAfterPublish: false
displayName: "Building for Windows (x86)"
- checkout: self
submodules: true
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r alpine-x64 -o $(Build.ArtifactStagingDirectory)/out/alpine-amd64'
zipAfterPublish: false
displayName: "Building for Alpine Linux (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-arm -o $(Build.ArtifactStagingDirectory)/out/linux-arm'
zipAfterPublish: false
displayName: "Building for Linux (armv7h)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-arm64 -o $(Build.ArtifactStagingDirectory)/out/linux-aarch64'
zipAfterPublish: false
displayName: "Building for Linux (aarch64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-x64 -o $(Build.ArtifactStagingDirectory)/out/linux-amd64'
zipAfterPublish: false
displayName: "Building for Linux (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r linux-x86 -o $(Build.ArtifactStagingDirectory)/out/linux-x86'
zipAfterPublish: false
displayName: "Building for Linux (x86)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r osx-x64 -o $(Build.ArtifactStagingDirectory)/out/macos'
zipAfterPublish: false
displayName: "Building for macOS (amd64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win8-arm -o $(Build.ArtifactStagingDirectory)/out/windows-arm'
zipAfterPublish: false
displayName: "Building for Windows (armv7h)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win-x64 -o $(Build.ArtifactStagingDirectory)/out/windows-x64'
zipAfterPublish: false
displayName: "Building for Windows (x64)"
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: 'Aaru/Aaru.csproj'
publishWebProjects: false
arguments: '-r win-x86 -o $(Build.ArtifactStagingDirectory)/out/windows-x86'
zipAfterPublish: false
displayName: "Building for Windows (x86)"

View File

@@ -1 +1 @@
{"projectId":"86f6b810-badc-4055-b342-78cc33bdbeeb","projectName":"Aaru"}
{"projectId": "86f6b810-badc-4055-b342-78cc33bdbeeb", "projectName": "Aaru"}