Commit graph

356 commits

Author SHA1 Message Date
Peter Stensmyr
2aa456b0db dist-git: fix readme links to moved image files
Image files were moved in aae22721c9 -
update links in the readme to their new home.
2024-12-02 08:17:02 +01:00
Pavel Raiskup
2838072005 packit: build for epel-10 2024-11-24 21:29:25 +01:00
Pavel Raiskup
0b44927f37 dist-git-client: drop a compiled file 2024-11-22 09:24:52 +01:00
Pavel Raiskup
4aed94b82f releng: release to epel8, epel9 and all Fedora 2024-09-27 21:17:49 +02:00
Pavel Raiskup
362ab22496 Automatic commit of package [dist-git] release [1.18-1].
Created by command:

/usr/bin/tito tag
2024-09-27 21:13:23 +02:00
Miroslav Suchý
099da9fcba replace test on _selinux_policy_version by macro that does it all 2024-09-16 10:37:44 +02:00
Miroslav Suchý
e475aa8f0b handle situation when _selinux_policy_version is not defined 2024-09-16 10:37:44 +02:00
Miroslav Suchý
ef3e2d3cdc silence pylint
addressing:
Error: PYLINT_WARNING:
dist-git/tests/test_upload_script.py:5: W0611[unused-import]: Unused import sys
2024-09-11 12:54:41 +02:00
Miroslav Suchý
15f514291d remove rhel7 specific code 2024-09-11 12:54:41 +02:00
Pavel Raiskup
a2da091029 Move %_bindir symlinks out from dist-git-selinux 2024-09-11 11:09:45 +02:00
Jakub Kadlcik
e21e165235 Depend on python3-legacy-cgi for F41+
Fix #64

The Python `cgi` module is deprecated since Python 3.11 and removed
from the standard library since Python 3.13. According to PEP 594
https://peps.python.org/pep-0594/#cgi
there is no drop-in replacement for `cgi.FieldStorage`. Since we use
it for POST requests, I spent a couple of hours trying to reimplement
our code using python3-multipart but I am not getting closer to a
working solution.

Let's not pay the technical debt yet and depend `python3-legacy-cgi`
for as long as we can.
2024-09-11 08:29:14 +02:00
Pavel Raiskup
797dac1a78 dist-git-client: sync spec file after the review
https://bugzilla.redhat.com/show_bug.cgi?id=2293067
2024-09-11 08:06:08 +02:00
Pavel Raiskup
7a19b5c960 dist-git-client: README.md file 2024-06-19 11:15:47 +02:00
Pavel Raiskup
e6a8f6da80 licensing: update the project's COPYING file 2024-06-19 11:15:47 +02:00
Pavel Raiskup
83f3324529 packit: stop building for EOLed EPEL 7 2024-06-19 11:15:47 +02:00
Pavel Raiskup
6047d4bfc3 dist-git-client: new package
Inherited from Copr basecode, namely starting from
https://github.com/fedora-copr/copr/pull/3299
2024-06-19 11:15:47 +02:00
Pavel Raiskup
aae22721c9 dist-git: move the code into sub-directory 2024-06-19 11:15:47 +02:00
Pavel Raiskup
8f0939a770 tests: work-around Koji builds 2023-03-28 15:11:58 +02:00
Miroslav Suchý
a5831794fb Automatic commit of package [dist-git] release [1.17-1].
Created by command:

/usr/bin/tito tag
2023-01-04 18:15:51 +01:00
Miroslav Suchý
c0287b515d add releasers 2023-01-04 18:15:01 +01:00
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
Pavel Raiskup
ea481483c4 chore: build the package in EPEL 7 too, but x86_64 only
Building for other architectures is mostly wasting of Copr/Packit
resources.

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
Pavel Raiskup
042f4eb041 chore: pre-commit automation
Inherited from https://github.com/rpm-software-management/mock
2023-01-04 16:17:12 +01:00
Miroslav Suchý
7c6623206d migrate to use tito as releng tool 2023-01-04 07:26:01 +01:00
Miroslav Suchý
f3782ee102 follow up of pkgdb_sync_git_branches.py removal
was removed in commit 4fefd7f1d5
2022-12-05 13:22:21 +01:00
Miroslav Suchý
ac267accd5 nothing is lisenced under GPLv2, remove it from LICENSE 2022-12-05 13:22:21 +01:00
Miroslav Suchý
83cb1ba2eb use correct MIT text 2022-12-05 13:22:21 +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
Pavel Raiskup
738dc51b8d Avoid using "whitelist" word 2021-11-23 18:00:50 +01:00
Pavel Raiskup
ea98aabd22 remove_unused_sources: log with PID and DATE 2021-11-23 18:00:39 +01:00
Miroslav Suchý
fcf1244046 rename variable
follow up of #44
2021-11-23 18:00:26 +01:00
Miroslav Suchý
4368176ab1 add link to DistGit tutorial 2021-09-19 21:25:25 +02:00
Miroslav Suchý
d9dfe63e34 allow to configure name of the master (main) branch
This is preparation for
https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main

For now, there is no change in the name. It still defaults to master. But can be changed by DevOps admin.
2021-09-19 21:25:25 +02:00
Michal Novotný
ffedd73cf1 Update README.md 2021-04-27 07:19:02 +02:00
Michal Novotný
4168a154c0 Update README.md 2021-04-26 09:23:20 +02:00
Michal Novotný
772daf8882
Merge pull request #45 from xsuchy/fullpath
specify full path
2021-02-16 03:15:22 +01:00
Miroslav Suchý
c4ed46aebf specify full path
otherwise the systemd unit will fails when executed from command line and cwd to /etc/dist-git
2021-02-10 12:39:09 +01:00
Michal Novotný
7f8dc8e2cd
Merge pull request #43 from xsuchy/sourcegit
mention source-git
2021-01-15 22:12:08 +01:00
Miroslav Suchý
f7546d8e5f mention source-git 2020-11-12 12:53:38 +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
Michal Novotný
c30673c51c
Merge pull request #40 from praiskup/selinux-optional-dep
Don't depend on dist-git-selinux inside containers
2020-07-28 22:06:36 +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
Michal Novotný
4384c300a3
Merge pull request #39 from praiskup/fix-links
Fix links to example deployments
2020-06-30 10:21:11 +02:00
Pavel Raiskup
a8b4b8903c Fix links to example deployments
The cgit links don't seem to work.
2020-06-30 10:11:59 +02:00
Pierre-Yves Chibon
9415fff005 Fix the topic of the notifications sent on the bus
In the fedmsg world this was done by the modname passed to the
fedmsg.publish() function but in fedora-messaging there is no
such concept, so we need to pass the exact/correct topic.
This commit fixes that.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-17 17:33:21 +02:00
Pierre-Yves Chibon
b3701269f5 Log a little more information when a generic error is caught
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-17 17:33:21 +02:00
clime
d70acba297 fix error messages for fedora messaging 2020-06-15 11:56:08 +02:00
Michal Novotný
2db8948ea0
Merge pull request #37 from praiskup/suggest-fedmsg
Only "suggest" fedmsg, don't "recommend"
2020-06-12 18:12:23 +02:00