Skip to content

Commit

Permalink
Replace merge_imports with imports_granularity=Crate (bevyengine#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi authored and anchpop committed Apr 2, 2021
1 parent fa73036 commit 509a1f6
Show file tree
Hide file tree
Showing 368 changed files with 23,370 additions and 13,751 deletions.
2 changes: 1 addition & 1 deletion .cargo/config_fast_builds
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Rename this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below.

# NOTE: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below (as well as "-Csplit-debuginfo=unpacked" when building on macOS).
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing

Please see the [Contributing Code](https://bevyengine.org/learn/book/contributing/code/) section of
[The Book](https://bevyengine.org/learn/book/introduction/).
[The Book](https://bevyengine.org/learn/book/introduction/).
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ labels: ''
assignees: ''
---

**Bevy version**
## Bevy version

The release number or commit hash of the version you're using.

**Operating system & version**
## Operating system & version

Ex: Windows 10, Ubuntu 18.04, iOS 14.

**What you did**
## What you did

The steps you took to uncover this bug. Please list full reproduction steps if
feasible.

**What you expected to happen**
## What you expected to happen

What you think should've happened if everything was working properly.

**What actually happened**
## What actually happened

The actual result of the actions you described.

**Additional information**
## Additional information

Any additional information you would like to add such as screenshots, logs, etc.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ labels: ''
assignees: ''
---

**What problem does this solve or what need does it fill?**
## What problem does this solve or what need does it fill?

A description of why this particular feature should be added.

**What solution would you like?**
## What solution would you like?

The solution you propose for the problem presented.

**What alternative(s) have you considered?**
## What alternative(s) have you considered?

Other solutions to solve and/or work around the problem presented.

**Additional context**
## Additional context

Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.
12 changes: 12 additions & 0 deletions .github/bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
status = [
"build (stable, windows-latest)",
"build (stable, ubuntu-latest)",
"build (stable, macos-latest)",
"build (nightly, ubuntu-latest)",
"build-wasm (stable, ubuntu-latest)",
"build-wasm (nightly, ubuntu-latest)",
"build-android",
"markdownlint",
]

use_squash_merge = true
3 changes: 3 additions & 0 deletions .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"MD013": false
}
31 changes: 21 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]
push:
branches: [main, staging, trying]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -35,13 +34,8 @@ jobs:
if: runner.os == 'linux'

- name: Check the format
run: cargo fmt --all -- --check
if: runner.os == 'linux' && matrix.toolchain == 'stable'

# type complexity must be ignored because we use huge templates for queries
# -A clippy::manual-strip: strip_prefix support was added in 1.45. we want to support earlier rust versions
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings -A clippy::type_complexity -A clippy::manual-strip
# See tools/ci/src/main.rs for the commands this runs
run: cargo run -p ci
if: runner.os == 'linux' && matrix.toolchain == 'stable'

- name: Build & run tests
Expand Down Expand Up @@ -81,3 +75,20 @@ jobs:
run: cargo install cargo-apk
- name: Build APK
run: cargo apk build --example android

markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Run Markdown Lint
uses: github/super-linter@v3.15.2
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: true
DEFAULT_BRANCH: master
# Not needed here as only one Linter is used.
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
toolchain: stable
override: true

- uses: actions/cache@v2
- uses: actions/cache@v2.1.4
with:
path: |
target
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/rebase.yml

This file was deleted.

22 changes: 12 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
<!-- MD024 - We want repeated headings in a changelog file -->
<!-- markdownlint-disable-file MD024 -->

# Changelog

While we try to keep the `Unreleased` changes updated, it is often behind and does not include
all merged pull requests. To see a list of all changes since the latest release, you may compare
current changes on git with [previous release tags][git_tag_comparison].

[git_tag_comparison]: https://github.com/bevyengine/bevy/compare/v0.4.0...master

[git_tag_comparison]: https://github.com/bevyengine/bevy/compare/v0.4.0...main

## Version 0.4.0 (2020-12-19)

### Added

- [add bevymark benchmark example][273]
- [gltf: support camera and fix hierarchy][772]
- [gltf: support camera and fix hierarchy][772]
- [Add tracing spans to schedules, stages, systems][789]
- [add example that represents contributors as bevy icons][801]
- [Add received character][805]
- [Add bevy_dylib to force dynamic linking of bevy][808]
- [Add bevy_dylib to force dynamic linking of bevy][808]
- [Added RenderPass::set_scissor_rect][815]
- [`bevy_log`][836]
- Adds logging functionality as a Plugin.
Expand All @@ -33,7 +36,7 @@ current changes on git with [previous release tags][git_tag_comparison].
- Replaces the properties system
- [Add support for Apple Silicon][928]
- [Live reloading of shaders][937]
- [ Store mouse cursor position in Window][940]
- [Store mouse cursor position in Window][940]
- [Add removal_detection example][945]
- [Additional vertex attribute value types][946]
- [Added WindowFocused event][956]
Expand All @@ -46,9 +49,9 @@ current changes on git with [previous release tags][git_tag_comparison].

### Changed

- [delegate layout reflection to RenderResourceContext][691]
- [delegate layout reflection to RenderResourceContext][691]
- [Fall back to remove components one by one when failing to remove a bundle][719]
- [Port hecs derive macro improvements][761]
- [Port hecs derive macro improvements][761]
- [Use glyph_brush_layout and add text alignment support][765]
- [upgrade glam and hexasphere][791]
- [Flexible ECS Params][798]
Expand Down Expand Up @@ -242,7 +245,7 @@ current changes on git with [previous release tags][git_tag_comparison].
- [`FrameTimeDiagnosticsPlugin` now shows "frame count" in addition to "frame time" and "fps"][678]
- [Add hierarchy example][565]
- [`WgpuPowerOptions` for choosing between low power, high performance, and adaptive power][397]
- Derive `Debug` for more types: [#597][597], [#632][632]
- Derive `Debug` for more types: [#597][597], [#632][632]
- Index buffer specialization
- [Allows the use of U32 indices in Mesh index buffers in addition to the usual U16 indices][568]
- [Switch to u32 indices by default][572]
Expand Down Expand Up @@ -286,7 +289,7 @@ current changes on git with [previous release tags][git_tag_comparison].
- [Migrated to Rodio 0.12][692]
- New method of playing audio can be found in the examples.
- Added support for inserting custom initial values for `Local<T>` system resources [#745][745]

### Fixed

- [Properly update bind group ids when setting dynamic bindings][560]
Expand Down Expand Up @@ -359,7 +362,6 @@ current changes on git with [previous release tags][git_tag_comparison].
[745]: https://github.com/bevyengine/bevy/pull/745
[752]: https://github.com/bevyengine/bevy/pull/752


## Version 0.2.1 (2020-9-20)

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* hecs
* legion_transform
* wgpu-rs examples
* yaks: ArchetypeSet, borrowed some ideas from their scheduler implementation
* yaks: ArchetypeSet, borrowed some ideas from their scheduler implementation

## Inspiration

* game engines: amethyst, coffee
* ecs: legion, shipyard, yaks
* ecs: legion, shipyard, yaks

## Assets

* Generic RPG Pack (CC0 license) by [Bakudas](https://twitter.com/bakudas) and [Gabe Fern](https://twitter.com/_Gabrielfer)
* Environment maps (`.hdr` files) from [HDRIHaven](https://hdrihaven.com) (CC0 license)
* Environment maps (`.hdr` files) from [HDRIHaven](https://hdrihaven.com) (CC0 license)
Loading

0 comments on commit 509a1f6

Please sign in to comment.