-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pure ftp drop #27
Merged
Merged
Pure ftp drop #27
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
524b4c3
initial drop of pure-ftp
jreidinger e9a8599
try to convert from xinetd to systemd socket
jreidinger 85d7521
fixes from testing
jreidinger e002558
adapt tests
jreidinger 9cba260
drop dependency on inetd module
jreidinger 6f9799d
another bunch of fixes from testing
jreidinger 6f027c3
more service related fixes and code simplification
jreidinger e061799
fix reading/writting current state
jreidinger 3b40b52
nicer method name
jreidinger b3a7c62
start with rubocop
jreidinger f2774ab
fix indentation and useless assignment
jreidinger 381f2c2
fix unused method
jreidinger 2c389bb
fix auto-corrected offences
jreidinger 67f64ff
fix identical code in branches
jreidinger bca4fec
fix hash syntax
jreidinger e57a3d4
changes
jreidinger 11e3f16
improve method names
jreidinger 658a0f2
fix spec description
jreidinger 876268f
remove vsftp only note
jreidinger 2645821
improve phrase
jreidinger 37503d7
fix method call
jreidinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,109 @@ | ||
# use the shared Yast defaults | ||
inherit_from: | ||
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml | ||
|
||
# Offense count: 2 | ||
Lint/UnderscorePrefixedVariableName: | ||
Exclude: | ||
- 'src/modules/FtpServer.rb' | ||
|
||
# Offense count: 67 | ||
Metrics/AbcSize: | ||
Max: 268 | ||
|
||
# Offense count: 4 | ||
Metrics/BlockNesting: | ||
Max: 4 | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 879 | ||
|
||
# Offense count: 11 | ||
Metrics/CyclomaticComplexity: | ||
Max: 115 | ||
|
||
# Offense count: 90 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 153 | ||
|
||
# Offense count: 79 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 479 | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: CountComments. | ||
Metrics/ModuleLength: | ||
Max: 1051 | ||
|
||
# Offense count: 13 | ||
Metrics/PerceivedComplexity: | ||
Max: 150 | ||
|
||
# Offense count: 9 | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'src/clients/ftp-server.rb' | ||
- 'src/clients/ftp-server_auto.rb' | ||
- 'src/include/ftp-server/complex.rb' | ||
- 'src/include/ftp-server/dialogs.rb' | ||
- 'src/include/ftp-server/helps.rb' | ||
- 'src/include/ftp-server/wid_functions.rb' | ||
- 'src/include/ftp-server/wizards.rb' | ||
- 'src/include/ftp-server/write_load.rb' | ||
- 'src/modules/FtpServer.rb' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. | ||
Style/FileName: | ||
Exclude: | ||
- 'src/clients/ftp-server.rb' | ||
- 'src/clients/ftp-server_auto.rb' | ||
- 'src/modules/FtpServer.rb' | ||
|
||
# Offense count: 14 | ||
# Configuration parameters: MinBodyLength. | ||
Style/GuardClause: | ||
Exclude: | ||
- 'src/include/ftp-server/dialogs.rb' | ||
- 'src/include/ftp-server/write_load.rb' | ||
|
||
# Offense count: 7 | ||
Style/IfInsideElse: | ||
Exclude: | ||
- 'src/clients/ftp-server.rb' | ||
- 'src/include/ftp-server/write_load.rb' | ||
|
||
# Offense count: 168 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: snake_case, camelCase | ||
Style/MethodName: | ||
Exclude: | ||
- 'src/clients/ftp-server.rb' | ||
- 'src/include/ftp-server/complex.rb' | ||
- 'src/include/ftp-server/dialogs.rb' | ||
- 'src/include/ftp-server/helps.rb' | ||
- 'src/include/ftp-server/wid_functions.rb' | ||
- 'src/include/ftp-server/wizards.rb' | ||
- 'src/include/ftp-server/write_load.rb' | ||
- 'src/modules/FtpServer.rb' | ||
|
||
# Offense count: 19 | ||
Style/MultilineTernaryOperator: | ||
Exclude: | ||
- 'src/include/ftp-server/write_load.rb' | ||
|
||
# Offense count: 20 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: snake_case, camelCase | ||
Style/VariableName: | ||
Exclude: | ||
- 'src/clients/ftp-server.rb' | ||
- 'src/include/ftp-server/helps.rb' | ||
- 'src/modules/FtpServer.rb' |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "yast/rake" | ||
|
||
Yast::Tasks.configuration do |conf| | ||
#lets ignore license check for now | ||
# lets ignore license check for now | ||
conf.skip_license_check << /.*/ | ||
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we only support one backend
pure-ftpd
can be removed from the description.