Commit graph

229 commits

Author SHA1 Message Date
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
Merlin Mathesius
bb525ad895 Add support for RHEL style module stream branch names
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2021-06-08 19:24:17 +00:00
Mohan Boddu
615d8f3e38 Adding the ability to request suffixed side tags
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-06-01 18:18:25 -04:00
Carl George
f9865a0d3c Bump to version 0.6.5 2021-05-24 20:13:44 -05:00
lrossett
4588ec7272 using git.Repo instead of git.cmd 2021-05-25 00:51:28 +00:00
lrossett
4d28cf158c adding GitPyton in requirements.txt 2021-05-25 00:51:28 +00:00
lrossett
b201d4afe0 do not use branch pattern name if using a forked origin 2021-05-25 00:51:28 +00:00
Mohan Boddu
464a71d87f Disabling pushing to c9s branch in the fork
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-05-11 15:42:04 -04:00
Merlin Mathesius
329e001c49 Add MBS configuration
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2021-05-05 13:54:59 -05:00
Carl George
56420e7b90 Bump to version 0.6.4 2021-04-27 20:37:37 -05:00
Brian Stinson
3055b37279 update the lookaside location
Signed-off-by: Brian Stinson <bstinson@redhat.com>
2021-04-28 01:36:14 +00:00
lrossett
6bb6dfb49d
set correct c9s branchre 2021-04-19 08:33:25 -03:00
Carl George
167cc2312f Bump to version 0.6.3 2021-04-16 17:40:10 -05:00
Carl George
5b7b4629fa Determine username from GitLab API 2021-04-16 16:40:34 -05:00
lrossett
29dd93721c
lookaside repo name fix 2021-04-16 12:56:30 -03:00
lrossett
bad6a96aab
adding venv in gitignore 2021-04-16 12:56:20 -03:00
Carl George
5b6d175224 Enable user config
Read both `/etc/rpkg/centpkg.conf` and `~/.config/rpkg/centpkg.conf`
config files, merging the results.  Also define a `--user-config` flag
to override the later config path, similar to `--config`.  This approach
is borrowed from fedpkg.

Fixes #23
2021-04-15 22:02:09 -05:00
Carl George
8c80cfef18 Bump to version 0.6.2 2021-04-13 18:41:20 -05:00
Carl George
8e89ac5638 Add stream koji profile with public URLs 2021-04-13 18:39:39 -05:00
Carl George
0e7e9648a0 Update readme to reflect current state of development 2021-04-13 18:39:39 -05:00
Carl George
a53d12a302 Fix line endings with dos2unix 2021-04-13 18:39:39 -05:00
lrossett
794ab0a8b7 dynamic cli with no need for sig extra checks 2021-04-13 18:38:20 -05:00
lrossett
0a698c7890
remove Dockerfile 2021-04-13 11:00:38 -03:00
Carl George
18b0f7e7f4 Bump to version 0.6.1 2021-04-08 16:21:27 -05:00
Carl George
96fedb1fa8 Import cli module in top level package
This is necessary for the man page generator to work.
2021-04-08 16:12:22 -05:00
Carl George
2d428f1d75 Remove old srpm script 2021-04-08 16:07:10 -05:00
Carl George
c39d3d0f59 Bump to version 0.6.0 2021-04-08 14:14:45 -05:00
Carl George
1fe5f77e3f Remove spec file
This is maintained in Fedora's dist-git now.
2021-04-08 14:12:23 -05:00
lrossett
74122f1631 adding manpage support 2021-04-08 13:32:27 -05:00
lrossett
3bff023602
bash completion 2021-04-08 11:27:47 -03:00