diff --git a/.mention-bot b/.mention-bot deleted file mode 100644 index 1441ec6b4a..0000000000 --- a/.mention-bot +++ /dev/null @@ -1,19 +0,0 @@ -{ - "maxReviewers": 3, - "numFilesToCheck": 5, - "message": "Thank you for submitting a PR @pullRequester! We have found the following @reviewers based on the history of these files to review this PR.", - "findPotentialReviewers": true, - "fileBlacklist": ["*.md", "vendor/*", "lib/*", "*.png", "*.svg"], - "userBlacklist": ["job", "adamathefrog"], - "userBlacklistForPR": [], - "requiredOrgs": [], - "actions": ["opened"], - "skipAlreadyAssignedPR": true, - "skipAlreadyMentionedPR": true, - "assignToReviewer": false, - "skipTitle": "--no review--", - "withLabel": "", - "delayed": false, - "delayedUntil": "30m", - "skipCollaboratorPR": false -} diff --git a/Makefile b/Makefile deleted file mode 100644 index ac356541d5..0000000000 --- a/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -GIT=git -GIT_SUBTREE=$(GIT) subtree pull --squash -SYNC=rsync -rtvx --cvs-exclude --exclude '.*.swp' - -default: - @echo 'Make what?' - -personal p: test push-personal - -test t: pull merge push-testing gc - -check: - find . -type f -name '*.php' | xargs -n1 php -l 2>&1 | awk '/^No syntax errors detected in / {next} {print; ret=1} END {exit ret}' - -gc: - $(GIT) gc - -merge: - $(GIT) merge master - -pull: - $(GIT) pull - -push-dev: - $(GIT) push - -push-personal pp: - $(GIT) push personal - -push-testing pt: - $(GIT) push testing - -update-subtrees: datetime-subtree font-awesome - -datetime-subtree: - $(GIT_SUBTREE) --prefix=html/js/datetime https://github.com/Eonasdan/bootstrap-datetimepicker master - -font-awesome: - $(GIT_SUBTREE) --prefix=lib/Font-Awesome https://github.com/FortAwesome/Font-Awesome.git master - -gridster: - $(GIT_SUBTREE) --prefix=lib/gridster https://github.com/dsmorse/gridster.js.git master - -jquery-mapael: - $(GIT_SUBTREE) --prefix=lib/jQuery-Mapael https://github.com/neveldo/jQuery-Mapael.git master - -mapael-maps: - $(GIT_SUBTREE) --prefix=lib/mapael-maps https://github.com/neveldo/mapael-maps.git master - -jquery-mousewheel: - $(GIT_SUBTREE) --prefix=lib/jquery-mousewheel https://github.com/jquery/jquery-mousewheel.git master - -Leaflet.markercluster: - $(GIT_SUBTREE) --prefix=lib/Leaflet.markercluster https://github.com/Leaflet/Leaflet.markercluster.git master - -Leaflet.awesome-markers: - $(GIT_SUBTREE) --prefix=lib/Leaflet.awesome-markers https://github.com/lvoogdt/Leaflet.awesome-markers.git 2.0/develop diff --git a/build-base.php b/build-base.php deleted file mode 100755 index 5c5cdc0fe4..0000000000 --- a/build-base.php +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env php -. - * - * @link http://librenms.org - * @copyright 2017 Tony Murray - * @author Tony Murray - */ -if (! isset($init_modules)) { - $opts = getopt('ldh:u:p:n:t:s:'); - - $map = [ - 'h' => 'DB_HOST', - 'u' => 'DB_USERNAME', - 'p' => 'DB_PASSWORD', - 'n' => 'DB_DATABASE', - 't' => 'DB_PORT', - 's' => 'DB_SOCKET', - ]; - - // set env variables - foreach ($map as $opt => $env_name) { - if (isset($opts[$opt])) { - putenv("$env_name=" . $opts[$opt]); - } - } - - $init_modules = ['nodb', 'laravel']; - require __DIR__ . '/includes/init.php'; - - set_debug(isset($opts['d'])); - - $skip_schema_lock = isset($opts['l']); -} - -require __DIR__ . '/includes/sql-schema/update.php'; - -exit($return); diff --git a/contrib/findit b/contrib/findit deleted file mode 100755 index 09fd96359e..0000000000 --- a/contrib/findit +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -find . \ - -path ./html/images -prune -o \ - -path ./patches -prune -o \ - -path ./html/includes/geshi -prune -o \ - -path ./html/includes/jpgraph -prune -o \ - -path ./html/js/jqplot -prune -o \ - -path ./lib -prune -o \ - -path ./junk -prune -o \ - -path ./logs -prune -o \ - -path ./mibs -prune -o \ - -path ./rrd -prune -o \ - -name .git -prune -o \ - -type f -print0|xargs -0 grep "$@" diff --git a/database/seeders/DefaultLegacySchemaSeeder.php b/database/seeders/DefaultLegacySchemaSeeder.php index 92e967c976..c0e8a16695 100644 --- a/database/seeders/DefaultLegacySchemaSeeder.php +++ b/database/seeders/DefaultLegacySchemaSeeder.php @@ -37,7 +37,7 @@ class DefaultLegacySchemaSeeder extends Seeder public function run() { // insert version 1000 to prevent legacy schema code from running. - // additionally prevents seeder from being run again by build-base.php / includes/sql-schema/update.php. + // additionally prevents seeder from being run again by includes/sql-schema/update.php. if (! DB::table('dbSchema')->exists()) { DB::table('dbSchema')->insert(['version' => 1000]); } diff --git a/doc/General/Updating.md b/doc/General/Updating.md index ba45541e4a..9491322a92 100644 --- a/doc/General/Updating.md +++ b/doc/General/Updating.md @@ -23,7 +23,7 @@ you can do so by running the following commands: cd /opt/librenms git pull composer install --no-dev -./build-base.php +php includes/sql-schema/update.php ./validate.php ``` diff --git a/doc/Installation/Installation-CentOS-6-Apache-Nginx.md b/doc/Installation/Installation-CentOS-6-Apache-Nginx.md index 63312b8328..32346b79ac 100644 --- a/doc/Installation/Installation-CentOS-6-Apache-Nginx.md +++ b/doc/Installation/Installation-CentOS-6-Apache-Nginx.md @@ -367,7 +367,7 @@ indicate otherwise! Initiate the follow database with the following command: ``` -php build-base.php +php includes/sql-schema/update.php ``` # Create admin user diff --git a/readmegen.yml b/readmegen.yml deleted file mode 100644 index f02aa37f17..0000000000 --- a/readmegen.yml +++ /dev/null @@ -1,30 +0,0 @@ -vcs: git -format: md -issue_tracker_pattern: https://github.com/librenms/librenms/issues/\1 -break: "## Changelog" -output_file_name: "doc/General/Changelog.md" -message_groups: - Bugfixes: - - fix - - bugfix - Devices: - - device - - devices - - newdevice - WebUI: - - webui - - web - Features: - - feature - - feat - Documentation: - - docs - - doc - - documentation - Refactoring: - - refactoring - - refactor - Security: - - security - API: - - api diff --git a/snmp.conf.example b/snmp.conf.example deleted file mode 100644 index 7fe32ec722..0000000000 --- a/snmp.conf.example +++ /dev/null @@ -1,2 +0,0 @@ -# This file is intentionally blank. -# Do not add anything to it.