Repository navigation
Update misc file tab settings - #65743
Conversation
anthonyeleven
left a comment
There was a problem hiding this comment.
Do the Python files need parameter adjustment of gnumacs python mode?
| @@ -1,5 +1,5 @@ | |||
| #!/bin/bash | |||
| # vim: ts=8 sw=2 smarttab | |||
| # vim: ts=8 sw=2 expandtab | |||
There was a problem hiding this comment.
I wasn't planning to go that far. In this case I'm not sure if it is even useful after #!
| @@ -1,5 +1,5 @@ | |||
| # -*- mode:python -*- | |||
There was a problem hiding this comment.
Do these files need any parameterization of python mode wrt tab behavior?
There was a problem hiding this comment.
I wasn't trying to mess around too much with python files since whitespace is imprtant there. And if the code is run through a pep8 check mixed tab/spaces are going to be flagged.
There was a problem hiding this comment.
Normally, I would argue that python (.py) files shouldn't need a modeline as one ought to be using pep8 indentation and one's editor shouldn't need each file to say so. It's only files that need to break the standard that should need modelines. Since these are already here I don't see an issue with updating them tho.
|
|
||
| # The intended impact here is to allow up to 96 characters, but break at 80 if | ||
| # 96 is exceeded. | ||
| ColumnLimit: 80 |
idryomov
left a comment
There was a problem hiding this comment.
What is the definition of a misc file for the purposes of this PR? A lot of it seems to be updating ordinary C++ header and source files. I'd suggest moving those updates into #65741 and #65742 respectively.
Regardless, please drop "Update CodingStyle to specify use of spaces" and "Add .clang-format configuration file" commits from this PR. I'd expect CodingStyle update to go in via #65741 (or its own separate PR) and .clang-format settings can continue to be discussed in #65049.
|
misc means not (cc or h) |
eacd419 to
ce2ba74
Compare
|
jenkins test make check arm64 |
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
I added missing blank lines where needed after the editor block |
Fixes: https://tracker.ceph.com/issues/72587 Signed-off-by: Edwin Rodriguez <[email protected]>
Signed-off-by: Edwin Rodriguez <[email protected]>
410e066 to
1480cac
Compare
gregsfortytwo
left a comment
There was a problem hiding this comment.
The config line change LGTM.
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
|
jenkins test dashboard cephadm |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
Update vim and emacs indent settings in misc files
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.