Tomas Kopecek
f82359b920
make clean - more files
...
Remove setup.py genereated directories and potential python stubs.
2024-08-15 11:53:40 +02:00
Tomas Kopecek
23ba4c2c3b
Move sql files to schemas directory
2023-09-13 12:17:10 +02:00
Tomas Kopecek
cc4763f7e7
Package migration scripts to /usr/share/koji
...
In original location it was packages as docs. E.g. in containers
it is often installed with --nodocs.
Related: https://pagure.io/koji/issue/3762
2023-09-13 12:17:10 +02:00
Tomas Kopecek
df70ecfbba
block py2 building for hub/web/util
2022-12-08 09:57:35 +01:00
Tomas Kopecek
8902675489
further changes
2022-12-08 09:57:35 +01:00
Tomas Kopecek
ba2e1e520b
basic security checks with bandit
...
Fixes: https://pagure.io/koji/issue/3042
2021-10-20 15:20:14 +02:00
Zack Cerza
2b06288792
Run tests in virtualenvs using tox
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Tomas Kopecek
51358cfd09
simplify py3 tests
2020-06-18 15:41:35 +02:00
Christopher O'Brien
e4062ea1ea
allow python to find its own version of nose rather than looking for a binary which may not exist
2020-03-03 14:13:48 +01:00
Yu Ming Zhu
1e1a760da0
make flake8 targets and .flake8 config
...
it requires
```
pip install flake8
pip install flake8-import-order
```
or
```
dnf install python3-flake8 python3-flake8-import-order
```
2019-12-12 11:00:58 +00:00
Yu Ming Zhu
2fc351b2bd
fixes typo in test3
2019-11-27 15:42:30 +01:00
Yuming Zhu
7a6ebc851f
improve test and clean targets in Makefiles
2019-11-27 15:42:30 +01:00
Mike McLean
ec92a80fdc
fix reported url in make test/test3
2019-05-06 10:19:39 -04:00
Tomas Kopecek
0ff18ab08a
Include CLI plugins in setup.py
...
Fixes: https://pagure.io/koji/issue/1221
2019-02-20 15:52:06 +01:00
Tomas Kopecek
8e69046d46
add PYTHONPATH for web tests
2019-02-19 17:29:25 -05:00
Tomas Kopecek
99e72ead68
Fix unit tests
2019-02-19 17:29:25 -05:00
Tomas Kopecek
715b40d6b9
spec changes for py3 hub
...
Fixes: https://pagure.io/koji/issue/905
2019-02-05 16:46:32 +01:00
Yuming Zhu
fa5ccf0eac
using explicit coverage2/3 in Makefile
2019-01-28 08:46:11 -05:00
Tomas Kopecek
b2230b9510
set default python
2019-01-28 06:06:50 -05:00
Tomas Kopecek
ccdb8ac34c
Use python2/3 instead of python in Makefile/spec
...
Fixes: https://pagure.io/koji/issue/1018
2019-01-28 06:06:50 -05:00
Franz Chih-Ping Hsieh
51b56c0e76
force coverage3 read .coveragerc3 as rcfile to generate report and html
2017-12-19 09:59:35 -05:00
Tomas Kopecek
b74b5c0ef0
Documentation update for PyPi
2017-12-08 09:57:47 -05:00
Tomas Kopecek
1f78c6d9ee
Makefile targets for PyPi
2017-12-08 09:57:47 -05:00
Mike McLean
824d27935c
runtests script
2017-11-30 16:23:22 -05:00
Tomas Kopecek
5ac2a6b8f0
display suid bit in web ui
...
Related: https://pagure.io/koji/issue/616
2017-10-05 10:38:48 -04:00
Franz Hsieh
41109140c4
remove docs from SUBDIRS
2017-10-04 11:13:56 -04:00
Franz Hsieh
5fc14290a0
cleanup unnecessary subdir phony
2017-10-02 16:30:22 -04:00
Mike McLean
c8ff2ad0b3
ignore coverage erase failure in make clean target
2017-06-28 10:46:47 -04:00
Tomas Kopecek
c02eb739aa
update cli tests
2017-06-13 11:42:04 +02:00
Mike McLean
88ea9926ab
use coverage directly. adjust coverage config for py3 tests
2017-06-01 09:39:25 +02:00
Mike McLean
0661e0e3eb
Work around coverage bug in py3 on Fedora
2017-06-01 09:39:25 +02:00
Mike McLean
6092f9e2ae
coverage for py3 unit tests
2017-06-01 09:39:25 +02:00
Mike McLean
5eea74aa71
use python3 -m nose
2017-06-01 09:39:25 +02:00
Mike McLean
c976c3f2b2
test3 Makefile target
2017-06-01 09:39:24 +02:00
Tomas Kopecek
b133f9c983
more runroot tests
2017-03-29 18:13:39 -04:00
Mike McLean
476cbb061a
erase coverage data before generating it
2016-06-09 15:11:24 -04:00
Ralph Bean
7ed92ca244
Produce a nice coverage report.
2016-06-09 14:51:16 -04:00
Ralph Bean
b12905774f
Add a test of the runroot hub plugin.
2016-06-08 12:08:05 -04:00
Ralph Bean
708b6a411c
Allow hiding a user from the frontpage task list.
...
This adds new query arguments to the taskList hub xmlrpc endpoint, and then
makes use of those arguments in koji-web. A new optional configuration value
is added for koji-web: `HiddenUser`, which can be used to specify which user
account should be hidden. This could be useful for deployments that have a
continuous-integration account, the spam from which makes the frontpage
difficult to read.
Unit test cases are also added for some functions of the hub taskList endpoint.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-05-16 13:43:39 -04:00
Ralph Bean
f475b92802
Coverage tracking for the test suite.
...
If you issue `make test`, it will run the tests and print out a coverage
reporting indicating what lines of code were covered by the tests and which
were not. This will (hopefully) be useful more over time as we start to write
more tests.
2016-03-15 11:29:41 -04:00
Zbigniew Jędrzejewski-Szmek
10a75fc22f
Add systemd unit file for kojid
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 08:14:53 -05:00
Mike McLean
e1fc769c70
package kojivmd
2010-10-20 16:18:56 -04:00
Mike Bonnet
2571537bb2
add koji-hub-plugins subpackage
2009-11-10 14:56:05 -05:00
Jeffrey C. Ollie
98ae49d91a
add a "sources" target to the Makefile to enable building Koji from the Koji git repo with Koji
...
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-02-18 14:51:15 -05:00
Jesse Keating
035047b25f
Add a test-srpm build target, from oliver for #72
2008-05-30 14:58:45 -04:00
Michael McLean
2ec7b92457
add test-tarball Makefile target
2007-03-29 16:44:11 -04:00
Jesse Keating
52f3c0ea71
Move the more dangerous git clean to git-clean target, restore old clean
2007-03-20 17:18:48 -04:00
Jesse Keating
edc5ee08e4
Create a force-tag target
2007-03-20 13:33:24 -04:00
Jesse Keating
0eee3a1d4e
Use the right tag option
2007-03-20 13:32:14 -04:00
Jesse Keating
3e9dbe8011
Don't use tarball directly for building, screws with spec permissions
2007-02-19 15:13:51 -05:00