-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Place to download compiled application #252
Comments
You don't have one second to spare?
Even cloning the repository, installing all dependencies, building everything from scratch and running all unit tests takes less than two minutes. |
That's for a computer, which I'm not. Besides, doing this every time a commit is made adds up. |
Funny how your argument is exactly mine. Manually checking if a new build is available, selecting the right package to download, actually downloading, extracting, installing, clicking yes on "overwrite existing file", etc surely takes much more time than the less than 10 seconds it takes to run |
This is manageable if we have:
Cross compilers targeting windows and osx from linux exist. The only barrier is that gcc is hardcoded as the compiler for cgo. Requiring native OSes to do each build is tedious and difficult to automate, but with this setup a git hook and a cheap vps would handle it. However, the binary will never be in the repo itself, and you'll spend as much time going to the site to download the binary as it will take to build. The reason to provide prebuilts is so people don't have to set up the compilation environment to try the software. |
It might be worth, at some point, setting up a nightly release schedule? That time might be a bit further into the future, when it's more stable. |
Is it possible to set up nightlies with Travis? This would drag more attention towards Lime even if they are not stable. |
Don't think they save the actual builds, but I'm open to being proved wrong ;) "Nightlies" have been mentioned, but the more correct way would be to use an existing hook or create a new custom one to be triggered whenever the repository is actually updated. |
You could probably detect in Travis CI when the build is from a newly pushed tag instead of just a commit/PR. Then you could use the GitHub API to upload the built binary to a release on GitHub. |
I thought github disabled binary uploads, but it appears they've now enabled "releases". How one differs from the other I have no idea, but that does indeed mean that travis could be used to upload the binary it just compiled. It would however be quite limited unless the travis script is extended to also cross compile for other architectures and oses. |
@quarnster Regarding releases there is only one downside - if you just create a git tag and push it you don't have a full-featured GitHub release. You just have a tag and you can't upload a binary to a tag. |
Relates to travis-ci/travis-ci#1648. |
Every release will also create a tag, so it's not a good idea for nightlies. But we could use bintray.com. |
@EdVanDance I did not mean this at all. I don't think it's useful to create builds for every commit at this stage. That's why I've suggested creating builds only when there are actual new tags/versions/releases. I realize these are not nightlies, but people who would need builds after every commit (and not patch release) would probably be able to build lime themselves and contribute back. |
what about PPAs? they are ubuntu only, but is still also a good target |
I believe the Arch Linux PKGBUILD system could be used to do something like OP wants and it wouldn't affect the project at all. It's platform-dependent though since you need to be using Arch. |
https://github.com/robertkrimen/gphr might be of use here |
This is really nice actually! |
I need to download instead of building, too. I just want to use it, building needs too much time. And probably I can't build successfully. |
@gclsoft building it takes less than 1 minute. Time's not a problem here, IMHO. And I think it's pretty easy to create a simple shell alias like |
@derekparker Thanks. But build error:
Too hard to build, takes too much time... |
This editor is still in development and not indended for (daily) use. |
Please help with development with your own skills, and/or suggest your own ideas on how others can use their skills to help in #250! |
What about setting up an instance on Openshift that builds the app for us, and then serves a page that offers a list of all the versions sorted by most recently built? I could probably put together something like that, but I'm curious to know if you guys think it makes sense and seems like a good idea. |
@quarnster thoughts on ^^? |
Could also use drone.io and keep the builds as artifacts. |
What's the point of binaries when it's not usable? |
What's the status of this? Can it be closed? |
The project will have to be usable before it makes any sense to create binary distributions. Again, this is a volunteer-backed project and if someone wants to be responsible for creating binary packages I'm not going to stop them, but also don't expect things to magically happen. |
@quarnster what progress has been made? |
@ilanbiala I don't think anyone has looked at it yet |
I'd like to test the application and start learning about it to help contribute, but I don't have the time to build it every time a commit is made. Is there a way someone can keep an updated version of the app in the repository?
The text was updated successfully, but these errors were encountered: