Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beet rework #285

Merged
merged 86 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
e185d8d
WIP
aksiome Nov 14, 2024
979220d
Merge branch 'master' into beet-rework
aksiome Nov 23, 2024
a89110e
Test with new generators
aksiome Nov 26, 2024
b0183da
WIP
aksiome Nov 26, 2024
a561693
Merge branch 'master' into beet-rework
aksiome Nov 26, 2024
1041c23
Refactor scripts
aksiome Nov 27, 2024
a9c402a
Cleanup
aksiome Nov 27, 2024
f66b0b3
Fix packtest and improve consistency
aksiome Nov 27, 2024
6586f85
WIP
aksiome Nov 27, 2024
d982ac9
Update url
aksiome Nov 27, 2024
1f5cca2
Move datapacks
aksiome Nov 27, 2024
df16372
Finish generators rework
aksiome Nov 28, 2024
9c284a4
Start moving modules
aksiome Nov 28, 2024
185cc36
Finish moving modules
aksiome Nov 29, 2024
fcceda6
few fixes
aksiome Nov 30, 2024
6b0992b
Add auto batch to packtest
aksiome Nov 30, 2024
0b049a2
Init bs.load
aksiome Dec 1, 2024
77fcfdc
New directory tree representation in documentation
theogiraudet Dec 1, 2024
663f651
Update commands
aksiome Dec 2, 2024
587b6a0
Update .readthedocs.yml
aksiome Dec 2, 2024
8a56e1a
Fix readthedocs
aksiome Dec 2, 2024
9441f54
Fix github annotations groups
aksiome Dec 2, 2024
52b64ca
Update documentation
aksiome Dec 9, 2024
a25d34d
WIP loader
aksiome Dec 9, 2024
ebe9f2e
Fix tests
aksiome Dec 9, 2024
bb7cab6
Setup action cache
aksiome Dec 9, 2024
71b352e
Update scripts
aksiome Dec 18, 2024
d209db3
Update pdm.lock
aksiome Dec 18, 2024
f8e00ac
Add docs to default dependencies and fix generators
aksiome Dec 18, 2024
c97f71e
Update docs.py
aksiome Dec 18, 2024
6b4338e
Update logger.py
aksiome Dec 18, 2024
107ec2a
Update repo related files and add modules check
aksiome Dec 19, 2024
9e373c3
Update README.md
aksiome Dec 19, 2024
5fe3722
Fix bs.move
aksiome Dec 20, 2024
f2fb2ec
Update load
aksiome Dec 20, 2024
ba5f9bc
Use tree views as library
theogiraudet Dec 21, 2024
3e2d591
Finish switch to tree views as library
aksiome Dec 21, 2024
c55823c
WIP
aksiome Dec 21, 2024
801d8c7
Update doc + README
aksiome Dec 21, 2024
0d9baf6
Update README.md
aksiome Dec 21, 2024
bce2229
Update featured module tiles
aksiome Dec 21, 2024
2d0ceb1
Simplify imgs
aksiome Dec 21, 2024
9a4a6c7
things
aksiome Dec 22, 2024
29d2f64
Merge branch 'master' into beet-rework
aksiome Dec 22, 2024
2698789
Update workflows
aksiome Dec 22, 2024
d035e96
Update meta.yml
aksiome Dec 22, 2024
318637d
Fix tests
aksiome Dec 22, 2024
3eacd39
Update meta.yml
aksiome Dec 23, 2024
12577ef
Try meta commit through push
aksiome Dec 23, 2024
dcebac6
🔖 Update metadata for version v2.2.1
github-actions[bot] Dec 23, 2024
6b764db
Update scripts
aksiome Dec 23, 2024
a2c0c06
🔖 Update generated metadata
github-actions[bot] Dec 23, 2024
4358124
Sort manifest
aksiome Dec 23, 2024
2943c41
Cleanup actions
aksiome Dec 23, 2024
d6bbc3a
Bump dependencies
aksiome Dec 23, 2024
1827d5f
Update styles
aksiome Dec 23, 2024
f1f903a
Add modrinth release
aksiome Dec 24, 2024
8de14b8
Add release_pack version check, new changelog format
aksiome Dec 25, 2024
0c82ac0
Add breaking change warning
aksiome Dec 25, 2024
3e40ea0
🔖 Update generated metadata
github-actions[bot] Dec 25, 2024
9233d85
Finalize bookshelf loader
aksiome Dec 27, 2024
3f6fe55
Merge branch 'master' into beet-rework
aksiome Dec 27, 2024
416dc2a
Specialized changelog
aksiome Dec 27, 2024
4c9e4ad
Improve doc headings
aksiome Dec 27, 2024
17a8c59
Add project update to platform release
aksiome Dec 27, 2024
18533d0
Add readme for each module
aksiome Dec 27, 2024
8a0c662
Simplify module readme
aksiome Dec 27, 2024
c4d72b0
Add slug metadata and doc module examples links
aksiome Dec 27, 2024
d628c28
Update the changelog
aksiome Dec 27, 2024
f97646d
🔖 Update generated metadata
github-actions[bot] Dec 27, 2024
1b75b2a
Improve script used to generate the switcher
aksiome Dec 27, 2024
a8e98c5
Remove Bookshelf from module name
aksiome Dec 28, 2024
2f5e79e
Update titles
aksiome Dec 28, 2024
a7d7594
Add paths (icon, readme, banner) to metadata
aksiome Dec 28, 2024
a1dbee7
Update loader to retry sending error messages
aksiome Dec 28, 2024
b03cbb0
Add command alias for modules (build/watch => modules build/watch)
aksiome Dec 28, 2024
33c227b
Update doc module requirements
aksiome Dec 28, 2024
b29c8cf
Update readmes
aksiome Dec 28, 2024
6100d7c
Add version query param to bundle
aksiome Dec 29, 2024
ae6aae4
Fix bs.load to work in all cases
aksiome Dec 29, 2024
dc6a30b
Add the generated files page and rework a bit the contribute section
aksiome Dec 30, 2024
73adeec
Small contribute tweaks
aksiome Dec 30, 2024
2582457
Add quick cli reference
aksiome Dec 30, 2024
c1c7cac
Follow requested changes
aksiome Dec 30, 2024
abee958
Update CHANGELOG.md
aksiome Dec 30, 2024
796e4b3
Add tooltip to emoji
aksiome Dec 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 0 additions & 14 deletions .env.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
* text=auto
*.ipynb filter=strip-notebook-output

/.github export-ignore
/.vscode export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.mcwpack.yml export-ignore
.readthedocs.yml export-ignore
132 changes: 132 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Contributor Covenant Code of Conduct

## 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, 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.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* 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

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
* Public or private harassment
* 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

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders 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, and will communicate reasons for moderation
decisions when appropriate.

## Scope

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 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
[[email protected]](mailto:[email protected]).
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**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.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
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
individual, or aggression toward or disparagement of classes of individuals.

**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.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][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[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
5 changes: 5 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing to Bookshelf 🎉

Thank you for your interest in contributing to Bookshelf! Please refer to our [contribution documentation](https://docs.mcbookshelf.dev/en/latest/contribute/index.html) for detailed guidelines on how to contribute.

Your contributions make Bookshelf better, and we're excited to work together! 😊
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: ["helloasso.com/associations/altearn/formulaires/3/en"]
custom: ["https://www.helloasso.com/associations/altearn/formulaires/6/en"]
80 changes: 80 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: "🐛 Bug report"
description: Report a reproducible bug for investigation.
labels:
- '🐛 Bug'
body:
- type: input
attributes:
label: Module
description: Specify the module where the bug occurred (e.g., block, health, ...).
validations:
required: true

- type: input
attributes:
label: Feature
description: Specify the feature related to the bug (e.g., get_block, set_max_health, ...).
validations:
required: true

- type: input
attributes:
label: Version
description: Specify the version of Bookshelf you are using.
validations:
required: true

- type: textarea
attributes:
label: Expected Behavior
description: |
Describe what should happen under normal conditions:
- What is the expected output or behavior?
placeholder: |
Example:
- The command returns the correct result.
- The system behaves as described in the documentation.
validations:
required: true

- type: textarea
attributes:
label: Actual Behavior
description: |
Describe what happens instead of the expected behavior:
- Is there an error message or a malfunction?
- How does it differ from what is expected?
placeholder: |
Example:
- The command throws an unexpected error.
- The system behaves incorrectly or inconsistently.
validations:
required: true

- type: textarea
attributes:
label: Possible Fix
description: |
If you have a suggestion for a fix or a reason for the bug, please provide it here.
placeholder: |
Example:
- The issue may be caused by a missing dependency.
- Updating a block tag could resolve this.
validations:
required: false

- type: textarea
attributes:
label: Steps to Reproduce
description: |
Provide a step-by-step guide to help us replicate the issue:
1.
2.
3.
4.
placeholder: |
Example:
1. Call feature A with parameter X.
2. Call feature B and observe behavior Y.
validations:
required: false
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: ❓ Question
url: https://github.com/Gunivers/Bookshelf/discussions
url: https://github.com/mcbookshelf/Bookshelf/discussions
about: Please ask questions here.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "✨ Feature request"
description: Suggest a new feature or improvement.
labels:
- '✨ Feature'
body:
- type: input
attributes:
label: Feature Name
description: Choose a short and descriptive name for the feature.
validations:
required: true

- type: input
attributes:
label: Target Module
description: Specify the module where this feature should be added.
placeholder: block, health, ...
validations:
required: true

- type: textarea
attributes:
label: Feature Description
description: |
Provide a clear description of the feature:
- What functionality does it offer?
- Why is this feature important or useful?
placeholder: |
Example:
- Adds functionality for managing block states.
- Enhances performance for specific tasks.
validations:
required: true

- type: textarea
attributes:
label: Additional Context
description: Provide any extra information, references, or examples to clarify your request.
validations:
required: false
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/module-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "✨ Module request"
description: Suggest a new module.
labels:
- '✨ Module'
body:
- type: input
attributes:
label: Module Name
description: Choose a short and descriptive name for the module.
placeholder: block, health, ...
validations:
required: true

- type: textarea
attributes:
label: Description
description: |
Provide a detailed description of what this module would do:
- What problem does it solve?
- What key features and functionalities would it include?
placeholder: |
Example:
- A module to handle physics calculations and complex movements.
- A collection of small medieval house structures for building.
validations:
required: true

- type: textarea
attributes:
label: Additional Context
description: Provide any extra information, references, or examples to clarify your request.
validations:
required: false
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/other.md

This file was deleted.

16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "📝 Other"
description: Submit any other suggestions, such as adding related tools to the documentation.
body:
- type: textarea
attributes:
label: Suggestion or Inquiry
description: |
Please describe your suggestion, request, or inquiry:
- What would you like to see added, improved, or clarified?
- Include any relevant tools, examples, or links if applicable.
placeholder: |
Example:
- Suggest adding a related tool to the documentation.
- Request an update for clearer documentation on a specific feature.
validations:
required: true
Loading
Loading