Commit Graph

203 Commits

Author SHA1 Message Date
arcanis 880c70bd58 constistent classmethod and staticmethod usage
General idea is to use classmethod for every constructor and
statismethod otherwise.
Also use self and cls whenever it's possible to call static and class
methods
2021-03-31 04:29:08 +03:00
arcanis d449eb3c2e change arch specific section naming from section_arch to section:arch
Some archs can have _ in their name. Also in future we can use sections
with similar names
2021-03-31 02:31:14 +03:00
arcanis 17b5cd0751 Release 0.19.0 0.19.0 2021-03-31 02:19:44 +03:00
arcanis 2aef906fc8 add now argument to add command 2021-03-31 02:19:13 +03:00
arcanis e034327501 filter out every foreign arch in config 2021-03-31 01:55:39 +03:00
arcanis 5d79fcca22 read sign targets from correct path 2021-03-31 00:11:05 +03:00
arcanis 6e9dcca254 make configuration object arch-specific 2021-03-31 00:04:13 +03:00
arcanis fbf6748d4a more verbose variables 2021-03-30 05:29:13 +03:00
arcanis 2260e52d5c merge settings groups instead of using whole group 2021-03-30 04:58:15 +03:00
arcanis bd2b61494f move rsync and s3 options to configuration 2021-03-30 02:38:18 +03:00
arcanis 7280d30748 verbose help message 2021-03-30 02:25:23 +03:00
arcanis 710274065d add status badge 2021-03-30 02:01:59 +03:00
arcanis e0b09cefad rename gpg test to correct naming 2021-03-30 01:53:23 +03:00
arcanis 3b93510aad add more tests 2021-03-30 01:42:01 +03:00
arcanis 5003cabeb5 Release 0.18.0 0.18.0 2021-03-29 11:48:54 +03:00
arcanis bc6af9256b more properties to be shown in status pages 2021-03-29 11:48:32 +03:00
arcanis 1ac7c87317 architecture depending pacman.conf 2021-03-29 10:08:11 +03:00
arcanis 803b7bee1e add status update subcommand
also satisfy pylint with too big method with too much variables
2021-03-29 04:17:10 +03:00
arcanis 646190121a Release 0.17.0 0.17.0 2021-03-29 03:25:43 +03:00
arcanis 10e4f3b629 Setup command (#9)
* block issues without templates

* add setup subcommand

* handle devtools config correctly
2021-03-29 03:24:58 +03:00
arcanis 80a1f37c85 more templates 2021-03-29 00:13:20 +03:00
arcanis 751676a07e Add issue templates 2021-03-28 23:50:41 +03:00
arcanis e1a7071ce5 try to integrate with github workflows 2021-03-28 23:13:42 +03:00
arcanis 1605d185e2 remove unused import 2021-03-28 16:24:51 +03:00
arcanis 2fdf910e78 add sign command (#7) (#8) 2021-03-28 16:24:00 +03:00
arcanis 63dc43366b Release 0.16.0 0.16.0 2021-03-28 15:38:12 +03:00
arcanis 74a244f06c Add tests (#1) (#5)
* add models tests (#1)

also replace single quote to double one to confort PEP docstring
+ move _check_output to class properties to make it available for
mocking

* alpm tests implementation

* try to replace os with pathlib

* update tests for pathlib

* fix includes glob and trim version from dependencies

* build_tools package tests

* repository component tests

* add sign tests

* complete status tests

* handle exceptions in actual_version calls

* complete core tests

* move configuration to root conftest

* application tests

* complete application tests

* change copyright to more generic one

* base web tests

* complete web tests

* complete testkit

also add argument parsers test
2021-03-28 15:30:51 +03:00
arcanis 69499b2d0a split functions to handles package (#3) 2021-03-21 16:33:04 +03:00
arcanis 475afe4e08 add ability to import packages from diretory (#2) 2021-03-21 15:29:30 +03:00
arcanis 2f2d6c2b70 imply unsafe option for some commands (#4) 2021-03-21 15:22:06 +03:00
arcanis 15e3d2500c add status command 2021-03-20 22:20:47 +03:00
arcanis 3d74b1485a Release 0.15.0 0.15.0 2021-03-20 18:05:36 +03:00
arcanis 413d3b7509 web service improvements
* load and save web service state to cache file
* disable web reporting to self
* restore console handler settings
* allow to redirect logs to stderr
* verbose http error logging
* update package status by group, not by single package
* split Repository class to several traits
* move json generators/readers to dataclasses
2021-03-20 18:01:57 +03:00
arcanis 3e2fb7b4e6 group package updates by bases for correct reporting 2021-03-20 16:13:13 +03:00
arcanis 71196dc58b add watcher cache support 2021-03-20 05:42:33 +03:00
arcanis e7736e985f add pylint integration & fix some pylint warnings 2021-03-19 05:07:41 +03:00
arcanis f929a552e8 drop unused ignore lines 2021-03-19 01:02:56 +03:00
arcanis 2c7ef3471e do not print upload progress 2021-03-17 19:12:31 +03:00
arcanis 47bb22b1f4 do not set package to unknown for known packages 2021-03-17 19:08:36 +03:00
arcanis 5a340146bb add get requests and change HTTP OK to HTTP No Content 2021-03-17 05:20:20 +03:00
arcanis 0937a9a4b5 add check target 2021-03-17 04:39:25 +03:00
arcanis 310eba694f Release 0.14.1 0.14.1 2021-03-17 03:35:38 +03:00
arcanis 22d2057c3a replace script by makefile 2021-03-17 03:35:16 +03:00
arcanis 47fc5bca57 Release 0.14.0 0.14.0 2021-03-16 20:11:56 +03:00
arcanis d4222eca25 add dump config option, change all timestamp objects to int, check git
directory
2021-03-16 05:24:07 +03:00
arcanis b5046b787c some improvements
* handle exceptions in multiprocessing
* readme update
* safe logger handler implementation (uses either stderr or
  rotatingfiles)
* user UID check
2021-03-16 04:25:58 +03:00
arcanis 75c0cc970e Release 0.13.0 0.13.0 2021-03-16 01:40:48 +03:00
arcanis 504d57b2f5 more package propertieis 2021-03-16 01:39:16 +03:00
arcanis 4c20d0241a add clean subcommand 2021-03-15 23:34:50 +03:00
arcanis db0a6bf34e smart fetch & vcs cache 2021-03-15 23:28:08 +03:00