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

Making a package #9

Closed
xyproto opened this issue Mar 24, 2012 · 7 comments
Closed

Making a package #9

xyproto opened this issue Mar 24, 2012 · 7 comments

Comments

@xyproto
Copy link

xyproto commented Mar 24, 2012

Hi,

I'm trying to create an unofficial Arch Linux package for gvm.
Where on the system should the various scripts go?
bin/gvm, bin/gvm-prompt and bin/gvmsudo in /usr/bin? Would that do?

The reason I ask is because the included installation script, "gvm-installer" seems to be targeting only installations in users home directory, not system-wide installations.

Instructions, or an install script, for system-wide installations would be appreciated.

Best regards,
Alexander Rødseth

@HamptonMakes
Copy link

Alexander-

GVM does have the opinion that it is primarily installed in user-space...
so that
true multi-user systems can have many versions without messing with system
packages.

We'd love to make it so that you can optionally install on the system for
all
users.

I'd assume that we'd put the "environment" (what goes in .gvm) in
/usr/local/gvm

And, a symlink to /usr/local/gvm/bin/gvm in /usr/bin to get into the
user path easily.

We're trying to follow the design pattern of RVM which has been an
incredibly
popular project that follows a similar design. Key to it is that its
self-contained.

Josh, what are your thoughts?

-hampton.

On Sat, Mar 24, 2012 at 8:18 AM, Alexander Rdseth <
reply@reply.github.com

wrote:

Hi,

I'm trying to create an unofficial Arch Linux package for gvm.
Where on the system should the various scripts go?
bin/gvm, bin/gvm-prompt and bin/gvmsudo in /usr/bin? Would that do?

The reason I ask is because the included installation script,
"gvm-installer" seems to be targeting only installations in users home
directory, not system-wide installations.

Instructions, or an install script, for system-wide installations would be
appreciated.

Best regards,
Alexander Rdseth


Reply to this email directly or view it on GitHub:
#9

@xyproto
Copy link
Author

xyproto commented Mar 25, 2012

(One alternative could be to just make the user installation script accessible in a system-wide location, so that every user can use that, but I believe a system-wide approach would be preferrable).

@ghost ghost assigned jbussdieker Mar 25, 2012
@jbussdieker
Copy link
Contributor

I've been meaning to look into this. Originally there was an option to do a system install. However I'd like to revisit the idea now that things have kind of stabilized. Stay tuned!

@jbussdieker
Copy link
Contributor

In the meantime sudo ./gvm-installer master /usr/local may get you most of the way there...

@jbussdieker
Copy link
Contributor

Alexander,

Are you trying to make a debian package? I've recently added a control file for it under the extras folder. I would like to eventually package gvm both as a source package and with precompiled Go. So far debian, puppet, and chef are under consideration.

@xyproto
Copy link
Author

xyproto commented Mar 29, 2012

I'm trying to create an unofficial Arch Linux package. If it becomes popular, it may become an official package in the future.

All that's needed is a .tar.gz (or .tgz, .tar.bz2, tbz2, tar.xz, .xz, .zip or .7z etc) with sources, including a license file and preferably some mechanism for installing it in a custom system-wide location. (Like configure/make, cmake or just a shell script).

/usr/local is normally not used on Arch Linux, so it's nice to be able to specify a custom location.

Thanks.

@jbussdieker
Copy link
Contributor

I'll leave packaging up to the community. As it stands being able to specify the install directory should get you most of the way there.

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

No branches or pull requests

3 participants