arcanis and GitHub
8befee58fe
patch architecture list in runtime ( #66 )
2022-08-09 15:18:20 +03:00
arcanis
9d016f51b5
frozen dataclasses
2022-07-26 14:40:28 +03:00
arcanis
c5fbccd519
reduce docker image size a bit
2022-07-18 11:42:26 +03:00
arcanis
eae5748a30
Release 2.1.0
2022-07-02 15:42:39 +03:00
arcanis
695ef708b6
simplify tmpdir method
2022-06-28 19:11:38 +03:00
arcanis
26408e82c0
review loggers once more
...
This commit makes loggers like java.util.logging with fully qualified
logger name which is created by LazyLogging trait
2022-06-28 11:00:45 +03:00
arcanis
7b647a9b5a
fix case with package name which cannot be downloaded
...
(without special settings)
The issue appears if file or its version contains one of special URI
characters, e.g. +. Theu will be interpreted as query parameters by
(some) servers (e.g. S3 works in this way). In this commit we rename
archive to the one with safe name.
2022-06-27 18:53:48 +03:00
arcanis
fac228d6c6
review loggers once more
...
This commit makes loggers like java.util.logging with fully qualified
logger name which is created by LazyLogging trait
2022-06-27 01:41:49 +03:00
arcanis
eb5ac5a52b
bump web libraries
...
also encode strings for the views
2022-06-24 12:03:38 +03:00
arcanis
047925dcfe
review loggers
2022-06-21 11:48:42 +03:00
arcanis
b8d2775050
replace if with while for telelgram reporting
2022-06-10 12:02:00 +03:00
arcanis
bf959ceb5f
Release 2.0.0
2022-06-05 20:46:32 +03:00
arcanis
945b6d0ac0
small docs update
2022-06-04 15:24:14 +03:00
arcanis
5df9f30e37
do not pass timestamp to pretty_datetime functioon
2022-05-31 21:26:39 +03:00
arcanis
1ea3911531
rewrite api under single /api endpoint
2022-05-29 17:15:49 +03:00
arcanis
d7966e419d
add shell and version parser
2022-05-27 18:34:07 +03:00
arcanis
3a5268993e
update readme
2022-05-22 16:00:24 +03:00
arcanis
ad84895e18
do not bump timestamp on empty updates
2022-05-21 04:19:04 +03:00
arcanis and GitHub
b1dfafe275
dynamic html load ( #63 )
...
* dynamic html load
* split by classes
2022-05-20 22:29:36 +03:00
arcanis
375f9fcfb7
add ability to run only speicifed triggers from command line
...
This commit also restores repo-report and repo-sync subcommands
2022-05-12 18:43:36 +03:00
arcanis
04dcaa93ab
fix case when provided trigger path is directory
...
If trigger is directory and we have permissions to read it, the loaded
will try to load this from it and will fail with IsADirectoryError
2022-05-12 07:22:50 +03:00
arcanis
f42c2c57fb
add not about pacman database update
2022-05-11 04:30:24 +03:00
arcanis
dc3562a4ec
add contribution guide
2022-05-11 03:17:37 +03:00
arcanis
dda94f8f9e
Release 2.0.0rc11
2022-05-10 06:03:33 +03:00
arcanis
709db6a5ed
fix bug with checking file
...
The bug appear when the file exists or doesn't, but we don't have
permissions to read it. This one must be treated as missed permission
2022-05-10 06:01:41 +03:00
arcanis
89a2d8e298
Release 2.0.0rc10
2022-05-09 21:51:35 +03:00
arcanis
b9cd98235e
triggers implementation ( #62 )
2022-05-09 20:00:20 +03:00
arcanis
1905360f8f
Release 2.0.0rc9
2022-05-08 03:58:53 +03:00
arcanis
a7018d9f7d
fix error with missing sources
...
In case if package has local cache it will fail to load because no
remote source set. Particially this case can be observed during tree
load
2022-05-08 03:56:54 +03:00
arcanis
73057bc08d
Release 2.0.0rc8
2022-05-06 20:55:54 +03:00
arcanis
7f87863734
shorten public imports
2022-05-06 04:08:05 +03:00
arcanis
2dac5a2520
Docs update ( #61 )
...
* Improve sphinx documentation
* update faq formatting
* fix setup doc
* fix docs according to the generated htmls
2022-05-06 02:54:37 +03:00
arcanis
720edc24ba
correct archllinux wording in readme
2022-05-06 02:54:37 +03:00
arcanis
fe9711d24f
add __all__ attribute
2022-05-06 02:54:37 +03:00
arcanis
c73a2a4aa9
add note about ahriman to index page
2022-05-06 02:54:37 +03:00
arcanis and GitHub
571f720ae2
Complete official repository support ( #59 )
2022-05-03 00:49:32 +03:00
arcanis
5030395025
rename classes in order to make documentation reference work
2022-04-18 05:30:02 +03:00
arcanis
03633d47ea
readthedoc integration
2022-04-18 04:39:40 +03:00
arcanis
1a575d6db8
move documentation to tox
2022-04-18 01:48:36 +03:00
arcanis
cdc018ad07
apply data migration in the same transaction block with schema migration
2022-04-18 01:19:38 +03:00
arcanis
f806c8918e
fix target naming
2022-04-18 01:19:20 +03:00
arcanis and GitHub
4daff81d5f
Docstring update ( #58 )
...
* migrate docstrings from reST to google format
* add raises note
Also change behaviour of the `from_option` method to fallback to
disabled instead of raising exception on unknown option
* fix part of warnings for sphinx
* make identation a bit more readable
* review fixes
* add verbose description for properties to make them parsed by sphinx extenstion
* add demo sphinx generator
2022-04-17 20:25:28 +03:00
arcanis
06bd29b78d
Release 2.0.0rc7
2022-04-11 00:48:08 +03:00
arcanis
c67ac3730c
docs update
2022-04-11 00:46:46 +03:00
arcanis
c094d4ee79
add backup and restore subcommands
2022-04-10 21:34:34 +03:00
arcanis
3cb479ba4b
merge restore to rebuild commannd
2022-04-10 01:51:12 +03:00
arcanis
307a7f4a71
Release 2.0.0rc6
2022-04-09 17:34:23 +03:00
arcanis
25734876de
do not render failed packages in jinja ( #57 )
...
basic templates require package info which is unavailable if package
wasn't built
2022-04-09 17:31:13 +03:00
arcanis
53df735eb2
Release 2.0.0rc5
2022-04-08 04:42:05 +03:00
arcanis
fb7275f9dd
change telegram default index to telegram-index
2022-04-08 04:32:34 +03:00
arcanis
f01af5f54a
force git run from the same dir to clone
2022-04-08 04:04:06 +03:00
arcanis
1abe8d291f
fix users migration
2022-04-08 03:45:17 +03:00
arcanis
1a83e55d64
add telegram integraion
2022-04-08 03:41:07 +03:00
arcanis
b8e17c4879
Release 2.0.0rc4
2022-04-08 01:14:35 +03:00
arcanis
bee41dcc55
trim versions before dependency list calculation
...
When dependencies list contains same package with version it tries to
find packages which don't exists
2022-04-07 20:32:55 +03:00
arcanis
9f7995fb2f
add support of repository restoration
2022-04-07 04:49:07 +03:00
arcanis
9ce1c36f35
add support of officiall repositories api
2022-04-07 04:19:37 +03:00
arcanis
4990ce4198
fix descriptions
2022-04-06 01:48:03 +03:00
arcanis
8f18ead4cc
Release 2.0.0rc3
2022-04-04 02:40:17 +03:00
arcanis
7ea50887a4
allow any tag for push
2022-04-04 02:39:56 +03:00
arcanis
97ec5bfa41
Release 2.0.0rc2
2022-04-04 02:27:19 +03:00
arcanis
5fcc15191a
change regex for sed
2022-04-04 02:26:42 +03:00
arcanis
c5f086a7c6
Release 2.0.0-rc1
2022-04-04 02:18:31 +03:00
arcanis
432ca0cc48
better processing for subcommands
...
Old versions cached full output to memory and only after that printed it
into log. This behaviour causes issues in case if operation stucks and
you would need to find the step at which it does. New check_output
method uses Popen directly and iterates over stdout lines
Also changed behaviour from merging stderr into stdout to separate
stderr logging.
Any other behaviour of the function must be the same.
Also changed GPG.key_import method to disable local signing since it
seems it is useless (and may break process in case if there is no
private key)
2022-04-04 00:03:22 +03:00
arcanis
1a0322b32e
docs update
2022-04-03 01:44:11 +03:00
arcanis
fc086c0d87
remove implicit user from docker
2022-04-01 18:39:24 +03:00
arcanis and GitHub
d5503b22ba
add configurable exit codes to some commands ( #55 )
2022-04-01 18:30:11 +03:00
arcanis
a132b1544a
create user in docker container
...
also fix user reading and add nocolor flag by default
2022-03-31 03:25:53 +03:00
arcanis
63acae4b1c
configure docker to work with tags
2022-03-31 02:19:48 +03:00
arcanis
8e6473d2a0
add help command
2022-03-31 02:18:39 +03:00
arcanis
fdcbcc4541
update license years
2022-03-31 01:49:31 +03:00
arcanis and GitHub
83931f5cf4
port part of settings to database ( #54 )
2022-03-31 01:48:06 +03:00
arcanis
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
arcanis
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
arcanis
041b3824c1
enable privileged mode for the docker
2022-03-20 04:05:43 +03:00
arcanis
a11cce43ff
fallback to AUR source in case of PermissionError exception
2022-03-20 03:46:56 +03:00
arcanis
1388df9a7e
add fallback for utf option
2022-03-20 03:16:33 +03:00
arcanis
6ee1c8ef5a
replace pspec with spec
2022-03-20 03:08:51 +03:00
arcanis
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
arcanis
060c7412b1
ALLOW_AUTO_ARCHITECTURE_RUN flag for unsafe commands
2022-03-19 03:08:45 +03:00
arcanis
93406483fe
docker hub integration
2022-03-14 00:08:21 +03:00
arcanis and GitHub
046febc440
add docker support ( #52 )
...
* add docker support
* make shellcheck happy
2022-03-13 23:43:25 +03:00
arcanis
9964a96296
strict test checks
2022-03-04 02:04:52 +03:00
arcanis
9529525cb5
set success status on up to date packages
2022-02-06 06:22:58 +03:00
arcanis
fa4c1c6205
Release 1.8.0
2022-02-06 05:45:50 +03:00
arcanis
f9b1d89756
update for new aiohttp api
2022-02-06 04:05:33 +03:00
arcanis and GitHub
9197b416e6
use own aur wrapper ( #49 )
2022-02-06 03:44:57 +03:00
arcanis
f54a2fe740
Release 1.7.0
2021-12-26 02:01:09 +03:00
arcanis
d1f990eac8
make mypy happy
2021-12-26 01:58:55 +03:00
arcanis
1e85c1db70
handle dependencies recursively
2021-12-22 19:35:09 +03:00
arcanis and GitHub
32aaa4a1f8
initial implementation of the local git clones ( #48 )
2021-12-22 15:56:24 +03:00
arcanis
a9e20f0958
do not read aur_url from settings, use repository property instead
2021-11-15 11:27:41 +03:00
arcanis
32b129a806
Release 1.6.4
2021-11-10 21:29:45 +03:00
arcanis and GitHub
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
arcanis
5b678149dc
Release 1.6.3
2021-11-04 21:32:27 +03:00
arcanis
79e1cff421
take python laziness into account
2021-11-04 21:30:34 +03:00
arcanis
2e07de4a12
Release 1.6.2
2021-10-28 03:20:52 +03:00
arcanis
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
arcanis
52b54a9d05
add nginx configuration to the faq
2021-10-27 03:35:33 +03:00
arcanis
c0f7f81050
Release 1.6.1
2021-10-27 03:16:53 +03:00