Skip to content

Commit

Permalink
Merge pull request #7 from vroncevic/dev
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
vroncevic committed Oct 2, 2020
2 parents beb9d0c + 514af28 commit 77b9927
Show file tree
Hide file tree
Showing 86 changed files with 71 additions and 103 deletions.
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,4 @@ assignees: vroncevic

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,4 @@ assignees: vroncevic

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
22 changes: 22 additions & 0 deletions .github/workflows/check_mysqldb_docker_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: check_mysqldb docker checker

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker image
id: docker_checker
run: |
echo Building Docker image
build_transcript=$(docker build . --file Dockerfile --tag check_mysqldb:latest)
[[ "$build_transcript" == *"Successfully"* ]] && echo ::set-output name=status::success || echo ::set-output name=status::failure
- name: Check on failures
if: steps.docker_checker.outputs.status == 'failure'
run: exit 1
25 changes: 25 additions & 0 deletions .github/workflows/check_mysqldb_shell_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: check_mysqldb shell checker

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check syntax script
id: syntax_checker
run: bash -n sh_tool/bin/check_mysqldb.sh
- name: Check size script
id: size_checker
run: |
echo Checking size
code_line_number=$(wc -l < sh_tool/bin/check_mysqldb.sh)
[[ $code_line_number -gt 300 ]] && echo ::set-output name=status::failure || echo ::set-output name=status::success
- name: Check on failures
if: steps.syntax_checker.outputs.status == 'failure' || steps.size_checker.outputs.status == 'failure'
run: exit 1
10 changes: 10 additions & 0 deletions .github/workflows/check_mysqldb_toc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: check_mysqldb toc

on: push

jobs:
generateTOC:
name: TOC Generator
runs-on: ubuntu-latest
steps:
- uses: technote-space/toc-generator@v2
33 changes: 0 additions & 33 deletions .github/workflows/docker-checker.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
__pycache__/
*.py[cod]
*$py.class
.Python
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
*.manifest
*.spec
.python-version
.idea/
.vscode/
Empty file modified .readthedocs.yml
100644 → 100755
Empty file.
Empty file modified Dockerfile
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
27 changes: 14 additions & 13 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Checking MySQL DB.
# Checking MySQL DB

**check_mysqldb** is shell tool for checking MySQL database.

Expand All @@ -8,21 +8,22 @@ The README is used to introduce the tool and provide instructions on
how to install the tool, any machine dependencies it may have and any
other information that should be provided before the tool is installed.

[![GitHub issues open](https://img.shields.io/github/issues/vroncevic/check_mysqldb.svg)](https://github.com/vroncevic/check_mysqldb/issues)
[![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/check_mysqldb.svg)](https://github.com/vroncevic/check_mysqldb/graphs/contributors)
[![GitHub issues open](https://img.shields.io/github/issues/vroncevic/check_mysqldb.svg)](https://github.com/vroncevic/check_mysqldb/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/check_mysqldb.svg)](https://github.com/vroncevic/check_mysqldb/graphs/contributors)

<!-- START doctoc -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**

- [Installation](#installation)
- [Usage](#usage)
- [Dependencies](#dependencies)
- [Shell tool structure](#shell-tool-structure)
- [Docs](#docs)
- [Copyright and Licence](#copyright-and-licence)
<!-- END doctoc -->
- [Copyright and licence](#copyright-and-licence)

### INSTALLATION
<!-- END doctoc generated TOC please keep comment here to allow auto update -->

### Installation

Navigate to release [page](https://github.com/vroncevic/check_mysqldb/releases) download and extract release archive.

Expand All @@ -39,7 +40,7 @@ cp -R ~/sh_tool/log/ /root/scripts/check_mysqldb/ver.1.0/

Or You can use docker to create image/container.

### USAGE
### Usage

```
# Create symlink for shell tool
Expand All @@ -52,12 +53,12 @@ export PATH=${PATH}:/root/bin/
check_mysqldb database_name
```

### DEPENDENCIES
### Dependencies

**check_mysqldb** requires next modules and libraries:
* sh_util [https://github.com/vroncevic/sh_util](https://github.com/vroncevic/sh_util)

### SHELL TOOL STRUCTURE
### Shell tool structure

**check_mysqldb** is based on MOP.

Expand All @@ -72,7 +73,7 @@ Code structure:
└── check_mysqldb.log
```

### DOCS
### Docs

[![Documentation Status](https://readthedocs.org/projects/check_mysqldb/badge/?version=latest)](https://check_mysqldb.readthedocs.io/projects/check_mysqldb/en/latest/?badge=latest)

Expand All @@ -81,13 +82,13 @@ More documentation and info at:
* [https://www.gnu.org/software/bash/manual/](https://www.gnu.org/software/bash/manual/)
* [https://mariadb.com/kb/en/documentation/](https://mariadb.com/kb/en/documentation/)

### COPYRIGHT AND LICENCE
### Copyright and licence

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Copyright (C) 2016 by [vroncevic.github.io/check_mysqldb](https://vroncevic.github.io/check_mysqldb)

This tool is free software; you can redistribute it and/or modify
**check_mysqldb** is free software; you can redistribute it and/or modify
it under the same terms as Bash itself, either Bash version 4.2.47 or,
at your option, any later version of Bash 4 you may have available.

Empty file modified docs/Makefile
100644 → 100755
Empty file.
Empty file modified docs/build/doctrees/environment.pickle
100644 → 100755
Empty file.
Empty file modified docs/build/doctrees/index.doctree
100644 → 100755
Empty file.
Empty file modified docs/build/html/.buildinfo
100644 → 100755
Empty file.
Empty file modified docs/build/html/_sources/index.rst.txt
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/ajax-loader.gif
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/basic.css
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/comment-bright.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/comment-close.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/comment.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/css/badge_only.css
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/css/theme.css
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/doctools.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/documentation_options.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/down-pressed.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/down.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/file.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/fonts/Inconsolata-Bold.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Inconsolata-Regular.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Inconsolata.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato-Bold.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato-Regular.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bold.eot
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bold.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bold.woff
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bold.woff2
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bolditalic.eot
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bolditalic.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bolditalic.woff
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-bolditalic.woff2
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-italic.eot
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-italic.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-italic.woff
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-italic.woff2
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-regular.eot
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-regular.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-regular.woff
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/Lato/lato-regular.woff2
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/RobotoSlab-Bold.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/RobotoSlab-Regular.ttf
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified docs/build/html/_static/fonts/fontawesome-webfont.eot
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/fontawesome-webfont.svg
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/fonts/fontawesome-webfont.ttf
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/fontawesome-webfont.woff
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/fonts/fontawesome-webfont.woff2
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/jquery.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/js/modernizr.min.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/js/theme.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/language_data.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/minus.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/plus.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/pygments.css
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/searchtools.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/underscore.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/_static/up-pressed.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/up.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/build/html/_static/websupport.js
100644 → 100755
Empty file.
Empty file modified docs/build/html/genindex.html
100644 → 100755
Empty file.
Empty file modified docs/build/html/index.html
100644 → 100755
Empty file.
Empty file modified docs/build/html/objects.inv
100644 → 100755
Empty file.
Empty file modified docs/build/html/search.html
100644 → 100755
Empty file.
Empty file modified docs/build/html/searchindex.js
100644 → 100755
Empty file.
Empty file modified docs/make.bat
100644 → 100755
Empty file.
Empty file modified docs/setup_tree.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/source/conf.py
100644 → 100755
Empty file.
Empty file modified docs/source/index.rst
100644 → 100755
Empty file.
Empty file modified sh_tool/conf/check_mysqldb_util.cfg
100644 → 100755
Empty file.

0 comments on commit 77b9927

Please sign in to comment.