-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pharmacology' of https://github.com/Bribrooo/Delta-V-HA …
…into pharmacology
- Loading branch information
Showing
3,228 changed files
with
207,751 additions
and
98,254 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
# Last match in file takes precedence. | ||
|
||
/Content.*/SimpleStation14/ @DEATHB4DEFEAT | ||
# C# code | ||
/Content.*/ @DeltaV-Station/maintainers | ||
|
||
/Resources/*.yml @Colin-Tel | ||
/Resources/*/SimpleStation14/ @DEATHB4DEFEAT | ||
/Resources/Maps/ @IamVelcroboy | ||
/Resources/Prototypes/Maps/ @IamVelcroboy | ||
# YML files | ||
/Resources/*.yml @DeltaV-Station/yaml-maintainers | ||
/Resources/**/*.yml @DeltaV-Station/yaml-maintainers | ||
|
||
# Sprites | ||
/Resources/Textures/ @IamVelcroboy | ||
|
||
# Lobby art and music - automatically direction issues since its immediately visible to players | ||
/Resources/Audio/Lobby/ @DeltaV-Station/game-directors | ||
/Resources/Textures/LobbyScreens/ @DeltaV-Station/game-directors | ||
|
||
# Maps | ||
/Resources/Maps/ @DeltaV-Station/maptainers | ||
/Resources/Prototypes/Maps/ @DeltaV-Station/maptainers | ||
/Content.IntegrationTests/Tests/PostMapInitTest.cs @DeltaV-Station/maptainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ jobs: | |
- name: Check for Merge Conflicts | ||
uses: eps1lon/[email protected] | ||
with: | ||
dirtyLabel: "Status: Merge Conflict" | ||
dirtyLabel: "S: Merge Conflict" | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ jobs: | |
|
||
- name: Get this week's Contributors | ||
shell: pwsh | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
run: Tools/dump_github_contributors.ps1 > Resources/Credits/GitHub.txt | ||
|
||
# TODO | ||
|
@@ -32,8 +34,21 @@ jobs: | |
# Uncomment this and comment the other line if you do this. | ||
# https://github.com/stefanzweifel/git-auto-commit-action#push-to-protected-branches | ||
|
||
- name: Commit new credit files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
#- name: Commit new credit files | ||
# uses: stefanzweifel/git-auto-commit-action@v4 | ||
# with: | ||
# commit_message: Update Credits | ||
# commit_author: PJBot <[email protected]> | ||
|
||
# This will make a PR | ||
- name: Set current date as env variable | ||
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit_message: Update Credits | ||
commit_author: DeltaV-Bot <[email protected]> | ||
commit-message: Update Credits | ||
title: Update Credits | ||
body: This is an automated Pull Request. This PR updates the github contributors in the credits section. | ||
author: DeltaV-Bot <[email protected]> | ||
branch: automated/credits-${{env.NOW}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Delta-V Contributing Guidelines | ||
|
||
Generally we follow [upstream's PR guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html) for code quality and such. | ||
|
||
Importantly do not make webedits, copied verbatim from above: | ||
> Do not use GitHub's web editor to create PRs. PRs submitted through the web editor may be closed without review. | ||
Upstream is the [space-wizards/space-station-14](https://github.com/space-wizards/space-station-14) repository that wizden runs on. | ||
|
||
# Content specific to Delta-V | ||
|
||
In general anything you create from scratch (not modifying something that exists from upstream) should go in a DeltaV subfolder. | ||
|
||
Examples: | ||
- `Content.Server/DeltaV/Chapel/SacrificialAltarSystem.cs` | ||
- `Resources/Prototypes/DeltaV/ai_factions.yml` | ||
- `Resources/Audio/DeltaV/Items/gavel.ogg` | ||
- `Resources/Textures/DeltaV/Icons/cri.rsi` | ||
- `Resources/Locale/en-US/deltav/shipyard/shipyard-console.ftl` | ||
The locale subfolder is lowercase `deltav` instead of `DeltaV`. | ||
- `Resources/ServerInfo/Guidebook/DeltaV/AlertProcedure.xml` | ||
Note that guidebooks go in `ServerInfo/Guidebook/DeltaV` and not `ServerInfo/DeltaV`! | ||
|
||
# Changes to upstream files | ||
|
||
If you make a change to an upstream C# or YAML file **you must add comments on or around the changed lines**. | ||
The comments should clarify what changed, to make conflict resolution simpler when a file is changed upstream. | ||
|
||
For YAML specifically, if you add a new component to a prototype add the comment to the `type: ...` line. | ||
If you just modify some fields of a component, comment the fields instead. | ||
|
||
For C# files, if you are adding a lot of code try to put it in a partial class when it makes sense. | ||
|
||
The exception to this is early merging commits that are going to be cherry picked in the future regardless, there's no harm in leaving them as-is. | ||
|
||
As an aside, fluent (.ftl) files **do not support comments on the same line** as a locale value, so be careful when changing them. | ||
|
||
## Examples of comments in upstream files | ||
|
||
A single line comment on a changed yml field: | ||
```yml | ||
- type: entity | ||
parent: BasePDA | ||
id: SciencePDA | ||
name: epistemics PDA # DeltaV - Epistemics Department replacing Science | ||
``` | ||
A pair of comments enclosing a list of added items to starting gear: | ||
```yml | ||
storage: | ||
back: | ||
- EmergencyRollerBedSpawnFolded | ||
# Begin DeltaV additions | ||
- BodyBagFolded | ||
- Portafib | ||
# End DeltaV additions | ||
``` | ||
|
||
A comment on a new imported namespace: | ||
```cs | ||
using Content.Server.Psionics.Glimmer; // DeltaV | ||
``` | ||
|
||
A pair of comments enclosing a block of added code: | ||
```cs | ||
private EntityUid Slice(...) | ||
{ | ||
... | ||
|
||
_transform.SetLocalRotation(sliceUid, 0); | ||
|
||
// DeltaV - start of deep frier stuff | ||
var slicedEv = new FoodSlicedEvent(user, uid, sliceUid); | ||
RaiseLocalEvent(uid, ref slicedEv); | ||
// DeltaV - end of deep frier stuff | ||
... | ||
} | ||
``` | ||
|
||
# Mapping | ||
|
||
If you want to make changes to a map, get in touch with its maintainer to make sure you don't both make changes at the same time. | ||
|
||
Conflicts with maps make PRs mutually exclusive so either your work on the maintainer's work will be lost, communicate to avoid this! | ||
|
||
# Before you submit | ||
|
||
Double-check your diff on GitHub before submitting: look for unintended commits or changes and remove accidental whitespace or line-ending changes. | ||
|
||
Additionally for long-lasting PRs, if you see `RobustToolbox` in the changed files you have to revert it, use `git checkout upstream/master RobustToolbox` (replacing `upstream` with the name of your DeltaV-Station/Delta-V remote) | ||
|
||
# Changelogs | ||
|
||
By default any changelogs goes in the DeltaV changelog, you can use the DeltaV admin changelog by putting `DELTAVADMIN:` in a line after `:cl:`. | ||
|
||
Do not use `ADMIN:` as **it will mangle** the upstream admin changelog! | ||
|
||
# Additional resources | ||
|
||
If you are new to contributing to SS14 in general, have a look at the [SS14 docs](https://docs.spacestation14.io/) or ask for help in `#contribution-help` on [Discord](https://go.delta-v.org/AtDxv)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.