Commit graph

203 commits

Author SHA1 Message Date
f18c2fdd22 Drop compatibility with ancient productmd
All checks were successful
Tests / test (pull_request) Successful in 3m21s
Productmd 1.1 is not going to be seen in the tests on any recent system.
No need keep the compatibility anymore.
2026-07-02 16:03:03 +02:00
8984c68cf7 Skip permission test when running as root
Some checks failed
Tests / test (pull_request) Failing after 3m8s
Root can write even to read-only file...
2026-07-02 15:46:42 +02:00
a5222412b4 Add basic CI action
Some checks failed
Tests / test (pull_request) Failing after 3m21s
2026-07-02 15:40:02 +02:00
868c3a4abc Convert README to markdown
Forgejo doesn't seem to render RST. Pungi isn't technically migrated
yet, but it will be soon, so let's simplify the update.
2026-05-28 15:40:54 +02:00
10c1837644 Update upstream links 2026-05-28 15:38:41 +02:00
118c79efa4 New release 0.1.51 0.1.51
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2026-02-12 08:46:43 +01:00
d0cd59dc82 Prefer standard library unittest and mock
Try to import unittest and mock from the standard library first, then
fallback to unittest2 and mock from PyPI if necessary.
2026-02-11 22:10:16 -06:00
7bb7260cf7 New release 0.1.50 0.1.50
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2023-07-12 14:35:03 +02:00
67d0a6abed Add new compose-write-repo-file options to man page 2023-07-12 10:55:28 +02:00
Ken Dreyer
7bacb715f5 write-repo-file: add --gpgkey argument
Support "gpgkey = file://path/to/key"
2023-07-06 23:25:49 -04:00
Ken Dreyer
03a9bf6739 write-repo-file: add --gpgcheck argument
Support "gpgcheck = 1"
2023-07-06 23:15:17 -04:00
ba77794000 Ignore non-latest symlinks 2023-05-18 12:51:36 +02:00
bf97159c73 Fix Python 2 compatibility 2023-05-18 11:07:53 +02:00
0f9c963b27 New release 0.1.49 0.1.49
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2023-05-17 15:52:26 +02:00
faf55d4f89 Add support for layered products latest links 2023-05-17 15:47:51 +02:00
c8fc0cee69 New release 0.1.48 0.1.48
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2023-05-17 14:30:00 +02:00
fac76ba176 Update tox configuration 2023-05-17 14:17:30 +02:00
93af309b90 Rework compose-update-latest-symlinks
Handle multiple links in the same directory.
2023-05-17 14:09:12 +02:00
cd3a54db9c Stop using pathlib module
It doesn't provide any benefit here, and it is not available on old
Python versions.
2023-01-17 09:32:45 +01:00
315a67862e New release 0.1.47 0.1.47
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2022-10-12 12:09:31 +02:00
Ken Dreyer
d6a07212ad diff: improve --help text
Add a description for this command explaining that this tool writes its
output to the current working directory.

Expand the --help text for each command-line option.
2022-03-07 08:47:20 +00:00
Ken Dreyer
538b59452f README: update reference to compose-changelog
"the changelog" is ambiguous. Update this reference to
the compose-changelog tool.
2022-03-04 10:51:46 -05:00
Ken Dreyer
22a3f307b3 README: explain "composes" in top-level description
This helps new users understand what a "compose" is.
2022-03-04 10:50:55 -05:00
Ken Dreyer
c2d7afa2dd README: install instructions
Instruct users how to install from distribution packages or a Git clone.
2022-03-04 10:50:37 -05:00
f00dce8425 Create a tool to update short latest symlinks automatically
JIRA: RHELCMP-4378

Signed-off-by: Ozan Unsal <ounsal@redhat.com>
2022-02-03 14:02:29 +01:00
dda06c6e4c New release 0.1.46 0.1.46
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-11-23 15:41:24 +01:00
64fc74c73a Allow creating .composeinfo with subset of variants 2021-11-23 15:29:26 +01:00
0a9e641283 New release 0.1.45 0.1.45
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-05-31 12:26:59 +02:00
e4dfef606e Stop using private function from productmd
In 1.33 the function was renamed and now is not prefixed by underscore.
Let's update to new name. The version requirement in setup.py is updated
to version of productmd that contains the change.

Resolves: rhbz#1965933
2021-05-31 12:06:34 +02:00
c297949d14 New release 0.1.44 0.1.44
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-01-15 11:18:17 +01:00
6bed097706 find_latest: Fix computation of previous version
If the version ends with .0, decrement the part before that.

JIRA: RHELCMP-3632
2021-01-13 10:23:50 +01:00
e9d20387c1 Add python 3.9 to tox configuration 2021-01-13 10:23:50 +01:00
1b271b94ab Fix typo
The non-ASCII character rendered incorrectly.

Signed-off-by: Haibo Lin <hlin@redhat.com>
2020-06-03 09:30:20 +08:00
087a7f34f4 New release 0.1.43 0.1.43
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2020-05-18 12:05:35 +02:00
d53a1b0523 List kernel-rt in essential packages
JIRA: RHELCMP-475
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2020-05-07 09:34:10 +02:00
4c17218d76 New release 0.1.42 0.1.42
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2020-05-05 09:16:35 +02:00
Ken Dreyer
775fdad327 write-repo-file: support HTTP(S) URLs to composes
Handle HTTP or HTTPS URLs to composes.
2020-05-04 09:51:28 -06:00
a17880d9d3 Install rpm-py-installer for tests
This package makes sure Python bindings for rpm are available. It used
to be pulled in by Koji, but it was made optional there. It is not
optional in Kobo, but they don't have explicit dependencies for
anything.
2020-05-04 09:20:21 +02:00
375ba01386 New release 0.1.41 0.1.41
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-12-17 08:15:51 +01:00
7b699662da Accept missing images.json
Latest Pungi does not write this file at all if there is no image in the
compose. Let the scripts survive this.

JIRA: COMPOSE-4043
2019-12-17 08:08:13 +01:00
89b21c4cdb New release 0.1.40 0.1.40
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-12-11 13:12:41 +01:00
89b5dd11f6 Ignore missing images metadata
Fixes: https://pagure.io/compose-utils/issue/109
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-12-11 13:07:37 +01:00
ed30e63ada New release 0.1.39 0.1.39
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-11-19 15:38:15 +01:00
5f33322b87 Fix wrong name field in generated repo file
JIRA: COMPOSE-3951
2019-11-19 15:17:37 +01:00
34b94ea622 New release 0.1.38 0.1.38
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-11-05 10:45:48 +01:00
11fda878c4 List all images in essentials
JIRA: COMPOSE-3884
2019-11-05 10:38:58 +01:00
d71b13fcb2 New release 0.1.37 0.1.37
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-10-08 10:00:40 +02:00
74a9ab4644 Remove unittest2 from tests_require in setup.py
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-10-08 09:55:15 +02:00
51dd4b86ba New release 0.1.36 0.1.36
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-10-08 09:43:01 +02:00
bca65b7960 Remove warning on Python 3
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-10-08 09:39:17 +02:00