-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into invt_modbus
- Loading branch information
Showing
508 changed files
with
30,357 additions
and
4,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
max_line_length = 80 | ||
|
||
indent_style = tab | ||
tab_width = 4 | ||
#indent_style = space | ||
#indent_size = 4 | ||
|
||
# Platform-dependent, except for certain interpreters | ||
# whose sources must use LF, see .gitattributes | ||
###end_of_line = lf | ||
|
||
#ij_formatter_enabled = false | ||
|
||
[.editorconfig] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{bat,cmd,ps1}] | ||
end_of_line = crlf | ||
|
||
[*.{am,hwdb,service,target,path}{,.in}] | ||
end_of_line = lf | ||
line_comment = # | ||
|
||
[*.sh{,.in}] | ||
end_of_line = lf | ||
line_comment = # | ||
|
||
# Borrowed from https://github.com/armbian/build/blob/master/.editorconfig | ||
shell_variant = bash | ||
binary_next_line = false | ||
switch_case_indent = true | ||
space_redirects = true | ||
keep_padding = false | ||
function_next_line = false | ||
|
||
[*.{m4,ac}{,.in}] | ||
end_of_line = lf | ||
line_comment = dnl | ||
|
||
[*.{conf,sample}{,.in}] | ||
max_line_length = 76 | ||
line_comment = # | ||
|
||
[*.txt{,.in},*.adoc{,.in},AUTHORS,COPYING,INSTALL.nut,MAINTAINERS,NEWS,README,TODO,UPGRADING] | ||
max_line_length = 76 | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Assumes asciidoc comments: | ||
block_comment_start = //////// | ||
block_comment_end = //////// | ||
|
||
[*.{yaml,yml,json}{,.in}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
################################################################ | ||
# Primary concern: C/C++ style | ||
# See also docs/developers.txt => Code Style chapter | ||
|
||
[*.{c,h,cpp}{,.in}] | ||
spaces_around_operators = true | ||
spaces_around_brackets = none | ||
|
||
# Plus one TAB: | ||
continuation_indent_size = 1 | ||
|
||
indent_brace_style = K&R | ||
|
||
block_comment_start = /* | ||
block_comment_end = */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: networkupstools | ||
open_collective: networkupstools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '32 12 * * 0' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'cpp' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
# TODO: Want to find Python sources to test like with LGTM, see https://github.com/networkupstools/nut/issues/1726 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,23 @@ | |
# This is a blatant ripoff of the fields found in the Linux kernel's CREDITS | ||
# file. If we need more data, those fields can always be added later. | ||
# | ||
# N = name, E = email, W = web address, D = description, P = PGP info, | ||
# N = name, E = email, W = web address, D = description, P = PGP info, | ||
# S = snailmail address, etc. | ||
# | ||
# This file is supposed to be roughly alpha-sorted by the last name, but | ||
# if you want to hide at the bottom, that's fine by me. Just clarify | ||
# your preference when submitting changes to this file. | ||
|
||
N: Axel Gembe | ||
E: [email protected] | ||
W: http://axel.gembe.net/ | ||
D: Added APC Modbus support | ||
P: rsa4096/43109AAC 11E6 515C B8A4 26C6 07C1 36A4 1CB3 AA21 4310 9AAC | ||
|
||
N: Stephen Brown | ||
E: [email protected] | ||
W: http://www.datalimbo.net/ | ||
D: Hacked genericups to add TrippLite Lan2.x support (Internet Office 700) | ||
D: Hacked genericups to add TrippLite Lan2.x support (Internet Office 700) | ||
|
||
N: Bill Carlson | ||
E: [email protected] | ||
|
@@ -54,7 +60,7 @@ D: Provided a Best Fortress for development of a Best driver (bestups) | |
|
||
N: Russell Kroll | ||
E: [email protected] | ||
W: http://www.networkupstools.org/ | ||
W: https://www.networkupstools.org/ | ||
D: Original NUT author and coordinator | ||
P: 1024D/9DC0E77E 6A5C 7D2D 7945 C022 6104 D421 D61D C97F 9DC0 E77E | ||
|
||
|
@@ -140,7 +146,7 @@ E: [email protected] | |
|
||
N: Walt Holman | ||
E: [email protected] | ||
D: Hacked up the cpsups driver for CyberPower text protocol UPSes | ||
D: Hacked up the cpsups driver for CyberPower text protocol UPSes | ||
|
||
N: Fabio Di Niro | ||
E: [email protected] | ||
|
@@ -174,3 +180,8 @@ D: Author of bcmxcp driver, 3-phase work. | |
N: Giuseppe Corbelli | ||
E: [email protected] | ||
D: Author of asem driver | ||
|
||
N: zakx | ||
E: [email protected] | ||
D: Updating device support docs after unnecessarily writing a redundant | ||
D: driver first |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.