Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
ad2de45
wip
gamesguru Jan 21, 2026
68da432
add some UI components to mainwindow
gamesguru Jan 21, 2026
0a53c7a
wip
gamesguru Jan 21, 2026
28debcc
user db and some ui improvements
gamesguru Jan 21, 2026
4d6ff6d
add recipes; format
gamesguru Jan 21, 2026
6208fd9
lint & some database open logic
gamesguru Jan 21, 2026
cb8142a
don't allow re-opening same DB (weird loop)
gamesguru Jan 21, 2026
dffbe73
only run actions on pull request once (no double run push)
gamesguru Jan 21, 2026
ff7fc26
add status bar
gamesguru Jan 21, 2026
9359557
lint/fix cache not loaded potential condition
gamesguru Jan 21, 2026
90af78e
add daily log (wip), and fix ubuntu 20.04 build
gamesguru Jan 21, 2026
aaa481c
cubic: handle database init/open logic
gamesguru Jan 21, 2026
a0a6b20
lint/tidy
gamesguru Jan 21, 2026
9b4288b
add info dialo
gamesguru Jan 21, 2026
98e0feb
keep working on ui
gamesguru Jan 21, 2026
95540d8
version/release workflows. ui updates
gamesguru Jan 21, 2026
ec99ee7
init preferences ui
gamesguru Jan 21, 2026
9c7d0ef
lint & ui tweaks/stuff
gamesguru Jan 21, 2026
6c3f4b5
combine rda into preferences dialog
gamesguru Jan 21, 2026
c070ca9
update gitmodules: add ntsqlite, both mv -> lib
gamesguru Jan 21, 2026
aeef1c6
update db stuff
gamesguru Jan 21, 2026
46ff83b
better history
gamesguru Jan 21, 2026
1f7e6eb
small lint; version bump & release tweak/fix
gamesguru Jan 22, 2026
1c460de
database & ui stuff
gamesguru Jan 22, 2026
98de943
keep chugging
gamesguru Jan 22, 2026
2f934d1
add some tests
gamesguru Jan 22, 2026
15552da
qt 5.12 compat
gamesguru Jan 22, 2026
338a2c5
update
gamesguru Jan 22, 2026
e9fdb23
appimage target
gamesguru Jan 24, 2026
3f165c8
lint fixes
gamesguru Jan 24, 2026
4b7cf62
config update, gitignore, docs feature roadmap
gamesguru Jan 26, 2026
8d362c8
allow deleting search history items, lint/format.
gamesguru Jan 26, 2026
d0a8284
wip add some features
gamesguru Jan 26, 2026
5dcd0cd
wip more features/UI stuff
gamesguru Jan 26, 2026
489214e
add color to details UI
gamesguru Jan 26, 2026
27b7efe
add scaling feature
gamesguru Jan 26, 2026
206a722
support multiple days in food log (switching)
gamesguru Jan 26, 2026
31951cb
some lints & UI fixes/updates
gamesguru Jan 26, 2026
760ba8b
read CSV recipes, too. lint.
gamesguru Jan 26, 2026
c63dece
wip keep going
gamesguru Jan 26, 2026
11e4545
update gitmodule name to include folder path for usda
gamesguru Jan 26, 2026
d2156aa
Update CMakeLists.txt
gamesguru Jan 26, 2026
029506b
Update CMakeLists.txt
gamesguru Jan 26, 2026
df3d692
Update CMakeLists.txt
gamesguru Jan 26, 2026
b506124
init pylang_serv submodule (private for now)
gamesguru Jan 26, 2026
7876a54
remove redundant SQL creation from C++
gamesguru Jan 26, 2026
ecd3301
wip
gamesguru Jan 26, 2026
917c758
try to fix build? add context menu.
gamesguru Jan 26, 2026
e9a3ac4
try this
gamesguru Jan 26, 2026
62c54df
fix?
gamesguru Jan 26, 2026
501e451
fix?
gamesguru Jan 26, 2026
8c31ac8
ci: working on failed 22.04 self-hosted runner
gamesguru Jan 27, 2026
8d652bd
ci: restore libkeyutils1 reinstall fix
gamesguru Jan 27, 2026
e3c059b
ci: add debug info for libkeyutils
gamesguru Jan 27, 2026
b00b882
wip 01 cmakelist
gamesguru Jan 27, 2026
855db43
improve cmake config/list
gamesguru Jan 27, 2026
9e8f06d
fix? cmakelist
gamesguru Jan 27, 2026
0f89b89
try this
gamesguru Jan 27, 2026
3ba23b6
update workflows
gamesguru Jan 27, 2026
9506d7d
update version bump, format code targets.
gamesguru Jan 27, 2026
4b50b89
fixup! update workflows
gamesguru Jan 27, 2026
1de915d
lint fix
gamesguru Jan 27, 2026
3dc1cb0
emit appiamge artifact on full build
gamesguru Jan 27, 2026
3d0e365
install linuxdeploy for appimage build on GitHub CI
gamesguru Jan 27, 2026
7c8af34
appimage linuxdeploy fix
gamesguru Jan 27, 2026
60c47e0
move desktop file to resources/ folder
gamesguru Jan 27, 2026
5cedb84
fix desktop file:
gamesguru Jan 27, 2026
d30e705
pin LinuxDeploy and Qt Plugin to specific versions
gamesguru Jan 27, 2026
db42806
sqlite already added bug
gamesguru Jan 27, 2026
0c10582
try this
gamesguru Jan 27, 2026
2f69efa
wip recipe stuff
gamesguru Jan 27, 2026
018caa3
more work on ui features
gamesguru Jan 27, 2026
8165199
update workflows to build SQL modules too
gamesguru Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BasedOnStyle: Google
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
ColumnLimit: 100
AllowShortFunctionsOnASingleLine: Empty
KeepEmptyLinesAtTheStartOfBlocks: false
2 changes: 1 addition & 1 deletion .github/workflows/arch.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Arch Linux

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand Down
36 changes: 32 additions & 4 deletions .github/workflows/ci-full.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: Full CI

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand All @@ -21,7 +22,28 @@ jobs:
sudo apt-get update
sudo apt-get install -y git cmake build-essential ccache \
qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev \
clang-format cppcheck clang-tidy
clang-format cppcheck clang-tidy sqlite3

- name: Install LinuxDeploy
run: |
# LinuxDeploy
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20251107-1/linuxdeploy-x86_64.AppImage
echo "c20cd71e3a4e3b80c3483cef793cda3f4e990aca14014d23c544ca3ce1270b4d linuxdeploy-x86_64.AppImage" | sha256sum -c -

# Qt Plugin
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/1-alpha-20250213-1/linuxdeploy-plugin-qt-x86_64.AppImage
echo "15106be885c1c48a021198e7e1e9a48ce9d02a86dd0a1848f00bdbf3c1c92724 linuxdeploy-plugin-qt-x86_64.AppImage" | sha256sum -c -

chmod +x linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-plugin-qt-x86_64.AppImage
sudo mv linuxdeploy-x86_64.AppImage /usr/local/bin/linuxdeploy
sudo mv linuxdeploy-plugin-qt-x86_64.AppImage /usr/local/bin/linuxdeploy-plugin-qt

- name: Build NTDB
run: make build-db

- name: Test NTDB
run: make test-db

- name: Check Formatting
run: |
Expand All @@ -33,8 +55,14 @@ jobs:
- name: Lint
run: make lint

- name: Build Release
run: make release
- name: Build AppImage
run: make appimage

- name: Test
run: make test

- name: Upload AppImage
uses: actions/upload-artifact@v4
with:
name: nutra-linux-appimage
path: build/*.AppImage
3 changes: 2 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: macOS

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand Down
177 changes: 177 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
---
name: Release Build

on:
push:
tags:
- "v*"

jobs:
build-linux-20-04:
name: "Linux (Ubuntu 20.04)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git cmake build-essential \
qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev

- name: Build
run: make release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nutra-linux-20.04
path: build/nutra

build-linux-22-04:
name: "Linux (Ubuntu 22.04)"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git cmake build-essential \
qt6-base-dev libqt6sql6 libqt6sql6-sqlite libgl1-mesa-dev

- name: Build
run: make release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nutra-linux-22.04
path: build/nutra

build-linux-24-04:
name: "Linux (Ubuntu 24.04)"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git cmake build-essential \
qt6-base-dev libqt6sql6 libqt6sql6-sqlite libgl1-mesa-dev

- name: Build
run: make release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nutra-linux-24.04
path: build/nutra

build-windows:
name: "Windows"
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: "6.5.0"
host: "windows"

- name: Build
run: make release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nutra-win64.exe
path: build/Release/nutra.exe

build-macos:
name: "macOS"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: "6.5.0"
host: "mac"

- name: Build
run: make release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nutra-macos.app
path: build/nutra.app

release:
name: "Create Release"
needs:
[
build-linux-20-04,
build-linux-22-04,
build-linux-24-04,
build-windows,
build-macos,
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Verify tag is on master
run: |
git fetch origin master
if ! git merge-base --is-ancestor ${{ github.ref_name }} origin/master; then
echo "Error: Tag ${{ github.ref_name }} is not on master branch."
exit 1
fi

- name: Check for Pre-release
id: check_prerelease
run: |
if [[ "${{ github.ref_name }}" == *"-"* ]]; then
echo "is_prerelease=true" >> $GITHUB_OUTPUT
echo "Detected pre-release tag."
else
echo "is_prerelease=false" >> $GITHUB_OUTPUT
echo "Detected stable release tag."
fi

- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: ${{ steps.check_prerelease.outputs.is_prerelease }}
files: |
artifacts/nutra-linux-20.04/nutra
artifacts/nutra-linux-22.04/nutra
artifacts/nutra-linux-24.04/nutra
artifacts/nutra-win64.exe/nutra.exe
artifacts/nutra-macos.app/**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 8 additions & 2 deletions .github/workflows/ubuntu-20.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Ubuntu 20.04

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand All @@ -23,7 +23,7 @@ jobs:
- name: install dependencies
run: |
apt -y install git cmake build-essential ccache \
qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev
qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev sqlite3 python3

- name: configure git
run: git config --global --add safe.directory '*'
Expand All @@ -32,6 +32,12 @@ jobs:
with:
submodules: recursive

- name: Build NTDB
run: make build-db

- name: Test NTDB
run: make test-db

- name: Build Release
run: make release

Expand Down
21 changes: 20 additions & 1 deletion .github/workflows/ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Ubuntu 22.04

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand All @@ -13,6 +13,16 @@ jobs:
runs-on: [self-hosted, ubuntu-22.04]

steps:
# NOTE: issue resolved in CMakeLists.txt
# - name: Debug Environment
# run: |
# echo "User: $(whoami)"
# echo "PWD: $(pwd)"
# echo "CI env var: $CI"
# ls -lah /usr/lib/x86_64-linux-gnu/libkeyutils.so* || echo "Not found in /usr/lib..."
# ls -lah /lib/x86_64-linux-gnu/libkeyutils.so.1* || echo "Not found in /lib..."
# /sbin/ldconfig -p | grep libkeyutils || echo "ldconfig failed"

# NOTE: Dependencies are already installed on the dev runner
# - name: update apt
# run: sudo apt-get update
Expand All @@ -26,6 +36,15 @@ jobs:
with:
submodules: recursive

- name: Clean (between runs on VPS)
run: make clean

- name: Build NTDB
run: make build-db

- name: Test NTDB
run: make test-db

- name: Build Release
run: make release

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ubuntu-24.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Ubuntu 24.04

on:
push:
branches: [main, master, dev]
branches: [main, master]
pull_request:
branches: [main, master]

Expand All @@ -26,6 +26,12 @@ jobs:
with:
submodules: recursive

- name: Build NTDB
run: make build-db

- name: Test NTDB
run: make test-db

- name: Build Release
run: make release

Expand Down
Loading
Loading