Commit Graph

415 Commits

Author SHA1 Message Date
arcanis d21c3fdf9f Release 2.10.0 2023-07-22 05:28:57 +03:00
arcanis ad570aae0f remove unsafe flag from handlers
This flag became reduntant there and tree creation has been moved to
lock
2023-07-07 03:25:05 +03:00
arcanis 5e5171cf3e add salt generator to setup command instead 2023-07-06 19:16:49 +03:00
arcanis af3360e84a register dependency package before build
If package has been added as dependency, the service miss remote as well
as causes some 400 errors in reporter
2023-07-06 03:11:19 +03:00
arcanis 95f52f7ebe handle packages load from aur by package name also
In general package names array may not contain package base, thus it
leads to inability to load packages from aur by its base during update
process
2023-07-01 15:55:04 +03:00
arcanis f5fe200247 explicitly pass user agent for the arch linux sites requests 2023-06-26 02:52:08 +03:00
arcanis a1c12200b8 print configuration paths in dump command 2023-06-11 15:11:34 +03:00
arcanis 09839f755a remove salt generation from users handler
It causes issues, because users handler is operating with service user,
but writtinng salt requires root privileges
2023-06-05 05:25:10 +03:00
arcanis fcd4d60cad complitely disable signature check for local repository in devtools
It appears that with optional level pacman still tries to validate the
key, which can lead to errors whille processing in docker container
2023-06-05 04:41:03 +03:00
arcanis 3681473942 packager documentation update 2023-06-05 03:40:02 +03:00
arcanis 4dd5a1e82e packagers support (#100) 2023-06-05 02:37:19 +03:00
arcanis e3347aec2d use cached property instead of custom __getattr__ implementation 2023-05-31 19:17:16 +03:00
arcanis 3ad6cd27c6 support check dependencies 2023-05-31 19:17:16 +03:00
arcanis 54a68279be mimic parent arguments during spawn process (#99) 2023-05-30 18:09:35 +03:00
arcanis d99091a3b4 do not terminate child process explicitly
This feature sometimes causes the main process termination. Since the
child process has been already terminated (or going to) there is no need
to terminate it manually
2023-05-29 17:27:04 +03:00
arcanis be6cf5b8af fix case where it was impossible to create session if user and password
are required

Issue appears if auth is enabled and unix socket is disabled and caused
by d81e91e117
2023-05-29 17:23:57 +03:00
arcanis 91e548569d runtime logger handler selector 2023-05-29 03:41:11 +03:00
arcanis 785607c70b allow to filter packages for rebuild by their statuses 2023-05-25 17:41:54 +03:00
arcanis adb5b58a1d Support type triggers (#96)
* implement mirrorlist package generator

* implement keyring package generator

* docs update

* do not skip empty lines

* fill remote source for local packages

* faq update
2023-05-25 16:27:16 +03:00
arcanis 6834dd442c Release 2.9.0 2023-05-22 17:04:32 +03:00
arcanis 6bc6bdaeae migrate to the latest devtools & archlinux git changes
This migration includes
* removal of community repository as it is no more
* fixed paths for devtools configurations
* migration of archlinux packaging git url
2023-05-22 16:51:27 +03:00
arcanis 7458c73c7d disable debugpanel for now 2023-05-04 14:30:27 +03:00
arcanis 2cecbb3d53 do not assign path in context manager as it is deprectated 2023-05-04 14:29:39 +03:00
arcanis c73a6c7bae PEP-673 use Self as return type for classmethods (#94)
* PEP-673 use Self as return type for classmethods

* add dummy test file

* remove python3.10 compat
2023-05-04 03:28:08 +03:00
arcanis 0b70b5af45 fix flapping tests for oauth
Original implementation sends requests to httpbin which sometimes might
not be available. With proposed changes we are blocking redirects and
just check request itself
2023-05-03 14:53:35 +03:00
arcanis fde75a14c2 PEP-561 complaint: add py.typed marker 2023-04-17 18:56:49 +03:00
arcanis 1e0d1a5a32 fix some pycharm warnings 2023-04-17 02:23:50 +03:00
arcanis 75919637e8 suppress status errors also if option is set 2023-04-15 05:05:55 +03:00
arcanis 10fbc31d2a PEP-585 complaint: remove type aliases (#93) 2023-04-12 04:09:28 +03:00
arcanis 7ab00ee579 Release 2.8.0 2023-04-09 13:06:54 +03:00
arcanis 2d62148ee6 try to remove unknown packages from api 2023-04-06 18:14:36 +03:00
arcanis c1f2d5ff4a hide cookie key and salt from config output 2023-04-06 00:31:50 +03:00
arcanis 2888649ced optimize imports 2023-04-06 00:24:39 +03:00
arcanis 63855f5964 argument annootation update 2023-04-06 00:24:39 +03:00
arcanis 8bf665d7d3 fix license url 2023-04-06 00:24:39 +03:00
arcanis a7ac77ce4d extract schemas automatically from views 2023-04-06 00:24:39 +03:00
arcanis fc01bf3d1c use api generated docs instead of comments (#92) 2023-04-06 00:24:39 +03:00
arcanis d81e91e117 execute request in context methods instead of handling them each time
manually
2023-03-23 12:43:04 +02:00
arcanis 57f62ba163 Release 2.7.1 2023-03-06 01:15:47 +02:00
arcanis ded896ee1b gracefully terminate web server
In previous revisions server was terminated by itself, thus no lock or
socket was removed. In new version, graceful termination of the queue
has been added as well as server now handles singals
2023-03-06 01:13:41 +02:00
arcanis 1fdcea0524 replace InitializeException with InitializeError in docs 2023-03-02 11:07:59 +02:00
arcanis a93f43dcd0 simplify login ttl processing 2023-02-24 16:52:55 +02:00
arcanis 20974dae6f add more validation rules 2023-02-23 15:18:56 +02:00
arcanis cbcfff27b8 add ability to read cookie secret from config 2023-02-22 18:47:56 +02:00
arcanis 96f394bab0 Release 2.7.0 2023-02-20 03:05:08 +02:00
arcanis aae3c82f3d update dependencies before build (#91)
Old implementation has used add step in order to fetch dependencies,
which could lead to build errors in case if dependency list was updated.

New solution uses dependencies which are declared at current version and
fetch them (if required and if enabled) before update process.

Closes #90
2023-02-12 06:02:30 +03:00
arcanis ab9e1fb1bd handle .gitignore file correctly in remote push trigger 2023-02-11 04:41:24 +02:00
arcanis 82322f7a6c mask mypy warning
The newest mypy produces the following warning:

src/ahriman/application/handlers/search.py:43: error: Non-overlapping identity check (left operand type: "Union[_DefaultFactory[Any], Literal[_MISSING_TYPE.MISSING]]", right operand type: "Type[List[Any]]")  [comparison-overlap]

which is more likely caused by updated dataclass models to protoocol (however decorators are still calllable). This commit masks problematic line from checking
2023-02-09 22:46:08 +02:00
arcanis 125da217d3 hide passwords and secrets from repo-config subcommand by default 2023-02-05 16:44:48 +02:00
arcanis 050041b2de handle architecture specific fields for dependencies
This change requires srcinfo at least 0.1.2 version. Unfortunatelly aur
api don't support architecture specific arrays for now, so we just leave
it as is

Closes #82
2023-01-31 14:34:09 +02:00