Skip to content

Restructure repository and improve code consistency and workflows - #39

Merged
Ajimaru merged 5 commits into
devfrom
chore/slim-repo
Dec 2, 2026
Merged

Ajimaru merged 5 commits into
devfrom
chore/slim-repo

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Description

This pull request makes significant improvements to repository configuration, coding standards, and GitHub workflow files to modernize, simplify, and standardize the project setup. The changes include updating code formatting and exclusion rules, streamlining issue and pull request templates, and removing or consolidating CI workflows. These updates improve consistency across the codebase and make contribution and maintenance processes clearer for all contributors.

Repository configuration and coding standards:

  • Added .gitattributes to enforce consistent line endings for text files, handle Windows-specific scripts, and properly classify binary and minified files. (.gitattributes)
  • Updated .editorconfig to clarify and standardize indentation, line length, and file formatting rules across file types, aligning with OctoPrint's standards. (.editorconfig)
  • Revised .codacy.yml to expand and clarify ignored paths for static analysis, including additional directories and file types that should be excluded. (.codacy.yml) (F90608b6L1)

GitHub templates and metadata:

  • Simplified and modernized issue templates for bug reports and feature requests to focus on actionable information, and enabled blank issues. (.github/ISSUE_TEMPLATE/bug_report.yml, .github/ISSUE_TEMPLATE/feature_request.yml, .github/ISSUE_TEMPLATE/config.yml) [1] [2] [3]
  • Updated the pull request template to clarify requirements, add a testing section, and improve the checklist for contributors. (.github/pull_request_template.md)
  • Removed the CODEOWNERS file, eliminating automatic code owner assignments and reviewer requests. (.github/CODEOWNERS)

GitHub Actions and CI workflows:

  • Removed the Bandit SARIF security scanning workflow and the i18n (translation catalog) checking workflow, reducing CI complexity. (.github/workflows/bandit-sarif.yml, .github/workflows/i18n.yml) [1] [2]
  • Simplified the CodeQL workflow: updated branch filters, concurrency settings, and matrix configuration for supported languages, and removed unnecessary comments and manual build steps. (.github/workflows/codeql.yml)

Related Issues

Type of Change

  • Bugfix
  • Feature
  • Docs
  • Refactor
  • Security

Checklist

  • Description of change
  • Related issue(s)
  • Tests added / updated
  • Documentation updated

@Ajimaru Ajimaru self-assigned this Dec 2, 2026
@Ajimaru Ajimaru added ci CI, build or workflow changes chore Maintenance work with no user-facing change docs labels Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 72bb22a5-8a6d-430e-a89d-940ceb9f8caf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ajimaru

Ajimaru commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production

codacy-production Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 4 high · 1 medium

Alerts:
⚠ 5 issues (≤ 0 issues of at least minor severity)

Results:
5 new issues

Category Results
Compatibility 1 high
ErrorProne 3 high
Performance 1 medium

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage 71.43% diff coverage

Metric Results
Coverage variation Report missing for f5f6b9b1
Diff coverage ✅ 71.43% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (f5f6b9b) Report Missing Report Missing Report Missing
Head commit (bf6a55d) 1259 1037 82.37%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#39) 7 5 71.43%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
octoprint_logmonitor/__init__.py 71.42% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Ajimaru
Ajimaru merged commit 5954e2c into dev Dec 2, 2026
24 of 25 checks passed
@Ajimaru
Ajimaru deleted the chore/slim-repo branch December 2, 2026 11:10
@Ajimaru Ajimaru added the documentation Improvements or additions to documentation label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work with no user-facing change ci CI, build or workflow changes documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant