-
Notifications
You must be signed in to change notification settings - Fork 3.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
Remove the releases from GitHub #788
Comments
Marcel, I personally believe that a repository should be normalised; that is only contain originating source material and not derived build materials. Therefore we should not have a In the former case I am sure that zeroday could set up a SFTP overlay onto Incidentally I suspect that if you do an analysis of your build requests, they probably cluster quite well and that perhaps 4 or 5 standard prebuilts will cover 90% of requests, so having these prebuilt would mean that the significant majority of new users could simply download a prebuilt rather than doing a custom request. |
First of all, the online build tool is great! thanks! |
Any reason binary releases just stay in the github releases section like they are now? Travis-ci is setup and could be extended to build 2-3 different firmware options to attach with the release. Travis-ci does support many other providers if its better to self host on S3 or something. |
There is a pragmatic one: the git model is incredibly network efficient for local replication if you are using non-binary objects. However git replication sucks for volatile binary objects. Essentially anyone pulling down master or dev regularly will collect of these binary objects on their local file system. Far better to have just a single MD or HTML file for releases with links and SHA1s pointing at a repository. Then all users have the links to the files and can pull the ones that they want with a single click in the browser. |
I should clarify I am referring to _github_ releases not binary objects in the git repo. I am all on board with removing binary objects of this sort from the repo. https://github.com/nodemcu/nodemcu-firmware/releases |
I fully agree but GitHub releases at https://github.com/nodemcu/nodemcu-firmware/releases are not part of the repository i.e. you won't have them locally if you clone the repository. If we decide to continue proving binaries (content tbd) then GitHub releases is the perfect place to keep them. |
Durrrh, I am brain dead again. Releases are github extension to standard git that I've never personally used before. I learn something every day. Sorry folks |
I could see the value of having say, minimal, default, and full releases available on github (built & released by CI), as long as there are prominent notes about the custom-build service. And if anything I'd love to see the user_config.h options exposed in a Friendly(tm) manner somehow too (possibly via a separate markdown file to provide the necessary info & settings control). |
I'd like to bring this discussion back to the original subject 😉 When @TerryE is done with #745 The question right now is if we also want to dump the old GitHub releases that we don't support anymore anyhow. IMO it's not sensible to keep them online and then tell people who report issues against them to go and build from How we want to handle releases after the "clean-up actions" is a valid but entirely different question. I'm interested what you think of my initial proposal
|
I think having any modern build available in a Release is better than people downloading Also @marcelstoer, how about removing "master" option from your build service? To keep people away from |
What happens when just a tag is pushed, as I suggested in #820 ? |
@nickandrew When a tag is pushed, the travis-ci will build the firmware, and deploy two bin file to github releases. |
Following my remarks in #7771], Hmmm... thus there is no more prebuilt nodemcu... because the full firmware > 512k. In terms of organization, an idea could be to create a dedicated repo (ex : https://github.com/nodemcu/nodemcu-firmware-releases) in order to keep the code directory clear? In terms of firmware size, the idea of 3/4 firmwares with preselected libraries is interesting (but need to present some matrix of content). Maybe you could provide alongside a full binary with name like "nodemcu_1.4.0_bigger512k_warning.bin" with some explanation on the main readme of the dedicated repo ? An other idea is to put a link (i don't know if it is possible in git) to the latest stable and dev releases (in order to keep the same link ind docs and backlinks - nodemcu.com) ? |
github releases will not pollute the source code directory. maybe build two versions firmware binary is a good idea? github releases has a latest link. https://github.com/nodemcu/nodemcu-firmware/releases/latest |
indeed, as it was discussed, it seems to be "managed" by git
yes and no... in fact, the link doesn't leads to download the last binary directly (example of what I think is perfect as use case : you need keepass, you go there : http://sourceforge.net/projects/keepass/ and click on download). |
@ghusson2 Please use proper quoting (https://help.github.com/articles/markdown-basics/), your comments are otherwise hard to read. I fixed it this time for you.
No, they're managed by GitHub. Please read the entire thread before adding new comments that have been discussed before in the same issue. |
Ok, I will look at that.
Yes, sorry about confusion. |
We've removed the prebuilt folder from both master and dev, and agreed that we should use gihub releases. I think that this closes this issue. |
Based on the opinions expressed in the comments above one could arrive at that conclusion. It isn't entirely clear for me though.
|
Marcel, I agree with what you say and we may need a new issue, but if so then the issue should address what the issue should its title. It really doesn't help having a thread which starts out with one theme and slowly morphs unendingly into another. Please open the new issue. |
@marcelstoer The outdated binaries kept by github will cease to be a problem once newer binaries replace them. My vote is to have the automated build include only a minimal, demonstration set of modules. |
I know but this may take weeks or months. I'm concerned about today, tomorrow and next week. However, if you all think we should keep them for download then so be it. |
With my PR #560 the
pre_build
directory was removed (only onmaster
and not ondev
😞 ). I believe we should also drop all binaries in https://github.com/nodemcu/nodemcu-firmware/releases.Instead we could add a "synthetical" release that contains only a README-style document that explains why there are no pre-built binaries (anymore) and suggest ways how to build the firmware.
Whenever I come across a blog post or the like which explains how to download an NodeMCU release from our GitHub repo I leave a comment or contact the author and tell them why it isn't such a good idea (anymore).
The text was updated successfully, but these errors were encountered: