-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Establish cron-based nightly releases #3402
Comments
I know |
They download |
@matklad should we use only one github release for nightly build? I.e. we delete the release and create it once again but from current master branch? Also do we put a |
I think it makes sense to have one release, and one moving tag |
Yeah, as much as I hate it, I guess we'll need to implement the "download vsix and update yourself" trick: you can't publish plugins with |
Okay, this is the VSCode's fault, the workaround is what we are left with |
Status: nightly releases work, we now need support in the front-end to actually use those nightlies without installinng them manually. |
Sure thing, I'd like to drive this on frontend! |
InvestigationHaving looked at
I would also want to elaborate on some invariants I suppose we need to maintain (according to my experience at
ProposalSelecting the update channel and/or binary pathI suggest two options
Pop-up message
Frontend versioning
Implementation details
Downgrading from nightly to stableOnce the user changed from
@matklad do you have some thoughts on the preferred options above or maybe other approaches in mind? |
3514: vscode: askBeforeDownload option r=matklad a=Veetaha This is a small step towards #3402, also implements my proposal stated in #3403 Also renamed `BinarySource` to `ArtifactSource` in anticipation of nightlies installation that requires downloading not a binary itself but `.vsix` package, thus generalized to `artifact` term. @matklad @lnicola Co-authored-by: Veetaha <[email protected]>
Some more thoughts: |
I like this
I like this as well. Since we are not publishing nightly, we can actually do this now
I like this: I wondn't worry about false positves until users complain :D
Why do we need it? It think just having a config in settings.json for channel should be enough? |
Agree on not having the |
We have a release workflow which is kicked "manually" when I push to the
release
branch. We should supplement it with a nightly workflow that runs at midnight. There are two goals here:Some notes:
rust-analyzer-nightly
extensioncreate-release
action can'tdelete-release
, d'oh. There was a fork of it that could though, we should use it (pinning the action with SHA hash or forking it, because actions are not frozen by default).The text was updated successfully, but these errors were encountered: