Update README and dependencies for Auto-Git v1.0.7
This commit is contained in:
13
README.md
13
README.md
@@ -74,6 +74,19 @@ Download the latest release for your platform:
|
||||
5. **Push to Gitea**
|
||||
- Configure your Gitea API key in **Settings**, then push commits directly from Auto-Git.
|
||||
|
||||
### Git safety behavior
|
||||
|
||||
- Starting monitoring establishes a baseline; changes that already existed are left untouched.
|
||||
- Monitoring commits only paths reported by filesystem events. It never stages the whole repository.
|
||||
- Build output and dependency folders such as `node_modules`, `dist-tauri`, and `src-tauri/target` are always excluded.
|
||||
- Auto-Git refuses to commit when the index already contains staged work or when Git is rebasing, merging, resolving conflicts, or using a detached HEAD.
|
||||
- Threshold- and timer-based commit-message rewrites run once in a temporary worktree and update the real branch atomically only after verifying that its tree is unchanged. They do not retain a duplicate history ref. The Reword button preference affects only that button, not scheduled rewrites.
|
||||
- Commit history follows local branches, so **Jump Here** can navigate backward and forward while `HEAD` is detached. Jumping to a commit that is the unique tip of a local branch reattaches that branch.
|
||||
- Starting monitoring reconciles Git changes already present in the working tree, including changes made while monitoring was paused, and commits only those reported paths through the normal guarded monitoring pipeline.
|
||||
- Adding any folder immediately enables monitoring in the UI. Existing Git repositories start their watcher at once; non-repositories stay armed and attach the watcher automatically when **Init Repo** completes, without another Play click.
|
||||
- Automatic stashing, forced checkout, rebase abort, and hard-reset recovery are not used by monitoring or commit-message rewriting.
|
||||
- Commit squashing is temporarily disabled until it uses the same transactional worktree mechanism.
|
||||
|
||||
---
|
||||
|
||||
## Settings
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"productName": "Auto-Git",
|
||||
"name": "Auto-Git",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.7",
|
||||
"description": "Auto-Git: Git-Überwachung mit automatischer LLM-Commit-Message und README-Erstellung",
|
||||
"author": "Victor Giers",
|
||||
"scripts": {
|
||||
|
||||
16
renderer.js
16
renderer.js
@@ -393,8 +393,14 @@ window.addEventListener('DOMContentLoaded', async () => {
|
||||
const pauseBtn = li.querySelector('.pause-play-btn');
|
||||
pauseBtn.addEventListener('click', async e => {
|
||||
e.stopPropagation();
|
||||
await window.electronAPI.setMonitoring(folderObj, !isMonitoring);
|
||||
await renderSidebar();
|
||||
pauseBtn.disabled = true;
|
||||
try {
|
||||
await window.electronAPI.setMonitoring(folderObj, !isMonitoring);
|
||||
} catch (err) {
|
||||
alert(`Monitoring could not be changed:\n${err?.message || err}`);
|
||||
} finally {
|
||||
await renderSidebar();
|
||||
}
|
||||
});
|
||||
|
||||
// Remove-Button
|
||||
@@ -978,6 +984,12 @@ window.addEventListener('DOMContentLoaded', async () => {
|
||||
}
|
||||
});
|
||||
|
||||
window.addEventListener('monitoring-error', e => {
|
||||
const detail = e.detail || {};
|
||||
const message = detail.message || detail.code || 'Unknown monitoring error';
|
||||
alert(`Auto-Git paused a repository operation:\n${message}`);
|
||||
});
|
||||
|
||||
titleEl.addEventListener('contextmenu', e => {
|
||||
e.preventDefault();
|
||||
if (titleEl.textContent !== 'No folder selected') {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "auto-git"
|
||||
version = "1.0.0"
|
||||
version = "1.0.7"
|
||||
description = "Auto-Git: Git monitoring with automatic LLM commit messages and README generation"
|
||||
authors = ["Victor Giers"]
|
||||
edition = "2021"
|
||||
@@ -23,6 +23,7 @@ tempfile = "3.23.0"
|
||||
tauri = { version = "2.11.0", features = ["tray-icon", "image-png", "image-ico"] }
|
||||
thiserror = "2.0.17"
|
||||
reqwest = { version = "0.12.24", default-features = false, features = ["blocking", "json", "rustls-tls"] }
|
||||
wait-timeout = "0.2.1"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
auto-launch = "0.5.0"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Auto-Git",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.7",
|
||||
"identifier": "com.victorgiers.auto-git",
|
||||
"build": {
|
||||
"frontendDist": "../dist-tauri"
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
window.dispatchEvent(new CustomEvent('rewrite-progress', { detail: event.payload }));
|
||||
});
|
||||
|
||||
listen('monitoring-error', event => {
|
||||
window.dispatchEvent(new CustomEvent('monitoring-error', { detail: event.payload }));
|
||||
});
|
||||
|
||||
listen('theme-changed', event => {
|
||||
const theme = event.payload;
|
||||
window.dispatchEvent(new CustomEvent('theme-changed', { detail: theme }));
|
||||
|
||||
Reference in New Issue
Block a user