Commit graph

100 commits

Author SHA1 Message Date
Pavel Raiskup
954f0ea93b check: fix pytest
- more verbose pytest
- document it in README.md
- /bin/pytest fails with el8 for some reason, stay on nosetests-3

Closes: #54
Closes: #58
2023-01-04 18:11:40 +01:00
Charalampos Stratakis
11d258a0a4 Utilize pytest instead of the deprecated nose test runner
Closes: #54
Closes: #58
2023-01-04 18:11:40 +01:00
Miroslav Suchý
209b65f971 use SPDX format for license
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2022-12-05 13:22:21 +01:00
clime
949b0a8f00 bump version to 1.16
* also add lost changelog entry for version 1.15
2020-10-05 04:53:37 +02:00
Silvie Chlupova
003303a065 Garbage collection script
This makes subsequent git clones from the dist-git machine much more IO effective and faster.
It also saves disk space. It cleans up all unnecessary files.
The dist-git-gc script will run monthly.
2020-09-25 15:23:12 +02:00
Pavel Raiskup
79fcac3fd1 Don't depend on dist-git-selinux inside containers
Container environments usually don't have the selinux-policy-targeted
package installed, and SELinux isn't enabled from the "inside"
perspective.

Therefore, let's don't depend on the selinux sub-package as long as
the selinux-policy-targeted package isn't installed.  This
dependency conditional idiom is for quite some time used in
copr-backend.spec (and friends) with the corresponding copr-selinux
package.
2020-07-28 15:45:09 +02:00
Pavel Raiskup
0b99a8ab09 Only "suggest" fedmsg, don't "recommend"
Aka do the same we do for fedora-messaging.
2020-06-11 16:37:47 +02:00
Pierre-Yves Chibon
a2d334e898 Add support for fedora-messaging notifications
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-11 14:40:57 +02:00
Jakub Kadlcik
a9e1187441 Revert "disable unit tests as they do not pass with network disabled during build"
This reverts commit 1a3ca4219f.
2020-05-25 01:10:35 +02:00
clime
7d376539a3 version bump 2020-05-21 11:20:11 +02:00
clime
1a3ca4219f disable unit tests as they do not pass with network disabled during build 2020-05-21 11:18:32 +02:00
clime
bf52a7afe5 version bump 2020-05-21 09:01:16 +02:00
Jakub Kadlcik
0dccddc189 Use nosetests-3 command on python3 distributions 2020-05-16 17:13:07 +02:00
clime
47fcf75151 packaging fixes for epel8
we want to have Requires: moreutils once possible
2020-05-13 09:07:45 +02:00
Jakub Kadlcik
2368a283a8 Run tests within spec %check phase 2020-05-11 15:47:57 +02:00
Miroslav Suchý
80a6fbea98 bump up version 2019-05-28 16:56:11 +02:00
Miroslav Suchý
b81e4098ec remove old changelog entries 2019-05-28 16:46:13 +02:00
Miroslav Suchý
0827f91cbb do not specify full path for hardlink [RHBZ#1714637]
on Fedora 30- it is in /usr/sbin/
on Fedora 31+ it is in /usr/bin/
Both variants are in $PATH so calling it without full path is fine.
2019-05-28 16:45:34 +02:00
Dominik Turecek
ba39b12442 add script for removing unused source tarballs in lookaside cache
The script goes through all branches of a project (specified
by a path to the package git directory) and deletes all sources
in lookaside cache that are not referenced by the latest commits
in any of the branches.
2019-05-17 10:49:17 +02:00
clime
1a3597b6ad bump version
* should have been bumped already on the prev commit with 1.11 tag
2019-05-16 12:20:16 +02:00
clime
1c3f79400f remove python3-configparser from requires as it is contained in python3
standard lib
2019-04-29 22:52:03 +02:00
clime
c3dd2d971b create /usr/bin links to dist-git's executable files 2019-03-12 10:27:26 +01:00
clime
2092ddc97c version bump to 1.10 2019-03-11 22:37:57 +01:00
clime
eb9ab02d02 make upload.cgi python2/3 compatible, fix formatting 2019-03-11 12:41:08 +01:00
clime
941f838d9e version bump to 1.9, add missing changelog for 1.8 2018-11-23 08:51:24 +01:00
clime
7deaf9a52d version bump 2018-08-14 23:30:54 +02:00
clime
09a8e92724 fix python-grokmirror dep 2018-08-14 21:27:43 +02:00
Miroslav Suchý
c0643b9dc6 defattr is not needed since rpm 4.2
additionally %{name}.cfgs is added to the end on %files, so %defattr used in that files does not
have influence on the main %files section
2018-07-30 10:48:18 +02:00
clime
9d90d0461a bump version 2018-02-26 14:27:45 +01:00
clime
0fde1ed855 version bump 2018-02-19 12:05:41 +01:00
clime
dd8715d3a4 fix Requires definitions 2018-02-19 10:54:27 +01:00
clime
eaeaa8f6f2 update python-grokmirror to be python2-grokmirror in f28 2018-02-19 08:55:42 +01:00
clime
ae51199cb4 fix requires for epel7 2018-02-05 19:30:41 +01:00
clime
4288b69c23 update python- to python2-, note: python2-grokmirror is not yet available for latest Fedoras 2018-02-03 19:34:07 +01:00
clime
43b27145a9 require dist-git-selinux 2018-01-13 13:35:17 +01:00
clime
532d0f406c version bump 2017-12-18 05:41:10 +01:00
clime
17139e481f use distro-provided %{_selinux_policy_version} macro,
drop support for el6 where this macro is not available
2017-12-17 10:15:12 +01:00
clime
517e00cbcb Automatic commit of package [dist-git] release [1.4-1].
Created by command:

/usr/bin/tito tag
2017-07-25 15:27:02 +02:00
clime
ae42555729 Automatic commit of package [dist-git] release [1.3-1].
Created by command:

/usr/bin/tito tag
2017-06-26 21:29:34 +02:00
clime
5da3bdde66 Automatic commit of package [dist-git] release [1.2-1].
Created by command:

/usr/bin/tito tag
2017-05-26 16:34:25 +02:00
clime
eb0c75da81 grokmirror support 2017-05-26 10:10:09 +02:00
clime
25aefa532b Automatic commit of package [dist-git] release [1.1-1].
Created by command:

/usr/bin/tito tag
2017-05-03 10:09:06 +02:00
clime
4b9452a886 Automatic commit of package [dist-git] release [1.0-1].
Created by command:

/usr/bin/tito tag --use-version=1.0
2017-04-10 10:43:59 +02:00
clime
02a2bb2d30 store repos directly under git/ 2017-04-08 16:12:27 +02:00
clime
7e68e079c4 name repo dir "rpms" to be compatible with prev dist-git and allow upgrade
Note: /var/lib/dist-git/repostories is symlinked to /var/lib/dist-git/rpms
2017-04-07 13:47:11 +02:00
clime
8b2a59e000 fix selinux policyversion condition 2017-03-30 17:12:51 +02:00
clime
591bd54f0f updates according to package review
See https://bugzilla.redhat.com/show_bug.cgi?id=1428760
2017-03-08 16:43:47 +01:00
clime
45296ae2e6 add missing dep on python-configparser 2017-02-25 22:59:23 +01:00
Pavel Raiskup
cd6821d0ae config: use ini file
Follow up after discussion in PR #11.
2017-02-23 17:12:00 +01:00
clime
5cdd440be1 change path of executables to /usr/share/dist-git as it was before 2017-02-22 14:43:23 +01:00