Skip to content
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

Add script to add CLI into packages for Debian, RPM, Brew #21

Open
dimitrystd opened this issue Jun 26, 2017 · 4 comments
Open

Add script to add CLI into packages for Debian, RPM, Brew #21

dimitrystd opened this issue Jun 26, 2017 · 4 comments

Comments

@dimitrystd
Copy link

We would like to distribute CLI with package management. So we need a script which will prepare packages for Debian, RPM, Brew.

DoD:

  • Extend Makefile in order to build packages for
    • Debian
    • RPM
    • Brew
  • Need some guideline how to host these packages
@seletskiy
Copy link

@dimitrystd: debian and rpm packages can be built via make deb rpm.

To add package into Brew, homebrew-core (https://github.com/Homebrew/homebrew-core) should be forked and pull-request is created according to guidelines (https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md). Not a piece of a cake.

dimitrystd added a commit that referenced this issue Jun 29, 2017
…ets in order to use them in Debian and CentOs containers
dimitrystd added a commit that referenced this issue Jun 29, 2017
dimitrystd added a commit that referenced this issue Jun 29, 2017
@dimitrystd
Copy link
Author

I added build step, so now we have

$ ls -l pkg/
total 4176
-rw-r--r-- 1 root root 1983992 Jun 29 13:37 smartling-141.a50b26a-1.el7.centos.x86_64.rpm
-rw-r--r-- 1 root root 2287142 Jun 29 13:37 smartling-141.a50b26a_all.deb

What's the next? Let's talk tomorrow.

@dlyash
Copy link

dlyash commented Jun 30, 2017

I'll take a look at Homebrew

@dlyash
Copy link

dlyash commented Jun 30, 2017

I created a pull request to preview formula on our end before submitting it to the Homebrew repository - Smartling/homebrew-core#1

It's not final yet as we expect to change package name format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants