Commit graph

221 commits

Author SHA1 Message Date
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
Ondrej Nosek
9a602e67b2 Rename forked project to avoid conflict
Project will be renamed during the fork. New name & path template is
"centos_<namespace>_<project>" instead of <project>.

Signed-off-by: Ondrej Nosek <onosek@redhat.com>
2021-03-30 22:37:48 +02:00
Ondrej Nosek
80f38de2d6 Create fork of the active repository by subcommand
Adds new command 'fork' that calls API method which forks active
repository for the given (or active) user and creates a remote record
(named after user) in git configuration.
GitLab Personal Access Token have to be added to the config for
proper functionality.

Signed-off-by: Ondrej Nosek <onosek@redhat.com>
2021-03-30 21:12:58 +02:00
lrossett
065f9c3885
remove type hint 2021-03-26 12:34:43 -03:00
Carl George
53d6d3045e Add missing el7 requirements 2021-03-25 15:26:59 -05:00
Carl George
df80835229 Bump to version 0.5.1 2021-03-25 10:54:07 -05:00
Carl George
8f9bd312e1 Install config files from spec file, not setup.py 2021-03-25 10:52:28 -05:00
James Antill
4027252911 Remove explicit git+ from anon git url. 2021-03-24 03:14:23 +00:00
James Antill
dda40dd5a5 Override build URL for Koji.
Import fc261daf and ce8e9d4b commits (mostly) from Fedpkg.
2021-03-24 03:14:23 +00:00