Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream' into shadowlings
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaumicNik committed Nov 4, 2024
2 parents bc8f72d + 68f0748 commit 90329ee
Show file tree
Hide file tree
Showing 1,054 changed files with 38,158 additions and 24,323 deletions.
6 changes: 3 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@
- any-glob-to-any-file: ['code/**', 'icons/**', 'sounds/**', '_maps/map_files/**', 'tgui/**']
- any-glob-to-any-file: [modular_ss220/**]
- base-branch: 'master'
- head-branch: '^(?!merge-upstream$).*'
- head-branch: '^(?!merge[-_]upstream$).*'

':finnadie: НЕ МОДУЛЬНО':
- all:
- changed-files:
- any-glob-to-any-file: ['code/**', 'icons/**', 'sounds/**', '_maps/map_files/**']
- all-globs-to-all-files: '!modular_ss220/**'
- base-branch: 'master'
- head-branch: '^(?!merge-upstream$).*'
- head-branch: '^(?!merge[-_]upstream$).*'

':pray: Слияние с восходящим потоком':
- all:
- base-branch: 'master'
- head-branch: 'merge-upstream'
- head-branch: 'merge[-_]upstream'

':pencil: Перевод':
- base-branch: 'translate'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Build MILLA
name: Build Rust library
on:
issue_comment:
types: created

jobs:
build-milla:
build-rust:
if: |
github.event.issue.pull_request &&
(github.event.comment.body == '!build_milla') &&
(github.event.comment.body == '!build_rust') &&
((github.event.sender.id == github.event.issue.user.id) ||
(github.event.comment.author_association == 'COLLABORATOR') ||
(github.event.comment.author_association == 'MEMBER') ||
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
ref: ${{ env.PR_BRANCH }}
token: ${{ env.GH_TOKEN }}

- name: Build MILLA
- name: Build rustlibs
env:
BASE_BRANCH: ${{ github.event.repository.default_branch }}
BASE_REPOSITORY: ${{ github.repository }}
Expand All @@ -65,7 +65,7 @@ jobs:
git pull origin "$PR_BRANCH" --depth=$((ahead_by + 1))
git remote add upstream "https://github.com/$BASE_REPOSITORY.git"
git fetch upstream "$BASE_BRANCH" --depth=$((behind_by + 1))
cd milla
cd rust
# Get dependencies.
rustup target add i686-unknown-linux-gnu
Expand All @@ -79,13 +79,13 @@ jobs:
cargo build --release --target i686-pc-windows-gnu
# Copy the built targets to their checked-in locations.
cp target/i686-unknown-linux-gnu/release/libmilla.so ../tools/ci/libmilla_ci.so
cp target/i686-pc-windows-gnu/release/milla.dll ../milla.dll
cp target/i686-unknown-linux-gnu/release/librustlibs.so ../tools/ci/librustlibs_ci.so
cp target/i686-pc-windows-gnu/release/rustlibs.dll ../rustlibs.dll
git commit -a -m "Build MILLA" --allow-empty
git commit -a -m "Build Rust library" --allow-empty
git push origin
- name: Notify Failure
if: failure() && env.FAIL_NOTIFIED != 'true'
run: |
gh pr comment ${{ github.event.issue.html_url }} -b 'Building MILLA failed, see the action run log for details: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
gh pr comment ${{ github.event.issue.html_url }} -b 'Building Rust library failed, see the action run log for details: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ $RECYCLE.BIN
*.swp

# Rust output.
/milla/target/*
/rust/target/*
rustlibs_panic.txt

# mkdocs output.
site
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<img width="15%" alt="Discord" hspace="3%" src=".github/assets/discord-dark.png">
</picture>
</a>
<a href="https://ss220club.github.io/Paradise-SS220">
<a href="https://devdocs.paradisestation.org">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/book-light.png">
<source media="(prefers-color-scheme: light)" srcset=".github/assets/book-dark.png">
Expand All @@ -50,15 +50,15 @@

Этот справочный сайт от создателей BYOND содержит подробную информацию о языке DM, используемом синтаксисе, функциональности нативных процедур (proc) и многом другом. Это всегда полезно иметь под рукой, когда вы вносите свой вклад.

- ### [Autodocumentation Guide](./docs/references/autodoc.md)
- ### [Autodocumentation Guide](https://devdocs.paradisestation.org/references/autodoc/)

Это руководство покажет вам, как оставлять комментарии к коду, соответствующие "автодокументации" - системе, призванной облегчить всем жизнь при чтении и ревью кода!

- ### [Code of Conduct](./docs/CODE_OF_CONDUCT.md)
- ### [Code of Conduct](https://devdocs.paradisestation.org/code_of_conduct/)

Все участники должны ознакомиться с нашим "Кодексом поведения", прежде чем принимать участие в жизни нашего сообщества.

- ### [Contribution Guide](./docs/CONTRIBUTING.md)
- ### [Contribution Guide](https://devdocs.paradisestation.org/contributing/)

Не знаете, как принять участие и внести свой вклад? В этом руководстве дается обзор того, как делать комментарии, открывать Pull Requests и Issues.

Expand Down
2 changes: 1 addition & 1 deletion SQL/paradise_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ CREATE TABLE `feedback` (
`datetime` datetime NOT NULL,
`round_id` int(8) NOT NULL,
`key_name` varchar(32) NOT NULL,
`key_type` enum('text', 'amount', 'tally', 'nested tally', 'associative') NOT NULL,
`key_type` ENUM('text', 'amount', 'tally', 'nested tally', 'associative', 'ledger', 'nested ledger') NOT NULL,
`version` tinyint(3) UNSIGNED NOT NULL,
`json` LONGTEXT NOT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`)
Expand Down
23 changes: 23 additions & 0 deletions SQL/updates/59-60.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
-- Migration: 59-60
-- Author: warriorstar
-- Introduced: PR# 26645

-- This migration adds the 'ledger' and 'nested ledger' enum values to the
-- `feedback` table in conjunction with making those feedback types available
-- through SSblackbox.
-- No data migration is required.

ALTER TABLE
`feedback`
MODIFY
COLUMN `key_type` ENUM(
'text',
'amount',
'tally',
'nested tally',
'associative',
'ledger',
'nested ledger'
) NOT NULL
AFTER
`key_name`;
Loading

0 comments on commit 90329ee

Please sign in to comment.