Skip to content

Conversation

SaptarshiSarkar12
Copy link
Owner

@SaptarshiSarkar12 SaptarshiSarkar12 commented Jan 17, 2024

Fixes issue

Fixes #217

Changes proposed

  • Added a package to check for available update
  • Added in-place update methods for both CLI and GUI

Tested Working in/for

  • Drifty CLI / Windows
  • Drifty GUI (exe) / Windows
  • Drifty GUI (msi) / Windows (requires Administrative Privileges)
  • Drifty CLI / Linux
  • Drifty GUI / Linux
  • Drifty CLI / MacOS
  • Drifty GUI / MacOS (PKG installer is opened up for the user to install the latest version)

Note

For Windows, the .old executable remains after update completes. Once the new executable (starting from version 2.1.0) is run, it deletes that old file during initialisation.

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Test.1.webm

Note to reviewers

@SaptarshiSarkar12 SaptarshiSarkar12 linked an issue Jan 17, 2024 that may be closed by this pull request
Copy link

vercel bot commented Jan 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drifty ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 6:13am

Copy link
Contributor

coderabbitai bot commented Jan 17, 2024

Important

Auto Review Skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the App 💻 Issues/Pull Requests which update Drifty Application Code label Jan 17, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah! You did it 🎉 Now, Relax 😉, Grab a drink ☕, and wait for the maintainers to check your contributions. Meanwhile, you can discuss on other issues and solve them 😀. Thank You 😃!

Meanwhile you can also discuss about the project in our Discord Server 😀

@SaptarshiSarkar12 SaptarshiSarkar12 added the feature ✨ New feature request or addition label Jan 17, 2024
@SaptarshiSarkar12
Copy link
Owner Author

Superseded by #562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App 💻 Issues/Pull Requests which update Drifty Application Code dependencies 📦️ Pull Requests that update dependencies feature ✨ New feature request or addition maven 📦️ Pull Requests that update Maven dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add a feature to update Drifty

1 participant