-
Notifications
You must be signed in to change notification settings - Fork 145
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
feat: beta updater #1197
feat: beta updater #1197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vansangpfiev Approving to unblock.
Can I check my high-level understanding:
- We are breaking off beta updater from stable (previous)
- We are currently hard-coding Github URLs
Just FYI, we likely will support multiple download mirrors in the future, e.g. Github, Gitlab, Gitee
engine/commands/cortex_upd_cmd.cc
Outdated
// Download file | ||
constexpr auto github_host = "https://api.github.com"; | ||
std::ostringstream release_path; | ||
release_path << "/repos/janhq/cortex.cpp/releases"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vansangpfiev Just a note, we may need to support multiple download sources in the future (e.g. Github, and mirrors in Gitlab, Gitee)
0cb1378
to
7b754ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Great work! Thank you!
Describe Your Changes
Support beta updater, for now we have:
Fixes Issues
Self Checklist