-
Notifications
You must be signed in to change notification settings - Fork 500
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
Discussion notes on WebUI release process from Dec 21 #167
Comments
@diasdavid Are these todos? Or notes from a talk? What's actionable? |
When you say webui for 0.3.10, are you meaning go-ipfs 0.3.10? I feel it's important to hammer out the API completely and then have go-ipfs and js-ipfs implement an API version, after that you have a webui built to the spec of the API so that it can work on either go-ipfs or js-ipfs. This of course might happen down the road, as I'm sure it will be a while before js-ipfs is at a point where it will be feature ready for a webui. |
To avoid breaking the WebUI for users, there are several things that need to be aligned, namely: ipfs daemon, js-ipfs-api and webui. Using always "latest" won't work for older versions IPFS, unless we keep code around for retrocompatibility (and a lot of if/else for edge case conditions). What we are trying to achieve is to have a way that we can update the webui for our users (specially early adopters of consequent releases), so we can get feedback on those developments. Right now, the WebUI gets updated by changing the hash that is hard coded in go-ipfs. Since IPNS doesn't support yet multiple IPNS records, we can use DNS in our favour to have several mutable pointers for the several versions of the WebUI. What this translates to is something along the following lines (from what has been discussed and complemented in yesterday's sprint meeting):
@RichardLitt on what is actionable, now it is about getting some thumbs up from everyone and then making it a part of the release process :) |
Cool. Thanks for clarifying! All sounds fine to me. |
It sounds nice to have an update mechanism, but the more I think about it, the more it feels like we'll run into all the edge-cases that you highlighted @diasdavid of incompatibilities between the node, js-ipfs-api version and Web UI version. I intend to make regular monthly releases of Web UI, and I'll continue the ritual of PRing the new CID to js'n'go-ipfs. In the background we've continuously deploying to webui.ipfs.io so folks in the know can try out the latest features (if they configure the allowed domains headers). So we have 1 bleeding edge thing (webui.ipfs.io), and one stable "should all work together" thing (CID backed into releases) @diasdavid Do we need a anything else at this stage? It'd be cool to be able to see all the CIDs of previous versions in a dropdown in the UI, and be able to hop between them, but it doesn't feel like a priority right now. It might make a cool demo for the permanent web, which is always worth some time, but I'm just trying to figure out if there is any other motivation for this that I should consider. |
Closing this as we have defined release process and will be sticking to it for the foreseeable future |
have webui-0310.ipfs.name pointing to the hash respective to webui for 0.3.10 (and other subdomains for respective hashes of other versions)
The text was updated successfully, but these errors were encountered: