Commit Graph

274 Commits

Author SHA1 Message Date
fc086c0d87 remove implicit user from docker 2022-04-01 18:39:24 +03:00
d5503b22ba add configurable exit codes to some commands (#55) 2022-04-01 18:30:11 +03:00
a132b1544a create user in docker container
also fix user reading and add nocolor flag by default
2022-03-31 03:25:53 +03:00
63acae4b1c configure docker to work with tags 2022-03-31 02:19:48 +03:00
8e6473d2a0 add help command 2022-03-31 02:18:39 +03:00
fdcbcc4541 update license years 2022-03-31 01:49:31 +03:00
83931f5cf4 port part of settings to database (#54) 2022-03-31 01:48:06 +03:00
d4eadf0013 migrate to tox
this also requires to move default configuration files to share/ahriman.
Thus the following features have been added
* default configuration is not stored in /usr/share/ahriman/settings
* package installed via PKGBUILD now copies files from /usr
* configuration class now fallbacks to default in /usr
2022-03-21 04:38:42 +03:00
04174a3e6d deprecate init/repo-init command
In current workflow you need to run setup to run init (because of
repository name), but you need to run init before setup (because of
repository tree rights).

New solution just add `Repo.init()` method call to setup subcommand
after config reload to make sure that repository name has been applied.
In addition chown method as well as setuid method for check_output have
been added.
2022-03-21 01:32:11 +03:00
041b3824c1 enable privileged mode for the docker 2022-03-20 04:05:43 +03:00
a11cce43ff fallback to AUR source in case of PermissionError exception 2022-03-20 03:46:56 +03:00
1388df9a7e add fallback for utf option 2022-03-20 03:16:33 +03:00
6ee1c8ef5a replace pspec with spec 2022-03-20 03:08:51 +03:00
a7c6d95b34 add console printer
also add python-requests as explicit dependency and escape symbols in
repository name for badges in default tempate
2022-03-20 02:31:50 +03:00
060c7412b1 ALLOW_AUTO_ARCHITECTURE_RUN flag for unsafe commands 2022-03-19 03:08:45 +03:00
93406483fe docker hub integration 2022-03-14 00:08:21 +03:00
046febc440 add docker support (#52)
* add docker support

* make shellcheck happy
2022-03-13 23:43:25 +03:00
9964a96296 strict test checks 2022-03-04 02:04:52 +03:00
9529525cb5 set success status on up to date packages 2022-02-06 06:22:58 +03:00
fa4c1c6205 Release 1.8.0 2022-02-06 05:45:50 +03:00
f9b1d89756 update for new aiohttp api 2022-02-06 04:05:33 +03:00
9197b416e6 use own aur wrapper (#49) 2022-02-06 03:44:57 +03:00
f54a2fe740 Release 1.7.0 2021-12-26 02:01:09 +03:00
d1f990eac8 make mypy happy 2021-12-26 01:58:55 +03:00
1e85c1db70 handle dependencies recursively 2021-12-22 19:35:09 +03:00
32aaa4a1f8 initial implementation of the local git clones (#48) 2021-12-22 15:56:24 +03:00
a9e20f0958 do not read aur_url from settings, use repository property instead 2021-11-15 11:27:41 +03:00
32b129a806 Release 1.6.4 2021-11-10 21:29:45 +03:00
2752e68ade handle packages which have been removed from the repository (#45)
* handle packages which have been removed from the repository

* manually remove packages which have been removed from the base
2021-11-10 01:37:25 +03:00
5b678149dc Release 1.6.3 2021-11-04 21:32:27 +03:00
79e1cff421 take python laziness into account 2021-11-04 21:30:34 +03:00
2e07de4a12 Release 1.6.2 2021-10-28 03:20:52 +03:00
7e3ef889e8 improve configuration extension
* Allow spaces in lists. This feature has been done in the way as shell
  interprets arguments by using quotation marks
* Clear current content on reload
2021-10-28 03:19:50 +03:00
52b54a9d05 add nginx configuration to the faq 2021-10-27 03:35:33 +03:00
c0f7f81050 Release 1.6.1 2021-10-27 03:16:53 +03:00
38af344bde update license headers 2021-10-27 03:14:39 +03:00
62496478ae add update printer which will print current version if any 2021-10-27 03:11:43 +03:00
ce48169aad use PackageSource enum for Package.load method
When using add function it sill tries to load data with invalid source
2021-10-27 02:49:23 +03:00
21845bc934 Release 1.6.0 2021-10-27 01:59:36 +03:00
249003de0a drop no-quiet option and change tree_create message error to warn 2021-10-27 01:57:54 +03:00
d8704e9c75 remove help sample from readme because it changes faster than om able to maintain it 2021-10-26 04:53:45 +03:00
0a8b172e9c unify aur.search method
due to specific of the AUR API in order to reduce the code we are using
own wrapper and work with it instead of direct library calls
2021-10-26 04:49:55 +03:00
7d782f120d Add ability to show more info in search and status subcommands
This feature also introduces the followiing changes
* aur-search command now works as expected with multiterms
* printer classes for managing of data print
* --sort-by argument for aur-search subcommand instead of using package
  name
* --quiet argument now has also --no-quite option
* if --quite is supplied, the log level will be set to warn instead of
  critical to be able to see error messages
* pretty_datetime function now also supports datetime objects
* BuildStatus is now pure dataclass
2021-10-26 04:27:36 +03:00
9057ecf67a always update environnment before any action 2021-10-24 04:14:57 +03:00
35df354c14 split application class into traits 2021-10-23 13:44:57 +03:00
4d4e5e9dde add patches to clean command 2021-10-20 03:22:16 +03:00
ff24188ca1 add ability to download package from external links (e.g. HTTP) 2021-10-20 03:09:58 +03:00
9d4f85624d add ability to read argument list from file 2021-10-20 02:15:59 +03:00
295f810222 logger improvements
* remove build log since it has no usages actually (replaced by root
  logger)
* decrease boto3 log levels to INFO by default to reduce noice
2021-10-20 02:12:49 +03:00
d8523bd83b always return json in responses 2021-10-20 02:12:39 +03:00