Remove some unused files (#12307)
This commit is contained in:
parent
75230d344b
commit
8977bb50ad
19
.mention-bot
19
.mention-bot
|
@ -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
|
|
||||||
}
|
|
57
Makefile
57
Makefile
|
@ -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
|
|
|
@ -1,54 +0,0 @@
|
||||||
#!/usr/bin/env php
|
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* build-base.php
|
|
||||||
*
|
|
||||||
* Create database structure.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* @link http://librenms.org
|
|
||||||
* @copyright 2017 Tony Murray
|
|
||||||
* @author Tony Murray <murraytony@gmail.com>
|
|
||||||
*/
|
|
||||||
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);
|
|
|
@ -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 "$@"
|
|
|
@ -37,7 +37,7 @@ class DefaultLegacySchemaSeeder extends Seeder
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
// insert version 1000 to prevent legacy schema code from running.
|
// 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()) {
|
if (! DB::table('dbSchema')->exists()) {
|
||||||
DB::table('dbSchema')->insert(['version' => 1000]);
|
DB::table('dbSchema')->insert(['version' => 1000]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ you can do so by running the following commands:
|
||||||
cd /opt/librenms
|
cd /opt/librenms
|
||||||
git pull
|
git pull
|
||||||
composer install --no-dev
|
composer install --no-dev
|
||||||
./build-base.php
|
php includes/sql-schema/update.php
|
||||||
./validate.php
|
./validate.php
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -367,7 +367,7 @@ indicate otherwise!
|
||||||
Initiate the follow database with the following command:
|
Initiate the follow database with the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
php build-base.php
|
php includes/sql-schema/update.php
|
||||||
```
|
```
|
||||||
|
|
||||||
# Create admin user
|
# Create admin user
|
||||||
|
|
|
@ -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
|
|
|
@ -1,2 +0,0 @@
|
||||||
# This file is intentionally blank.
|
|
||||||
# Do not add anything to it.
|
|
Loading…
Reference in New Issue