Traceback (most recent call last):
File "/usr/bin/chguard", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/chguard/cli.py", line 291, in main
conn.execute(
~~~~~~~~~~~~^
"""
^^^
...<11 lines>...
),
^^
)
^
sqlite3.IntegrityError: UNIQUE constraint failed: entries.state_id, entries.path
It also changes the --list table, by adding another column, because there might be multiple files in the same 'snapshot' row in the database with this fix.
Something like:
State Snapshot root Captured paths Created
────────────────────────────────────────────────────────────────────────────────────────────────
test new feature /home/user-test/test/file file 2026-06-23T13:06:30+00:00
### Patch sent by
**mig5** ( [website](https://www.mig5.net/) | [Forgejo](https://git.mig5.net/) )
Now the user can run
```
chguard 700 foo1 foo2
```
Without getting
```
Traceback (most recent call last):
File "/usr/bin/chguard", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/chguard/cli.py", line 291, in main
conn.execute(
~~~~~~~~~~~~^
"""
^^^
...<11 lines>...
),
^^
)
^
sqlite3.IntegrityError: UNIQUE constraint failed: entries.state_id, entries.path
```
It also changes the `--list` table, by adding another column, because there might be multiple files in the same 'snapshot' row in the database with this fix.
Something like:
```
State Snapshot root Captured paths Created
────────────────────────────────────────────────────────────────────────────────────────────────
test new feature /home/user-test/test/file file 2026-06-23T13:06:30+00:00
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Patch sent by
mig5 ( website | Forgejo )
Now the user can run
Without getting
It also changes the
--listtable, by adding another column, because there might be multiple files in the same 'snapshot' row in the database with this fix.Something like: