Commit Graph

135 Commits

Author SHA1 Message Date
d548fa02f0 add docstrings for every fixture and test methods
also add tests for missing components
2021-08-11 01:55:27 +03:00
b5c6c286f7 skip update process if no update supplied 2021-08-10 23:25:12 +03:00
aad599be67 Native s3 sync (#23)
* Native S3 sync implementation

* fix imports

* fix paths reading

* install s3 components duriing test stage
2021-08-10 23:18:56 +03:00
dad3f418ad handle provides list 2021-07-05 22:08:04 +03:00
33cfa8fef8 Feature/all archs (#21)
* add init subcommand

* add also init command to repository object

* add ability to generate list of architectures

* check if architecture list is not empty
2021-05-23 16:40:40 +03:00
9d37e3ae23 imply no-log for every unsafe parser (#20) 2021-05-19 23:30:59 +03:00
2eb2d3a70a allow to specify list of package dependencies in rebuild target
also replace nargs= by action=append in non-positional args. It is
required to make arguments parsing result more predictable and
consistent
2021-04-18 13:34:27 +03:00
856a94ff00 import pgp key implementation (#17)
* import pgp key implementation

* do not ask confirmation for local sign. Also add argparser test

* superseed requests by python-aur package

* ...and drop --skippgpcheck makgepkg flag by default
2021-04-10 01:37:45 +03:00
f2b39fe439 add search subparser (#15) 2021-04-09 11:57:06 +03:00
213b2c65a0 Add web status route (#13)
* add status route

* typed status and get status at the start of application
2021-04-08 01:48:53 +03:00
fbccb1394d format long line 2021-04-06 05:53:38 +03:00
01887ec44b add ability to skip email report generation for empty update list 2021-04-06 05:51:50 +03:00
4729c0ea5f Email report (#11)
* Demo email report implementation

* improved ssl mode

* correct default option spelling and more fields to be hidden for not
extended reports
2021-04-06 05:45:17 +03:00
fcb892f39f implicit type conversion from command line 2021-04-04 23:53:30 +03:00
1785b0470f more options in setup command 2021-04-04 15:42:06 +03:00
c04f940ad3 fix check errors 2021-04-04 14:00:42 +03:00
207da4caa7 100% coverage 2021-04-03 21:30:57 +03:00
cad85b0f20 add ability to fitler by dependency list 2021-04-02 04:20:39 +03:00
3e8e54857f add ability to remove package from status page 2021-04-02 01:26:46 +03:00
6470b13511 Release 0.20.0 2021-04-01 02:38:59 +03:00
4e08297311 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
32c3c52874 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
e21b990777 add now argument to add command 2021-03-31 02:19:13 +03:00
cf276f2398 make configuration object arch-specific 2021-03-31 00:04:13 +03:00
4ca2348f0d more verbose variables 2021-03-30 05:29:13 +03:00
eb02e1e62b merge settings groups instead of using whole group 2021-03-30 04:58:15 +03:00
8d7d508bb2 move rsync and s3 options to configuration 2021-03-30 02:38:18 +03:00
eb7f3b2484 rename gpg test to correct naming 2021-03-30 01:53:23 +03:00
e87402fdde add more tests 2021-03-30 01:42:01 +03:00
74fc283078 more properties to be shown in status pages 2021-03-29 11:48:32 +03:00
63529633ec add status update subcommand
also satisfy pylint with too big method with too much variables
2021-03-29 04:17:10 +03:00
a89888769f Setup command (#9)
* block issues without templates

* add setup subcommand

* handle devtools config correctly
2021-03-29 03:24:58 +03:00
d744fe1647 remove unused import 2021-03-28 16:24:51 +03:00
6f1b37c4cb add sign command (#7) (#8) 2021-03-28 16:24:00 +03:00
60b8477cde 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