Skip to content

Commit e7ae44f

Browse files
committed
Initial Rootly incident mode
0 parents  commit e7ae44f

1,197 files changed

Lines changed: 403140 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ROOTLY_API_TOKEN=your_token_here

.github/workflows/semgrep.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
on:
3+
pull_request: {}
4+
workflow_dispatch: {}
5+
push:
6+
branches:
7+
- main
8+
- master
9+
schedule:
10+
- cron: '0 0 * * *'
11+
name: Semgrep config
12+
jobs:
13+
semgrep:
14+
name: semgrep/ci
15+
runs-on: ubuntu-20.04
16+
env:
17+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
18+
SEMGREP_URL: https://cloudflare.semgrep.dev
19+
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
20+
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
21+
container:
22+
image: returntocorp/semgrep
23+
steps:
24+
- uses: actions/checkout@v3
25+
- run: semgrep ci

.gitignore

407 Bytes
Binary file not shown.

AUTHORS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Chocolate Doom [Authors][1]:
2+
3+
Simon Howard <fraggle@gmail.com>
4+
James Haley <haleyjd@hotmail.com>
5+
Samuel Villarreal <svkaiser@gmail.com>
6+
Fabian Greffrath <fabian@greffrath.com>
7+
Jonathan Dowland <jon@dow.land>
8+
Alexey Khokholov <alexeytf2@gmail.com>
9+
10+
This Wasm port with WebSockets support:
11+
12+
Cloudflare
13+
14+
[1]: https://raw.githubusercontent.com/chocolate-doom/chocolate-doom/master/AUTHORS

CMakeLists.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
2+
3+
cmake_minimum_required(VERSION 3.7.2)
4+
project("Chocolate Doom" VERSION 3.0.0 LANGUAGES C)
5+
6+
# Autotools variables
7+
set(top_srcdir ${CMAKE_CURRENT_SOURCE_DIR})
8+
set(top_builddir ${CMAKE_CURRENT_BINARY_DIR})
9+
10+
# AC_INIT variables
11+
set(PACKAGE_NAME "${PROJECT_NAME}")
12+
set(PACKAGE_TARNAME "chocolate-doom")
13+
set(PACKAGE_VERSION "${PROJECT_VERSION}")
14+
set(PACKAGE_STRING "${PROJECT_NAME} ${PROJECT_VERSION}")
15+
set(PACKAGE_BUGREPORT "chocolate-doom-dev-list@chocolate-doom.org")
16+
17+
string(REGEX REPLACE " Doom$" "" PACKAGE_SHORTNAME "${PACKAGE_NAME}")
18+
set(PACKAGE_COPYRIGHT "Copyright (C) 1993-2017")
19+
set(PACKAGE_LICENSE "GNU General Public License, version 2")
20+
21+
# Any settings that should apply to all targets in this directory and all
22+
# subdirectories should go here. Use judiciously.
23+
if(MSVC)
24+
add_definitions("/D_CRT_SECURE_NO_WARNINGS" "/D_CRT_SECURE_NO_DEPRECATE"
25+
"/D_CRT_NONSTDC_NO_DEPRECATE")
26+
else()
27+
add_compile_options("-Wall" "-Wdeclaration-after-statement"
28+
"-Wredundant-decls")
29+
endif()
30+
31+
find_package(SDL2 2.0.7)
32+
find_package(SDL2_mixer 2.0.2)
33+
find_package(SDL2_net 2.0.0)
34+
35+
# Check for libsamplerate.
36+
find_package(samplerate)
37+
if(SAMPLERATE_FOUND)
38+
set(HAVE_LIBSAMPLERATE TRUE)
39+
endif()
40+
41+
# Check for libpng.
42+
find_package(PNG)
43+
if(PNG_FOUND)
44+
set(HAVE_LIBPNG TRUE)
45+
endif()
46+
47+
find_package(m)
48+
49+
include(CheckSymbolExists)
50+
include(CheckIncludeFile)
51+
check_symbol_exists(strcasecmp "strings.h" HAVE_DECL_STRCASECMP)
52+
check_symbol_exists(strncasecmp "strings.h" HAVE_DECL_STRNCASECMP)
53+
check_include_file("dirent.h" HAVE_DIRENT_H)
54+
55+
string(CONCAT WINDOWS_RC_VERSION "${PROJECT_VERSION_MAJOR}, "
56+
"${PROJECT_VERSION_MINOR}, ${PROJECT_VERSION_PATCH}, 0")
57+
58+
# Without a hyphen. This is used for the bash-completion scripts.
59+
string(TOLOWER "${PACKAGE_SHORTNAME}" PROGRAM_SPREFIX)
60+
61+
# With a hyphen, used almost everywhere else.
62+
set(PROGRAM_PREFIX "${PROGRAM_SPREFIX}-")
63+
64+
configure_file(cmake/config.h.cin config.h)
65+
66+
configure_file(src/resource.rc.in src/resource.rc)
67+
configure_file(src/setup-res.rc.in src/setup-res.rc)
68+
configure_file(src/setup/setup-manifest.xml.in src/setup/setup-manifest.xml)
69+
70+
foreach(SUBDIR textscreen midiproc opl pcsound src)
71+
add_subdirectory("${SUBDIR}")
72+
endforeach()

0 commit comments

Comments
 (0)