Carl George
248917149b
Add missing python-gitlab dependency
...
This was first introduced in 5fd982bf00
.
2023-09-01 23:29:30 -05:00
Carl George
bcb8595f04
Clean up dependencies
...
This change specifies the dependencies directly in setup.py, instead of
in a requirements.txt file that is parsed by a helper function.
2023-09-01 23:24:15 -05:00
Troy Dawson
a62668c923
urlgrabber code has been commented out for 9 years. remove it
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-29 09:03:16 -07:00
Troy Dawson
c4fdfc29d1
koji was never directly required
...
koji was only needed because rpkg libraries required koji
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-29 08:52:04 -07:00
Carl George
572f6b3fac
Remove unused pytz import
...
See https://bugzilla.redhat.com/show_bug.cgi?id=2235255
2023-08-28 22:26:18 -05:00
Troy Dawson
b60371f902
Bump to version 0.8.0
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 15:57:17 -07:00
Troy Dawson
aededb449c
Add current-state option
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 15:52:41 -07:00
Troy Dawson
874d108037
Use correct format for divergent_branch
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 15:45:03 -07:00
Troy Dawson
6b939c428f
Update Stabilization Phase Detection
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 15:10:27 -07:00
Troy Dawson
739c746983
On errors: output to stderr, exit with code 1
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 09:14:12 -07:00
Troy Dawson
75ceb34ee8
Treat all slashes the same
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-28 08:49:48 -07:00
Troy Dawson
fb42b297a7
Correctly clone rpms/<package>
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-08-15 07:03:01 -07:00
Troy Dawson
fbdb66146c
Bump to version 0.7.4
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-07-10 14:29:50 -07:00
Troy Dawson
af648d3af8
Exit with message if unable to look for file
2023-07-10 21:24:30 +00:00
Anton Bobrov
5e8e77dfad
Add StreamLookasideCache specific get_download_url method
2023-07-07 10:50:21 +02:00
Troy Dawson
5fd982bf00
Check package spelling (CS-767)
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-06-06 14:21:36 -07:00
Troy Dawson
87795b6ebf
Bump to version 0.7.3
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-05-03 06:54:55 -07:00
Troy Dawson
bd2c302d34
do not check with scratch builds
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-05-02 15:05:21 -07:00
Troy Dawson
37fb23b990
Better error message when phase determining fails
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-05-02 14:46:32 -07:00
Troy Dawson
46473e9c83
Update phase lookup
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-05-02 12:56:30 -07:00
Todd Zullinger
fe493e3aab
avoid redirection warning when cloning anonymously
...
Using `centpkg clone -a` results in a warning from git due to the URL
being redirected:
$ centpkg clone -a git
Cloning into 'git'...
warning: redirecting to https://gitlab.com/redhat/centos-stream/rpms/git.git/
...
Update anongiturl to point to the real URL for HTTP cloning. The
addition of the trailing slash does not raise a warning, so it may be
safely left off the URL.
2023-04-07 13:56:59 -04:00
Troy Dawson
0bd479fa66
Bump to version 0.7.2
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-14 10:08:32 -07:00
Troy Dawson
f6364cdcd1
Better messages. Do not check if not needed.
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-14 08:23:35 -07:00
Troy Dawson
49e81c3524
build_client is not just stream
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-07 07:40:10 -08:00
Troy Dawson
9f6c003799
Bump to version 0.7.1
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-01 08:19:44 -08:00
Troy Dawson
00baeb2072
Only do rhel-target if we are centpkg, not centpkg-sig
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-01 08:15:06 -08:00
Troy Dawson
b244b2331e
Bump to version 0.7.0
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-02-28 13:53:52 -08:00
Troy Dawson
24b8461cb3
Fix logic
2023-02-27 10:23:31 -08:00
Troy Dawson
315e8a0cdd
Proper log output
2023-02-27 09:54:37 -08:00
Troy Dawson
1e7ef8239a
Require --rhel-target
2023-02-23 10:01:39 -08:00
Troy Dawson
0271c67c5a
Bump to version 0.6.9
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-12-16 07:00:56 -08:00
Stephen Gallagher
5a7f92eab3
Improve package name detection
...
Look up the parent repo of forks for the package name.
This requires the user to have a valid Gitlab API token in
their configuration. It will raise an error if it takes this
path and does not have permission.
Note that when https://gitlab.com/gitlab-org/gitlab/-/issues/361952
is fixed in Gitlab, the token will not be required in this case.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-11-18 15:27:07 -05:00
Troy Dawson
5cc23ef01e
Merge commit 'a4a4edc' into develop
2022-11-03 06:55:43 -07:00
Troy Dawson
47edd62c22
Bump to version 0.6.8
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-11-03 06:27:11 -07:00
Troy Dawson
a4a4edc312
Bump to version 0.6.8
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-11-01 06:40:45 -07:00
Troy Dawson
a918727374
Clean code, fix rhel7
2022-10-31 14:25:26 -07:00
Troy Dawson
84078356c2
Merge branch 'fix-sig' of ssh://git.centos.org/forks/tdawson/centos/centpkg into fix-sig
2022-10-10 15:05:56 -07:00
Troy Dawson
70ef295451
Fix download sources on SIG branches
2022-10-10 22:05:22 +00:00
Troy Dawson
e1698bf664
centpkg-sig works pulling sources and srpm
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-10-10 22:05:22 +00:00
Troy Dawson
5754c66891
Fix download sources on SIG branches
2022-10-10 15:04:15 -07:00
David Fan
179163f729
added rhel macro to the rpmdefines
2022-10-05 15:13:45 +01:00
Troy Dawson
6dcfcfba3c
centpkg-sig works pulling sources and srpm
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-09-23 14:13:17 -07:00
Carl George
73d52905ad
Migrate from pyOpenSSL to cryptography
...
pyOpenSSL upstream "strongly suggests" switching to cryptography.
959a031fa3
Resolves #52
2022-09-22 18:01:06 +00:00
Troy Dawson
04734c4692
Fix SIGLookasideCache super certs
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-09-09 08:51:04 -07:00
Troy Dawson
a136479657
Bump to version 0.6.7
...
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-09-08 09:14:45 -07:00
Ondrej Nosek
9fb9aa563c
rpmdefines changes depending on rpkg
...
Recent changes on rpkg side require modification in centpkg too.
rpmdefines in rpkg had to be changed because of a safer way
of executing the 'rpm' command in the 'subprocess' python library
(without shell=True argument).
A related change in rpkg: https://pagure.io/rpkg/pull-request/620
Other tools depending on rpkg (rhpkg, fedpkg, centpkg, rfpkg) are
affected.
Example for fedpkg: https://pagure.io/fedpkg/pull-request/486
Signed-off-by: Ondrej Nosek <onosek@redhat.com>
2022-08-24 01:15:05 +02:00
Leonardo Rossetti
f5ba2652d9
centos-sig lookaside cache support
2022-04-14 08:35:39 -03:00
lrossett
cb72cfd724
fix headers typo
2021-06-15 18:27:52 -03:00
Mohan Boddu
7d1d21c988
Bump to version 0.6.6
...
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-06-08 16:25:28 -04:00
Merlin Mathesius
1222633bb4
Correct a few minor typos in docstrings
...
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2021-06-08 19:25:10 +00:00