Skip to content

Commit

Permalink
Apply bestietemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Cmurilochem committed Oct 11, 2024
1 parent 33a11d5 commit b592166
Show file tree
Hide file tree
Showing 70 changed files with 87,444 additions and 85,938 deletions.
3 changes: 3 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
indent = 4
margin = 92
normalize_line_endings = "unix"
5 changes: 5 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projectName": "GalerkinToolkit",
"projectOwner": "fverdugo",
"files": ["README.md", "docs/src/index.md"]
}
13 changes: 13 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changes here will be overwritten by Copier
AnswerStrategy: recommended
Authors: Francesc Verdugo <[email protected]> and contributors
CodeOfConductContact: [email protected]
JuliaIndentation: 4
JuliaMinVersion: '1'
License: MIT
LicenseCopyrightHolders: Francesc Verdugo
PackageName: GalerkinToolkit
PackageOwner: fverdugo
PackageUUID: 5e3ba9c4-dd81-444d-b69a-0e7bd7bf60a4
_commit: v0.12.0
_src_path: https://github.com/JuliaBesties/BestieTemplate.jl
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://editorconfig.org
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
trim_trailing_whitespace = true

[*.jl]
indent_size = 4

[*.md]
indent_size = 2

[*.{yml,toml,json}]
indent_size = 2
65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/10-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Bug Report
description: File a bug report related to running the package
title: "[Bug] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Please, before submitting, make sure that:
- There is not an [existing issue](https://github.com/fverdugo/GalerkinToolkit.jl/issues) with the same question
- You have read the [contributing guide](https://fverdugo.github.io/GalerkinToolkit.jl/dev/90-contributing/)
- You are following the [code of conduct](https://github.com/fverdugo/GalerkinToolkit.jl/blob/main/CODE_OF_CONDUCT.md)
The form below should help you in filling out this issue.
- type: textarea
id: description
attributes:
label: Description
description: Describe the bug
validations:
required: true
- type: input
id: pkg-version
attributes:
label: Package Version
description: What version of the package are you running?
validations:
required: true
- type: input
id: version
attributes:
label: Julia Version
description: What version of Julia are you running?
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction steps
description: What steps led to the bug happening? Please provide a minimal reproducible example.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: dropdown
id: os
attributes:
label: "Operating System"
description: What is the impacted environment?
multiple: true
options:
- Windows
- Linux
- Mac
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/20-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Feature Request"
description: Suggest a new feature for the package
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
Please, before submitting, make sure that:
- There is not an [existing issue](https://github.com/fverdugo/GalerkinToolkit.jl/issues) with the same question
- You have read the [contributing guide](https://fverdugo.github.io/GalerkinToolkit.jl/dev/90-contributing/)
- You are following the [code of conduct](https://github.com/fverdugo/GalerkinToolkit.jl/blob/main/CODE_OF_CONDUCT.md)
The form below should help you in filling out this issue.
- type: textarea
id: description
attributes:
label: Description
description: Describe the requested feature
validations:
required: true
- type: textarea
id: validation
attributes:
label: Validation and testing
description: How could we verify that the new feature works? What kind of tests can be done?
- type: textarea
id: motivation
attributes:
label: Motivation
description: Explain why this feature is relevant
- type: textarea
id: target
attributes:
label: Target audience
description: Tell more about the users of this feature, or where it could be useful
- type: textarea
id: can-help
attributes:
label: Can you help?
description: Can you help developing this feature?
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/30-usage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Usage question"
description: Questions related to the usage
labels: ["documentation"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this question!
Please, before submitting, make sure that:
- You have checked the [documentation](https://fverdugo.github.io/GalerkinToolkit.jl) and haven't found enough information
- There is not an [existing issue](https://github.com/fverdugo/GalerkinToolkit.jl/issues) with the same question
- You have read the [contributing guide](https://fverdugo.github.io/GalerkinToolkit.jl/dev/90-contributing/)
- You are following the [code of conduct](https://github.com/fverdugo/GalerkinToolkit.jl/blob/main/CODE_OF_CONDUCT.md)
The form below should help you in filling out this issue.
- type: textarea
id: description
attributes:
label: Description
description: Write your question
validations:
required: true
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/99-general.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "General issue"
description: In case none of the others templates apply
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue!
Please, before submitting, make sure that:
- There is not an [existing issue](https://github.com/fverdugo/GalerkinToolkit.jl/issues) with the same question
- You have read the [contributing guide](https://fverdugo.github.io/GalerkinToolkit.jl/dev/90-contributing/)
- You are following the [code of conduct](https://github.com/fverdugo/GalerkinToolkit.jl/blob/main/CODE_OF_CONDUCT.md)
The form below should help you in filling out this issue.
- type: textarea
id: description
attributes:
label: Description
description: Describe the issue
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/fverdugo/GalerkinToolkit.jl/discussions
about: Create and follow discussions here
31 changes: 31 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
Thanks for making a pull request to GalerkinToolkit.jl.
We have added this PR template to help you help us.
Make sure to read the contributing guidelines and abide by the code of conduct.
See the comments below, fill the required fields, and check the items.
-->

## Related issues

<!-- We normally work with (i) create issue; (ii) discussion if necessary; (iii) create PR. So, at least one of the following should be true:-->

<!-- Option 1, this closes an existing issue. Fill the number below-->
Closes #

<!-- Option 2, this is a small fix that arguably won't need an issue. Uncomment below -->
<!--
There is no related issue.
-->

## Checklist

<!-- mark true if NA -->
<!-- leave PR as draft until all is checked -->

- [ ] I am following the [contributing guidelines](https://github.com/fverdugo/GalerkinToolkit.jl/blob/main/docs/src/90-contributing.md)

- [ ] Tests are passing
- [ ] Lint workflow is passing
- [ ] Docs were updated and workflow is passing
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
tags: '*'
tags: "*"
pull_request:
concurrency:
# Skip intermediate builds: always.
Expand All @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9'
- "1.9"
os:
- ubuntu-latest
arch:
Expand All @@ -45,7 +45,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9'
- "1.9"
os:
- ubuntu-latest
arch:
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
version: "1"
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
Expand Down
45 changes: 40 additions & 5 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,51 @@
# CompatHelper v3.5.0
name: CompatHelper

on:
schedule:
- cron: 0 0 * * *
- cron: 0 0 * * * # Every day at 00:00 UTC
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
- name: Check if Julia is already available in the PATH
id: julia_in_path
run: which julia
continue-on-error: true
- name: Install Julia, but only if it is not already available in the PATH
uses: julia-actions/setup-julia@v2
with:
version: "1"
arch: ${{ runner.arch }}
if: steps.julia_in_path.outcome != 'success'
- name: Use Julia cache
uses: julia-actions/cache@v2
- name: "Add the General registry via Git"
run: |
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell: julia --color=yes {0}
- name: "Install CompatHelper"
run: |
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)
shell: julia --color=yes {0}
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main()
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
Loading

0 comments on commit b592166

Please sign in to comment.