Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
*.java text eol=lf diff=java
*.gradle text eol=lf diff=java
*.kt text eol=lf diff=kotlin
*.kts text eol=lf diff=kotlin
gradlew text eol=lf
*.bat text eol=crlf

*.md text eol=lf diff=markdown

.editorconfig text eol=lf

*.json text eol=lf
*.json5 text eol=lf
*.properties text eol=lf
*.toml text eol=lf
*.xml text eol=lf diff=html

# Modding specific
*.accesswidener text eol=lf

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.jar binary
*.jks binary
*.png binary
*.so binary
*.war binary
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
13 changes: 9 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
## Description

<!-- Describe your changes in detail -->

## Related Issue(s)

<!-- List the issue(s) this PR solves -->
Fixes #

## How to test

<!-- Provide steps to test this PR -->

## Release Notes

<!--
Add entries for the CHANGELOG.md or "NONE" if there aren't any user facing changes.
Each line becomes a separate entry.
Expand All @@ -19,12 +23,13 @@ Fixes #
```

## Documentation

<!--
Does this PR require updates to the documentation at docs.polyfrost.cc?
Does this PR require updates to the documentation at docs.polyfrost.org?
* Yes
* 1. Please create a docs issue: https://github.com/Polyfrost/OneConfig-Documentation/issues/new
* 2. Make sure this api is cross compatible with the existing api (or at least documented as such, see our policy on cross compatibility)
* 1. Please create a docs issue: https://github.com/Polyfrost/Nexus/issues/new?assignees=&labels=bug&template=new_feature.yml
* 2. Make sure this api is cross compatible with the existing api (or at least documented as such, see our policy on cross compatibility at https://contributing.polyfrost.org/)
* 2. Paste the link to the docs issue below this comment
* No
* Are you sure? If so, nothing to do here.
-->
-->
55 changes: 0 additions & 55 deletions .github/stale.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
group:
repos: |
polyfrost/oneconfig
files:
- source: issue_templates/
dest: .github/ISSUE_TEMPLATE/
- source: .github/workflows/stale.yml
dest: .github/workflows/stale.yml
- source: .gitattributes
dest: .gitattributes
- source: CODE_OF_CONDUCT.md
dest: CODE_OF_CONDUCT.md
30 changes: 30 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Stale Issues / PRs

on:
schedule:
- cron: '00 10 * * *'

jobs:
statle:
name: Check for Stale Issues / PRs
runs-on: ubuntu-latest
steps:
- name: Stale
uses: actions/stale@v9
with:
close-issue-message: >
This issue was closed because it has been stale for 10 days with no activity.
close-pr-message: >
This PR was closed because it has been stale for 10 days with no activity.
days-before-stale: 120
days-before-close: 10
days-before-pr-close: -1
exempt-all-assignees: true
exempt-all-pr-milestones: true
exempt-issue-labels: 'planned,added,fixed,meta: no-stale'
exempt-pr-labels: 'dependencies,i18n,meta: no-stale'
stale-issue-label: 'meta: stale'
stale-issue-message: >
This issue was marked as stale because there has been no activity in the past 120 days.
To remove this label, set the label `meta: no-stale`, or interact with this issue.

18 changes: 18 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: sync issue templates
on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.GH_SYNC_PAT }}
COMMIT_PREFIX: '[no ci]'
PR_LABELS: 'meta: sync'
BRANCH_PREFIX: sync-templates
64 changes: 35 additions & 29 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@

# Contributor Covenant Code of Conduct

This is a modified version of the Contributor Covenant to clarify trolling (line 35),
and add contact information (lines 67-68).

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible 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.
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
Expand All @@ -23,17 +26,17 @@ community include:
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling (excessive antagonistic, inflammatory, insincere behaviour), insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

Expand All @@ -53,17 +56,16 @@ decisions when appropriate.

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at:

https://polyfrost.cc/discord

reported to the community leaders responsible for enforcement via
[our Discord server](https://polyfrost.org/discord), or via
[email](mailto:coc@polyfrost.org).
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand All @@ -85,15 +87,15 @@ behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.
**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

Expand All @@ -109,23 +111,27 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.
**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing

The contributing guide for Polyfrost projects can be found in our [Contributing Documentation](https://polyfrost.org/contributing).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

> Default community health files

This repository contains all the defaults for community health. All the `polyfrost` repository inherit (or override) them.
This repository contains all the defaults for community health. All the `polyfrost` repository inherit (or override) them.
3 changes: 3 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Security Notice

The Security Notice for all Polyfrost projects can be found [on our website](https://polyfrost.org/legal/security).
3 changes: 3 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Support from Polyfrost

You can obtain support from Modrinth on [our Discord server](https://polyfrost.org/discord) or by sending an email to [support@polyfrost.org](mailto:support@polyfrost.org).
50 changes: 50 additions & 0 deletions issue_templates/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bug report
description: Create a report to help us improve Polyfrost. Include screenshots if possible.
labels: [bug]
body:
- type: markdown
attributes:
value: Before raising an issue, please search for existing issues to avoid creating duplicates.
- type: textarea
attributes:
label: Original reporter/ticket ID
description: If you are rewording a ticket, put the original reporter(s) and ticket ID(s). If not, leave this blank.
validations:
required: false
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: false
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Operating System information
description: Information about your environment.
placeholder: |
macOS 13.4.2, git 1.4.0, etc.
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false
Loading