OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

Implement automatic updates

Open abrichr opened this issue 1 year ago • 7 comments

Feature request

We would like the OpenAdapt app to automatically update on launch.

Motivation

https://github.com/OpenAdaptAI/OpenAdapt/issues/754

abrichr avatar Jun 14 '24 14:06 abrichr

/bounty $100

abrichr avatar Jun 16 '24 21:06 abrichr

💎 $100 bounty • OpenAdaptAI

Steps to solve:

  1. Start working: Comment /attempt #755 with your implementation plan
  2. Submit work: Create a pull request including /claim #755 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to OpenAdaptAI/OpenAdapt!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @mobley-trent Jun 17, 2024, 11:03:39 AM WIP
🔴 @Rutik7066 Jun 17, 2024, 11:04:44 AM WIP
🟢 @shashank40 Jun 19, 2024, 10:52:21 AM #782

algora-pbc[bot] avatar Jun 16 '24 21:06 algora-pbc[bot]

/attempt #755

Algora profile Completed bounties Tech Active attempts Options
@mobley-trent 3 bounties from 2 projects
Python, Rust,
Jupyter Notebook
Cancel attempt

mobley-trent avatar Jun 17 '24 11:06 mobley-trent

/attempt #755

Algora profile Completed bounties Tech Active attempts Options
@Rutik7066 9 bounties from 6 projects
Go, Rust,
TypeScript & more
Cancel attempt

rutikthakre avatar Jun 17 '24 11:06 rutikthakre

@mobley-trent Thanks for the PR. I have taken a look. The script you mentioned seems to be for updating the git repo, for people who are developing/contributing. The current issue is regarding the app (that is created when you run python -m openadapt.build). I think what this issue needs is a separate script altogether.

Ideally, what the solution would look like is:

  1. On app start, check for the latest release version of OpenAdapt and compare it to the version of the running app
  2. Based on that, add an option in the tray to update to the latest version (@abrichr thoughts on auto updating vs this)
  3. On clicking that, the newest version should be downloaded, and unzipped in the same directory as where the current app lives. There are no additional installation instructions for OpenAdapt, so we could just display a message box saying that the new app was downloaded, and maybe delete the current version as well (@abrichr thoughts on this as well)

KIRA009 avatar Jun 18 '24 12:06 KIRA009

/attempt #755

Algora profile Completed bounties Tech Active attempts Options
@shashank40 2 bounties from 2 projects
Python, TypeScript,
JavaScript
Cancel attempt

shashank40 avatar Jun 19 '24 10:06 shashank40

💡 @shashank40 submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Jun 19 '24 11:06 algora-pbc[bot]