-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
No automatic Linux installer #2708
Comments
The link wasn't working when I clicked it. Did you fix that in the meantime? |
Seems fine now, I've added it again. Thanks! |
How is the installer built ? if we want to release on a regular basis we need to have it automated as part of our builds (cc @waneck ) |
For Linux, I intend to do the following:
I know I've pretty much limited to debian/ubuntu, but that's what I have experience with. Hopefully people will join in and contribute with packages to other distros. I heard it's easy to convert from deb packages to other distros, but I won't be able to test them all anyway. |
a ppa would be amazing Cauè, haxe, neko, mod_neko updating via aptitude On 5 March 2014 01:20, Cauê Waneck [email protected] wrote:
|
I've just emailed Kevin, the maintainer of the haxe Ubuntu ppa. See if he will be able to update the ppa soon ;) |
@ncannasse , as for the linked installer, it's just a shell script. Updating it should be as easy as changing the download links. However as a linux user I find that the best way to have an installer would be to actually create the packages for it. |
Hi, Just a quick note, I tried out the shell script and it broke my neko on On 5 March 2014 09:27, Cauê Waneck [email protected] wrote:
|
FYI, Kevin has just updated his haxe Ubuntu ppa. :) |
So how do we handle this for new releases? Haxe 3.1.1 is out, so we'll need an updated installer for it. Could we automate that too? |
It just requires updating the URLs inside the script that is inside the tgz. Actually I don't see any reason for not putting directly the .sh to download, expect that users will have to chmod +x it. |
Well, updating version numbers in x places is exactly what I wanted to avoid because it's so error-prone. Do we want to maintain this thing, or should we leave it at openfl.org, or should we drop it, or something else? |
I really intend to work on having proper packages. I found this http://openbuildservice.org/ which should make the process much easier. I still have to find some time to do it |
I think that having proper packages is good, but having a script helps handle a wider variety of systems, and allows people to see what is happening, so that they can customize it. The reason why the version is hard-coded is because there is an "installer" file for each platform, for each version. By adapting scripts to each version, it allows you to download the installer for an older version, and if the script has to change to manage some new or varying aspect in the Haxe install, it can do so without compromising an install of a legacy Haxe release. We tested it on Debian, Arch, Ubuntu, Fedora and OpenSUSE, to cover the primary package managers. I believe it would work elsewhere. It should install 64-bit binaries for 64-bit distributions, and recently added support for using a "y" or a "-y" argument to run through the install without a prompt. I'm open to seeing changes in the script, or seeing it officially adopted. I think its a much better solution than A.) telling people to build from the source or B.) giving them binaries, but giving no instruction for how to install it properly. It's also much easier to maintain than a PPA. I recommend using the script, and when available, offering PPAs or packages as an alternative |
Let's keep track of this in HaxeFoundation/haxe.org#75 |
There should be an installer for Linux that does not require manually unzipping archives. Especially for Neko, this will result in trouble. As a full-time Linux user, I can say that "build from the source" is not always appreciated as a recommendation for an install. We have an automatic installer for Linux here:
http://www.openfl.org/haxe-3.1.0-linux-installer.tar.gz
If you would be interested in hosting this in the Haxe.org download page, or at least linking, it would be appreciated (or if you have an alternative, that is fine as well). I noticed that the link was removed.
Thanks!
The text was updated successfully, but these errors were encountered: