Commit Graph

873 Commits

Author SHA1 Message Date
7fedfce4f5 remove custom filelock 2026-02-14 02:11:31 +02:00
123118d3c9 speedup archive_lookup processing by iterrupting cycle 2026-02-13 23:16:53 +02:00
9e02d7bee8 add package like guard to symlinks fix 2026-02-13 21:50:01 +02:00
231d3b47da ensure_exists now accepts only argument 2026-02-13 21:45:14 +02:00
2a137b42f5 drop recursive remove 2026-02-13 21:40:47 +02:00
257829d15c remove side effect from getter 2026-02-13 21:28:48 +02:00
bb31919858 clean empty directories 2026-02-13 17:01:18 +02:00
d0ebd6559c monor fixes and typos 2026-02-13 15:45:40 +02:00
f92105a132 few review fixes 2026-02-11 22:35:33 +02:00
666c3750ac fix typos 2026-02-11 22:15:30 +02:00
49d433ab37 remove duplicate code 2026-02-11 14:26:48 +02:00
8c01c1c6bc smol refactoring of archive_tree class 2026-02-11 14:16:19 +02:00
af4d013c3b add note about slicing 2026-02-11 14:16:19 +02:00
35019741ac fix rebase 2026-02-11 14:16:19 +02:00
61c6dc03d6 add separate function for symlinks creation 2026-02-11 14:16:19 +02:00
9eaed20b8a fix sttyle 2026-02-11 14:16:19 +02:00
efac4c1663 remove generators 2026-02-11 14:16:19 +02:00
94a164d32d simplify symlionk creation 2026-02-11 14:16:19 +02:00
bb77a9413f drop excess REQUIRES_REPOSITORY 2026-02-11 14:16:19 +02:00
d1fb969ca7 support requires repostory flag 2026-02-11 14:16:19 +02:00
144fcbcef2 gpg loader fix 2026-02-11 14:16:19 +02:00
1a30d90bdc regenerate docs 2026-02-11 14:16:19 +02:00
449c508fdf add archive trigger 2026-02-11 14:16:19 +02:00
208b12b50b add archive trigger 2026-02-11 14:16:19 +02:00
5d5e0064c3 lookup through archive packages before build 2026-02-11 14:16:19 +02:00
cea706c4b6 use generic packages tree for all repos 2026-02-11 14:16:19 +02:00
81494059dd implement atomic_move method, move files only with lock 2026-02-11 14:16:19 +02:00
c3982859e3 write tests to support new changes 2026-02-11 14:16:19 +02:00
a5c4f735db store built packages in archive tree instead of repository 2026-02-11 14:16:19 +02:00
6a2454548d refactor: drop some methods from package class into separated wrappers 2026-02-11 03:05:49 +02:00
389bad6725 fix: use effective uid instead of uid 2026-02-03 16:38:13 +02:00
5738b8b911 fix: rewrite preserver_owner method complitely
Previous implementation was somewhat working in the most) scenarios, but
was super slow to handle permissions. However, it is actually very
limited operations in which the application can do anything, so it is
much easier to just drop privileged user to normal one
2026-02-03 15:27:19 +02:00
5ac2e3de19 fix: handle permissionerror during walking over tree
Previously it tried to look into 700 directories (e.g. .gnupg) which
breaks running as non-ahriman user
2026-02-02 22:16:15 +02:00
799dc73d8a feat: update package status to success in case if package is up-to-date 2026-01-26 01:56:30 +02:00
4e79cbf71a fix: fallback to package name for missing bases in archive
package zoom is being generated without base, leading to None there

Closes #155
2026-01-22 16:34:19 +02:00
4fa5d55317 type: replace generator return type with iterator 2026-01-15 15:22:03 +02:00
a7fa3b90e4 type: fix typing in some modules 2026-01-14 14:28:31 +02:00
ce07cda8ab fix: pass underlying exception on extensionerror 2026-01-14 14:06:34 +02:00
00c4f32294 fix: correct exception type on repository id comparison 2026-01-14 13:59:07 +02:00
49cf91ea52 chore: copyright update 2026-01-08 02:50:37 +02:00
4a8430dc67 build: allow to rebuild images manually 2026-01-08 02:45:31 +02:00
46af782db2 build: drop shtab wrapper after their release 2025-11-18 20:47:20 +02:00
6443e02352 type: use as keyword in case match 2025-10-26 09:36:54 +02:00
999ad39d6f feat: add trigger loader guard 2025-09-17 14:45:09 +03:00
dfab5f56b2 feat: use atexit instead of del for triggers 2025-08-11 14:53:10 +03:00
10798b9ba3 fix: correctly process trigger repo specific settings in validator (see #154) 2025-08-01 16:53:15 +03:00
358e3dc4d2 feat: expose repository name and architecure in configuration if available
In some cases there are reference to current repository settings. In
order to handle it correctly two ro options have been added

Related to #154
2025-07-31 14:14:22 +03:00
c13cd029bc feat: fully readable configuration from environment 2025-07-23 14:49:38 +03:00
ae32cc8fbb type: use custom comparable for comparable functions 2025-07-15 21:20:49 +03:00
dff5b775a9 refactor: move logs rotation to separated trigger which is enabled by default
Previous solution, well, worked kinda fine-ish, though we have much
better mechanisms to do so
2025-07-15 11:26:00 +03:00