Skip to content

Import ArcNotes source snapshot#1

Merged
deku2026 merged 8 commits into
mainfrom
import-qownnotes-snapshot
May 18, 2026
Merged

Import ArcNotes source snapshot#1
deku2026 merged 8 commits into
mainfrom
import-qownnotes-snapshot

Conversation

@deku2026
Copy link
Copy Markdown
Contributor

Summary

  • import the current ArcNotes/QOwnNotes source snapshot
  • add GitHub Actions CI for Windows, Linux, macOS, and CodeQL
  • add Dependabot config for GitHub Actions and pre-commit

Validation

  • pre-commit run check-yaml --files .github/workflows/windows-ci.yml .github/workflows/linux-ci.yml .github/workflows/macos-ci.yml .github/workflows/codeql.yml .github/dependabot.yml

deku2026 added 8 commits May 18, 2026 00:10
Resolves all warnings flagged by the pre-commit clang-tidy hook on
macOS/Linux CI (modernize-use-nodiscard, -use-override, -concat-nested-
namespaces, -pass-by-value, -use-equals-default). Also excludes the
Linux-only xdgglobalshortcutmanager.{cpp,h} from the hook so non-Linux
CI does not trip on the unresolvable <QDBusConnection> include.
After marking const getters / mutators [[nodiscard]] in the previous
commit, MSVC /WX promotes C4834 to errors. Resolves the 25 affected
call sites in two flavors:

- 19 deliberate fire-and-forget sites (bulk save/delete, cleanup on
  error path, periodic migrate/expire) are explicitly cast to (void).
- 6 settings.value(...) sites in databaseservice.cpp turned out to be
  typo bugs inherited from the QOwnNotes import — the surrounding
  block sets defaults when the key is absent, so they should call
  setValue(). Corrected.
Removes push/pull_request triggers so CodeQL only runs on the existing
'0 0 1 * *' cron. Saves CI minutes on every commit while still giving
monthly security coverage.
@deku2026 deku2026 merged commit 3b74c95 into main May 18, 2026
3 checks passed
@deku2026 deku2026 deleted the import-qownnotes-snapshot branch May 18, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant