Skip to content

Update misc file tab settings - #65743

Merged
gregsfortytwo merged 2 commits into
ceph:mainfrom
edwinzrodriguez:ceph-clang-format-remainder
Oct 8, 2025
Merged

gregsfortytwo merged 2 commits into
ceph:mainfrom
edwinzrodriguez:ceph-clang-format-remainder

Conversation

@edwinzrodriguez

Copy link
Copy Markdown
Contributor

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@anthonyeleven anthonyeleven left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the Python files need parameter adjustment of gnumacs python mode?

Comment thread qa/workunits/rados/ec-esb-fio.sh Outdated
@@ -1,5 +1,5 @@
#!/bin/bash
# vim: ts=8 sw=2 smarttab
# vim: ts=8 sw=2 expandtab

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gnumacs line?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't planning to go that far. In this case I'm not sure if it is even useful after #!

Comment thread src/pybind/ceph_daemon.py
@@ -1,5 +1,5 @@
# -*- mode:python -*-

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these files need any parameterization of python mode wrt tab behavior?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .clang-format Outdated

# The intended impact here is to allow up to 96 characters, but break at 80 if
# 96 is exceeded.
ColumnLimit: 80

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bless you.

@idryomov idryomov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

misc means not (cc or h)

@edwinzrodriguez
edwinzrodriguez force-pushed the ceph-clang-format-remainder branch from eacd419 to ce2ba74 Compare October 1, 2025 16:46
@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

1 similar comment
@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

I added missing blank lines where needed after the editor block

@edwinzrodriguez
edwinzrodriguez force-pushed the ceph-clang-format-remainder branch from 410e066 to 1480cac Compare October 2, 2025 21:35

@gregsfortytwo gregsfortytwo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config line change LGTM.

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

1 similar comment
@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@edwinzrodriguez

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

@gregsfortytwo
gregsfortytwo merged commit e36968f into ceph:main Oct 8, 2025
@github-actions

github-actions Bot commented Oct 8, 2025

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log e36968f5b9912081dc816d99ca64e44bda2d5371^..e36968f5b9912081dc816d99ca64e44bda2d5371

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 Log: https://github.com/ceph/ceph/actions/runs/18360578888

@edwinzrodriguez
edwinzrodriguez deleted the ceph-clang-format-remainder branch October 10, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants