Skip to content

Commit

Permalink
Revert "adds tgui (now real!) (discordia-space#7685)" (discordia-spac…
Browse files Browse the repository at this point in the history
…e#7728)

This reverts commit 13c3e58.
  • Loading branch information
TheShown911 authored Oct 21, 2022
1 parent 6dc3e92 commit 492001c
Show file tree
Hide file tree
Showing 1,014 changed files with 9,505 additions and 125,333 deletions.
63 changes: 9 additions & 54 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
with:
path: ~/SpacemanDMM
key: ${{ runner.os }}-spacemandmm-${{ secrets.CACHE_PURGE_KEY }}
- name: Restore Yarn cache
uses: actions/cache@v3
with:
path: tgui/.yarn/cache
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ secrets.CACHE_PURGE_KEY }}-
${{ runner.os }}-build-
${{ runner.os }}-
# - name: Restore Yarn cache
# uses: actions/cache@v3
# with:
# path: tgui/.yarn/cache
# key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-build-${{ secrets.CACHE_PURGE_KEY }}-
# ${{ runner.os }}-build-
# ${{ runner.os }}-
- name: Install Tools
run: |
pip3 install setuptools
Expand All @@ -36,11 +36,8 @@ jobs:
- name: Run Linters
run: |
bash tools/ci/check_filedirs.sh cev_eris.dme
bash tools/ci/check_changelogs.sh
bash tools/ci/check_grep.sh
bash tools/ci/check_misc.sh
tools/bootstrap/python tools/validate_dme.py <cev_eris.dme
tools/build/build --ci lint tgui-test
tools/bootstrap/python -m dmi.test
tools/bootstrap/python -m mapmerge2.dmm_test
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
Expand Down Expand Up @@ -106,48 +103,6 @@ jobs:
run: |
source $HOME/BYOND/byond/bin/byondsetup
bash tools/ci/run_server.sh ${{ matrix.map }}
- name: Upload screenshot tests
if: always()
uses: actions/upload-artifact@v3
with:
name: test_artifacts_${{ matrix.map }}
path: data/screenshots_new/
retention-days: 1

compare_screenshots:
if: "!contains(github.event.head_commit.message, '[ci skip]') && always()"
needs: [run_all_tests]
name: Compare Screenshot Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# If we ever add more artifacts, this is going to break, but it'll be obvious.
- name: Download screenshot tests
uses: actions/download-artifact@v3
with:
path: artifacts
- name: ls -R
run: ls -R artifacts
- name: Setup screenshot comparison
run: npm i
working-directory: tools/screenshot-test-comparison
- name: Run screenshot comparison
run: node tools/screenshot-test-comparison/index.js artifacts code/modules/unit_tests/screenshots artifacts/screenshot_comparisons
# workflow_run does not give you the PR it ran on,
# even through the thing literally named "matching pull requests".
# However, in GraphQL, you can check if the check suite was ran
# by a specific PR, so trusting the (user controlled) action here is okay,
# as long as we check it later in show_screenshot_test_results
- name: Save PR ID
if: failure() && github.event.pull_request
run: |
echo ${{ github.event.pull_request.number }} > artifacts/screenshot_comparisons/pull_request_number.txt
- name: Upload bad screenshots
if: failure()
uses: actions/upload-artifact@v3
with:
name: bad-screenshots
path: artifacts/screenshot_comparisons
test_windows:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
Expand Down
28 changes: 13 additions & 15 deletions .github/workflows/compile_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Compile changelogs
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
compile:
Expand All @@ -13,42 +12,41 @@ jobs:
- name: "Check for CHANGELOG_ENABLER secret and pass true to output if it exists to be checked by later steps"
id: value_holder
env:
ENABLER_SECRET: ${{ secrets.CHANGELOG_ENABLER }}
CHANGELOG_ENABLER: ${{ secrets.CHANGELOG_ENABLER }}
run: |
unset SECRET_EXISTS
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
echo "::set-output name=ACTIONS_ENABLED::$SECRET_EXISTS"
if [ -n $CHANGELOG_ENABLER ]; then SECRET_EXISTS='true' ; fi
echo ::set-output name=CL_ENABLED::${SECRET_EXISTS}
- name: "Setup python"
if: steps.value_holder.outputs.ACTIONS_ENABLED
if: steps.value_holder.outputs.CL_ENABLED
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: "Install deps"
if: steps.value_holder.outputs.ACTIONS_ENABLED
if: steps.value_holder.outputs.CL_ENABLED
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
python -m pip install pyyaml bs4
sudo apt-get install dos2unix
- name: "Checkout"
if: steps.value_holder.outputs.ACTIONS_ENABLED
uses: actions/checkout@v3
if: steps.value_holder.outputs.CL_ENABLED
uses: actions/checkout@v1
with:
fetch-depth: 25
persist-credentials: false
- name: "Compile"
if: steps.value_holder.outputs.ACTIONS_ENABLED
if: steps.value_holder.outputs.CL_ENABLED
run: |
python tools/ss13_genchangelog.py html/changelogs
python tools/changelog/ss13_genchangelog.py html/changelog.html html/changelogs
- name: Commit
if: steps.value_holder.outputs.ACTIONS_ENABLED
if: steps.value_holder.outputs.CL_ENABLED
run: |
git config --local user.email "[email protected]"
git config --local user.name "Changelogs"
git pull origin master
git add html/changelogs
git commit -m "Automatic changelog compile [ci skip]" -a || true
- name: "Push"
if: steps.value_holder.outputs.ACTIONS_ENABLED
if: steps.value_holder.outputs.CL_ENABLED
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.COMFY_ORANGE_PAT || secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/make_changelogs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Make changelogs

on:
push:
branches: [master]

jobs:
MakeCL:
runs-on: ubuntu-latest
if: github.repository == 'discordia-space/CEV-Eris'
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install depends
run: |
python -m pip install --upgrade pip
pip install ruamel.yaml PyGithub
- name: Make CL
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_EMAIL: "[email protected]"
GIT_NAME: "Nestor Jr."
run: python tools/changelog/generate_cl.py
22 changes: 0 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@
/sound/tts_cache/**/*
/sound/tts_scrambled/**/*

#Ignore IDE files we don't need in the repo.
/.vs/**/*
/tgstation/FileContentIndex/**/*
/FileContentIndex/**/*
/v17/**/*
/v18/**/*
/v19/**/*
/v20/**/*
/v21/**/*
/v22/**/*

# Ignore compiled linux libs in the root folder, e.g. librust_g.so
/*.so

Expand Down Expand Up @@ -211,14 +200,3 @@ Temporary Items
/tools/LinuxOneShot/TGS_Config
/tools/LinuxOneShot/TGS_Instances
/tools/LinuxOneShot/TGS_Logs

# Built auxtools libraries and intermediate files
aux*.dll
libaux*.so
aux*.pdb

# JavaScript tools
**/node_modules

# Screenshot tests
/artifacts
13 changes: 0 additions & 13 deletions cev_eris.dme
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "code\__DEFINES\colors.dm"
#include "code\__DEFINES\components.dm"
#include "code\__DEFINES\construction.dm"
#include "code\__DEFINES\cooldowns.dm"
#include "code\__DEFINES\craft.dm"
#include "code\__DEFINES\cyborg_traits.dm"
#include "code\__DEFINES\damage_organs.dm"
Expand Down Expand Up @@ -82,7 +81,6 @@
#include "code\__DEFINES\trade.dm"
#include "code\__DEFINES\turfs.dm"
#include "code\__DEFINES\typeids.dm"
#include "code\__DEFINES\verb_manager.dm"
#include "code\__DEFINES\weapons.dm"
#include "code\__DEFINES\ZAS.dm"
#include "code\__DEFINES\spawner\_spawner.dm"
Expand Down Expand Up @@ -246,12 +244,10 @@
#include "code\controllers\subsystems\staverbs.dm"
#include "code\controllers\subsystems\sun.dm"
#include "code\controllers\subsystems\supply.dm"
#include "code\controllers\subsystems\tgui.dm"
#include "code\controllers\subsystems\ticker.dm"
#include "code\controllers\subsystems\timer.dm"
#include "code\controllers\subsystems\tips_manager.dm"
#include "code\controllers\subsystems\trade.dm"
#include "code\controllers\subsystems\verb_manager.dm"
#include "code\controllers\subsystems\vote.dm"
#include "code\controllers\subsystems\wireless.dm"
#include "code\controllers\subsystems\xenoarch.dm"
Expand Down Expand Up @@ -294,7 +290,6 @@
#include "code\datums\recoil.dm"
#include "code\datums\security_state.dm"
#include "code\datums\sound_player.dm"
#include "code\datums\verb_callbacks.dm"
#include "code\datums\weakref.dm"
#include "code\datums\autolathe\ammo.dm"
#include "code\datums\autolathe\autolathe_datums.dm"
Expand All @@ -313,7 +308,6 @@
#include "code\datums\autolathe\prostheses.dm"
#include "code\datums\autolathe\security.dm"
#include "code\datums\autolathe\tools.dm"
#include "code\datums\changelog\changelog.dm"
#include "code\datums\components\_component.dm"
#include "code\datums\components\clothing_sanity_protection.dm"
#include "code\datums\components\fabric.dm"
Expand Down Expand Up @@ -351,7 +345,6 @@
#include "code\datums\helper_datums\topic_input.dm"
#include "code\datums\mob_modifications\mob_modifications.dm"
#include "code\datums\mob_modifications\modification_types.dm"
#include "code\datums\mocking\client.dm"
#include "code\datums\movement\_defines.dm"
#include "code\datums\movement\atom_movable.dm"
#include "code\datums\movement\mob.dm"
Expand Down Expand Up @@ -2803,12 +2796,6 @@
#include "code\modules\telesci\telesci_computer.dm"
#include "code\modules\text_to_speech\tts_html.dm"
#include "code\modules\text_to_speech\tts_main.dm"
#include "code\modules\tgui\external.dm"
#include "code\modules\tgui\states.dm"
#include "code\modules\tgui\status_composers.dm"
#include "code\modules\tgui\tgui.dm"
#include "code\modules\tgui\tgui_window.dm"
#include "code\modules\tgui\states\always.dm"
#include "code\modules\tips_and_tricks\gameplay.dm"
#include "code\modules\tips_and_tricks\jobs.dm"
#include "code\modules\tips_and_tricks\mobs.dm"
Expand Down
3 changes: 0 additions & 3 deletions code/__DEFINES/callbacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
/// A shorthand for the callback datum, [documented here](datum/callback.html)
#define CALLBACK new /datum/callback
#define INVOKE_ASYNC world.ImmediateInvokeAsync
/// like CALLBACK but specifically for verb callbacks
#define VERB_CALLBACK new /datum/callback/verb_callback

#define CALLBACK_NEW(typepath, args) CALLBACK(GLOBAL_PROC, /proc/___callbacknew, typepath, args)
3 changes: 0 additions & 3 deletions code/__DEFINES/components.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
#define COMSIG_GROUP_RITUAL "grup_ritual"
#define COMSIG_TRANSATION "transation" //from transfer_funds()

/// from datum ui_act (usr, action)
#define COMSIG_UI_ACT "COMSIG_UI_ACT"

// /atom signals
#define COMSIG_EXAMINE "examine" //from atom/examine(): (mob/user, distance)
#define COMSIG_ATOM_UPDATE_OVERLAYS "atom_update_overlays" //update_overlays()
Expand Down
63 changes: 0 additions & 63 deletions code/__DEFINES/cooldowns.dm

This file was deleted.

2 changes: 0 additions & 2 deletions code/__DEFINES/subsystems-priority.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ var/list/bitflags = list(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096
#define SS_PRIORITY_DEFAULT 50 // Default priority for both normal and background processes

// Normal
#define FIRE_PRIORITY_DELAYED_VERBS 950
#define FIRE_PRIORITY_TIMER 700
#define SS_PRIORITY_TICKER 200 // Gameticker processing.
#define FIRE_PRIORITY_TGUI 110
#define SS_PRIORITY_MOB 100 // Mob Life().
#define SS_PRIORITY_CHAT 100 // Chat subsystem.
#define SS_PRIORITY_MACHINERY 100 // Machinery + powernet ticks.
Expand Down
Loading

0 comments on commit 492001c

Please sign in to comment.