-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPM Package #70
Comments
If you need more people working on this, let me know. |
Feel free to start on it, I'm likely going to be a little while before I
|
👍 |
@amjith Is this still an issue? I can help on this one. I have some experience in it: https://github.com/sobolevn/git-secret/blob/master/Makefile#L111 |
@sobolevn I'd welcome any help. This is not a solved problem. Thank you for your help. |
Isn't is solved via https://github.com/dbcli/pgcli/blob/master/Vagrantfile#L79 ? |
That didn't work out as I expected. When I created an RPM package it wouldn't install inside a test Centos container. I think there was some problem with assuming that some files existed or hardcoded path. |
I should probably remove that file and update the docs. |
Ok, I have managed to run it. But there's an issue with EnvironmentI have used this docker-image: https://hub.docker.com/r/sobolevn/git-secret with
Preparation
Dependencies
Package creationAt this point due to some kind of bug (possibly jordansissel/fpm#65) I had to comment out the line
Creating repoI was just following the steps from http://stackoverflow.com/questions/13876875/how-to-make-rpm-auto-install-dependencies I have also provided these options to disable caching:
Package information
Checking for deps
Testing
Running:
|
Sorry about the delayed response. I've run into issues with psycopg2 when I generated an rpm with the fpm package. Something about the python-dev package and not having the right requirement for it. |
Try
|
Any update on this? We'd really like to have it properly packaged for os-wide version control and for deployment to servers that we don't want to install pip on. I made a quick and dirty package for CentOS 7 using fpm fpm -s python -t rpm --python-pip pip pgcli python-pgcli-1.7.0-1.noarch.rpm.zip And for Debian 8/9: fpm -s python -t deb --python-pip pip pgcli |
@sammcj I've search at https://bugzilla.redhat.com/ but there's no request for it (yet). I'll have a look if I can use the mysql package as a template for a pgcli package. Maybe I can combine this with my attempt to get mycli in EPEL (CentOS repository). |
It doesn’t have to be in the official RedHat repo!
You could for example use packagecloud.io to host an rpm repo for it.
…--
Sam
On 19 Jul 2017, at 9:26 pm, Dick Marinus ***@***.***> wrote:
@sammcj I've search at https://bugzilla.redhat.com/ but there's no request for it (yet). I'll have a look if I can use the mysql package as a template for a pgcli package.
Maybe I can combine this with my attempt to get mycli in EPEL (CentOS repository).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Or bintray |
Thanks, those are great suggestions, but I'm using the .spec files from the RPMs which are already in Fedora so I think I should keep it at RedHat. Fedora has COPR where everyone can host/build RPMs, I'm already using that for a EPEL mycli repository. |
@meeuw Is this now addressed? Can we close this? |
nope, haven't finished this |
Does anyone want help landing this? Is there any partial work to land? A friend pointed out your request for assistance on your main page. I've spent most of the last few months doing packaging a python application. I'm happy to help if help is still desired. |
Hi @chicks-net! Thanks for offering your help! I'm not sure for what OS you'd like to have a package but I have created copr packages here: |
@herlo Volunteered to build a Fedora RPM package for pgcli. Thank you for your help!
The text was updated successfully, but these errors were encountered: