mirror of
https://github.com/aclist/dztui.git
synced 2026-11-07 18:40:46 +01:00
Compare commits
8
Commits
7.0.0b2
...
9354ed7df5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9354ed7df5 | ||
|
|
fb36425083 | ||
|
|
c5d8afbc4d | ||
|
|
17f732fafe | ||
|
|
676a7ea9eb | ||
|
|
d3f64c1ba5 | ||
|
|
5da3397a29 | ||
|
|
eca6df90d4 |
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: aclist
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
name: Bug report
|
||||||
|
description: Submit bugs that affect functionality here
|
||||||
|
title: "[BUG] Your title here"
|
||||||
|
labels: ["bug"]
|
||||||
|
assignees:
|
||||||
|
- aclist
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
### WARNING: When posting log/config data, redact any sensitive information like API keys.
|
||||||
|
- type: checkboxes
|
||||||
|
id: kb
|
||||||
|
attributes:
|
||||||
|
label: Did you check if this issue already exists?
|
||||||
|
options:
|
||||||
|
- label: I have checked the [Knowledge Base](https://aclist.github.io/dzgui/kb.html) and searched through [past issues](https://github.com/aclist/dztui/issues?q=is%3Aissue+is%3Aclosed) and did not find my issue there.
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: device
|
||||||
|
attributes:
|
||||||
|
label: Device type
|
||||||
|
options:
|
||||||
|
- Desktop PC
|
||||||
|
- Steam Deck
|
||||||
|
default: 0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: DZGUI version
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "5.6.0"
|
||||||
|
- type: input
|
||||||
|
id: distro
|
||||||
|
attributes:
|
||||||
|
label: Linux distribution
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "Arch Linux"
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: Describe the bug
|
||||||
|
description: What did you expect to happen?
|
||||||
|
placeholder: "E.g., When doing X, Y occurred. Include as much detail as possible."
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: Additional log output
|
||||||
|
description: Attach the file `$HOME/.local/state/dzgui/DZGUI_DEBUG.log` by clicking this area to highlight it and then dragging the file in.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
name: Feature suggestion
|
||||||
|
description: Submit requests for new features here
|
||||||
|
title: "[FEAT] Your title here"
|
||||||
|
labels: ["enhancement"]
|
||||||
|
assignees:
|
||||||
|
- aclist
|
||||||
|
body:
|
||||||
|
- type: dropdown
|
||||||
|
id: device
|
||||||
|
attributes:
|
||||||
|
label: Device type
|
||||||
|
options:
|
||||||
|
- Desktop PC
|
||||||
|
- Steam Deck
|
||||||
|
default: 0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: DZGUI version
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "5.6.0"
|
||||||
|
- type: input
|
||||||
|
id: distro
|
||||||
|
attributes:
|
||||||
|
label: Linux distribution
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "Arch Linux"
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: Describe the feature
|
||||||
|
description: A clear and detailed description
|
||||||
|
placeholder: "E.g., Add a dialog to the Options menu that automatically lets the user do Y"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: why
|
||||||
|
attributes:
|
||||||
|
label: Describe the benefit
|
||||||
|
description: How will this feature benefit large numbers of users?
|
||||||
|
placeholder: "E.g., Currently, users have to manually do X to achieve Y. Implementing this feature would achieve A, B, and C."
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
name: Troubleshooting
|
||||||
|
description: Submit user error/troubleshooting questions here
|
||||||
|
title: "[HELP] Your title here"
|
||||||
|
labels: ["troubleshooting"]
|
||||||
|
assignees:
|
||||||
|
- aclist
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
### WARNING: When posting log/config data, redact any sensitive information like API keys.
|
||||||
|
- type: dropdown
|
||||||
|
id: device
|
||||||
|
attributes:
|
||||||
|
label: Device type
|
||||||
|
options:
|
||||||
|
- Desktop PC
|
||||||
|
- Steam Deck
|
||||||
|
default: 0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: DZGUI version
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "5.6.0"
|
||||||
|
- type: input
|
||||||
|
id: distro
|
||||||
|
attributes:
|
||||||
|
label: Linux distribution
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
placeholder: "Arch Linux"
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: Describe the issue
|
||||||
|
description: A detailed description. What did you expect to happen?
|
||||||
|
placeholder: "Include as much detail as possible and state the steps leading up to the problem. E.g., First I do this, then I do this, then this happens."
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: Additional log output
|
||||||
|
description: Attach the file `$HOME/.local/state/dzgui/DZGUI_DEBUG.log` by clicking this area to highlight it and then dragging the file in.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
name: Mirror to Codeberg
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
mirror-to-codeberg:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: pixta-dev/repository-mirroring-action@v1
|
||||||
|
if: ${{ vars.GIT_REMOTE != '' }}
|
||||||
|
with:
|
||||||
|
target_repo_url: ${{ vars.GIT_REMOTE }}
|
||||||
|
ssh_private_key: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
|
||||||
@@ -11,3 +11,4 @@ uv.lock
|
|||||||
.coverage
|
.coverage
|
||||||
pyapp-latest/
|
pyapp-latest/
|
||||||
dist/
|
dist/
|
||||||
|
cpython
|
||||||
+7
-2
@@ -14,5 +14,10 @@ sphinx-build -M html source build -a
|
|||||||
|
|
||||||
# Building standalone DZGUI release binaries
|
# Building standalone DZGUI release binaries
|
||||||
1. Run `./scripts/dl_pyapp.sh`
|
1. Run `./scripts/dl_pyapp.sh`
|
||||||
2. Run `python3 scripts/release.py`
|
# TODO: secondary script that packs this archive
|
||||||
3. Generate a release and tag against the bundled `dzgui` executable
|
2. Download cpython 3.13, linux, gnu, v3
|
||||||
|
https://github.com/astral-sh/python-build-standalone/releases/download/20251014/cpython-3.13.9%2B20251014-x86_64_v3-unknown-linux-gnu-install_only_stripped.tar.gz
|
||||||
|
3. Explicitly install dependencies into site-packages
|
||||||
|
4. Pack back into a tarball
|
||||||
|
5. Run `python3 scripts/release.py`
|
||||||
|
6. Generate a release and tag against the bundled `dzgui` executable
|
||||||
+4
-1
@@ -112,6 +112,9 @@ def main() -> None:
|
|||||||
copy_state_files(xdg_paths["XDG_STATE_HOME"])
|
copy_state_files(xdg_paths["XDG_STATE_HOME"])
|
||||||
# TODO: add logging inside wizard
|
# TODO: add logging inside wizard
|
||||||
SetupWizard(_is_steam_deck, XDG.config)
|
SetupWizard(_is_steam_deck, XDG.config)
|
||||||
|
|
||||||
|
# NOTE: implies that setup wizard failed or was closed
|
||||||
|
if has_new_config(XDG.config) is False:
|
||||||
return
|
return
|
||||||
|
|
||||||
setup_logger(XDG.debug)
|
setup_logger(XDG.debug)
|
||||||
@@ -127,7 +130,7 @@ def main() -> None:
|
|||||||
if has_steam_client() is False:
|
if has_steam_client() is False:
|
||||||
EarlyAlertDialog(init.requires_steam)
|
EarlyAlertDialog(init.requires_steam)
|
||||||
|
|
||||||
# NOTE: clear versions file of unlinked mods
|
# NOTE: clears versions file of unlinked mods
|
||||||
rebuild_symlinks(XDG.config)
|
rebuild_symlinks(XDG.config)
|
||||||
remove_stale_signatures(XDG.config, XDG.version)
|
remove_stale_signatures(XDG.config, XDG.version)
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ logger = logging.getLogger(APP_NAME)
|
|||||||
class NoteManager:
|
class NoteManager:
|
||||||
def __init__(self, controller: "Controller", path: "Path") -> None:
|
def __init__(self, controller: "Controller", path: "Path") -> None:
|
||||||
self.notes_path = path
|
self.notes_path = path
|
||||||
|
try:
|
||||||
self.cache: dict[str, str] = read_json(self.notes_path)
|
self.cache: dict[str, str] = read_json(self.notes_path)
|
||||||
|
except Exception:
|
||||||
|
self.cache = {}
|
||||||
|
|
||||||
def add_note(self, server: str, note: str) -> None:
|
def add_note(self, server: str, note: str) -> None:
|
||||||
self.cache[server] = note
|
self.cache[server] = note
|
||||||
|
|||||||
@@ -67,4 +67,4 @@ label_client = "Steam client"
|
|||||||
|
|
||||||
### Completion page
|
### Completion page
|
||||||
heading_completion = "Setup complete"
|
heading_completion = "Setup complete"
|
||||||
blurb_completion = "Configuration completed successfully. Please exit and restart DZGUI to apply changes."
|
blurb_completion = "Configuration completed successfully. Click 'Close' to close this dialog and launch DZGUI."
|
||||||
+1
-1
@@ -4,7 +4,7 @@ description = "DayZ server browser and mod manager for Linux"
|
|||||||
authors = [
|
authors = [
|
||||||
{name = "aclist"}
|
{name = "aclist"}
|
||||||
]
|
]
|
||||||
version = "7.0.0b2"
|
version = "7.0.0b3"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
+8
-2
@@ -26,9 +26,15 @@ env["PYAPP_PROJECT_VERSION"] = version
|
|||||||
env["PYAPP_PROJECT_NAME"] = appname
|
env["PYAPP_PROJECT_NAME"] = appname
|
||||||
env["PYAPP_EXEC_SPEC"] = entrypoint
|
env["PYAPP_EXEC_SPEC"] = entrypoint
|
||||||
env["PYAPP_PROJECT_PATH"] = wheel
|
env["PYAPP_PROJECT_PATH"] = wheel
|
||||||
env["PYAPP_DISTRIBUTION_EMBED"] = "true"
|
|
||||||
env["PYAPP_PYTHON_VERSION"] = "3.13"
|
|
||||||
env["PYAPP_PASS_LOCATION"] = "true"
|
env["PYAPP_PASS_LOCATION"] = "true"
|
||||||
|
# env["PYAPP_PYTHON_VERSION"] = "3.13"
|
||||||
|
|
||||||
|
# NOTE: explicitly install all dependencies into distribution
|
||||||
|
env["PYAPP_SKIP_INSTALL"] = "true"
|
||||||
|
env["PYAPP_DISTRIBUTION_EMBED"] = "true"
|
||||||
|
env["PYAPP_FULL_ISOLATION"] = "true"
|
||||||
|
env["PYAPP_DISTRIBUTION_PATH"] = "cpython/airgapped.tar.gz"
|
||||||
|
env["PYAPP_DISTRIBUTION_PYTHON_PATH"] = "python/bin/python3"
|
||||||
|
|
||||||
proc = subprocess.run(["cargo", "build", "--release"], env=env, cwd=pyapp_dir)
|
proc = subprocess.run(["cargo", "build", "--release"], env=env, cwd=pyapp_dir)
|
||||||
if proc.returncode == 0:
|
if proc.returncode == 0:
|
||||||
|
|||||||
Reference in new issue
Block a user