Skip to content
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

How i can block IPFS Update? #2613

Closed
ZeroCool22 opened this issue Sep 4, 2023 · 9 comments · Fixed by #2651
Closed

How i can block IPFS Update? #2613

ZeroCool22 opened this issue Sep 4, 2023 · 9 comments · Fixed by #2651
Labels
effort/hours Estimated to take one or several hours exp/beginner Can be confidently tackled by newcomers help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature kind/support A question or request for support P3 Low: Not priority right now status/ready Ready to be worked

Comments

@ZeroCool22
Copy link

I want to use the 0.29.0 version and not want it to get updated, what file i need to block in the firewall?

@ZeroCool22 ZeroCool22 added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Sep 4, 2023
@ZeroCool22
Copy link
Author

Someone?

@whizzzkid
Copy link
Contributor

Hey @ZeroCool22, apologies for the slow response, I don't think there is a config to prevent automatic update (that can be added, but that would then increase fragmentation of kubo runtimes, which is not ideal)

That being said, are you comfortable building projects locally? If yes, then I think you can comment out this line and build ipfs-desktop locally, that should disable background checks and hence make it stay at the version you'd like.

Let me know if you need further assistance.

@whizzzkid whizzzkid added need/author-input Needs input from the original author kind/support A question or request for support and removed need/triage Needs initial labeling and prioritization kind/bug A bug in existing code (including security flaws) labels Sep 11, 2023
@ZeroCool22
Copy link
Author

Hey @ZeroCool22, apologies for the slow response, I don't think there is a config to prevent automatic update (that can be added, but that would then increase fragmentation of kubo runtimes, which is not ideal)

That being said, are you comfortable building projects locally? If yes, then I think you can comment out this line and build ipfs-desktop locally, that should disable background checks and hence make it stay at the version you'd like.

Let me know if you need further assistance.

Mmm, i never compiled anything i just use Visual Studio Code for html and css (not JS yet), how i do it?

@whizzzkid
Copy link
Contributor

@ZeroCool22 you can find the guide to build from source here.

Once you have the project cloned locally, you can run the build command to run local ipfs-desktop.

@SgtPooki
Copy link
Member

@ZeroCool22 in #2617 you say there are errors that are too big of a problem for you to update. Can you share more information and logs, or relevant existing issues?

We want to fix all the errors, but without information from users who are experiencing them, we can't address them.

As far as blocking the auto-update, that is counter-intuitive to deploying fixes that are needed for resolving errors anyone experiences. The right solution is to report the error with as much information as needed so we can address the root problem.

If we need to hop on a call, let me know, you can email me at my username at protocol.ai, or https://calendly.com/sgtpooki.

@waltzz92
Copy link

Has any progress been made on this? I too would like a version of IPFS Desktop with automatic updates disabled. As shown by the Windows OS, its no secret that updates break things. Even worse are bad features being forced on the user by the developer, as is the case with Google's Manifest V3. It would be best if users have full control over the software on their machines.

Unfortunately, I'm not familiar with programming. If someone could make the current Windows version of IPFS Desktop without the update feature, that would be great.

@whizzzkid
Copy link
Contributor

Thanks for the feedback @waltzz92, even if we added the feature to disable autotmatic update today, you'll still have the latest version which won't be updated going forward. i.e. you'll have all the bugs that ship today with no opportunity to fix them. I feel the sentiment here was to have an old version which won't update. You can always build an old version from source.

I would like to re-iterate what @SgtPooki mentioned:

As far as blocking the auto-update, that is counter-intuitive to deploying fixes that are needed for resolving errors anyone experiences. The right solution is to report the error with as much information as needed so we can address the root problem.

I disagree with your statement:

its no secret that updates break things

That would not be ideal as a lot of things change pretty fast, i.e. having fragmentation in the ecosystem will only cause more problems and compatibility issues. I feel most of these issues were fixed with the latest release, if not, please report those as newer issues and someone can look into those.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

@SgtPooki
Copy link
Member

SgtPooki commented Oct 4, 2023

@waltzz92 @ZeroCool22 we will add an option in the IPFS-Desktop config.json to disable autoUpdates, but won't provide a UI element for toggling it, so you will be able to disable auto-update, but only via modifying the config.json file.

This will:

  1. prevent users who don't know exactly why they're doing it from shooting themselves in the foot (with an easy UI toggle)
  2. allow users who are adamant about preventing auto-updates to do what they want
  3. be easy to implement (simple config read and wrapper around a few lines in src/auto-updater/index.js)

cc @whizzzkid

@SgtPooki SgtPooki added help wanted Seeking public contribution on this issue P3 Low: Not priority right now kind/enhancement A net-new feature or improvement to an existing feature exp/beginner Can be confidently tackled by newcomers effort/hours Estimated to take one or several hours status/ready Ready to be worked and removed need/author-input Needs input from the original author kind/stale labels Oct 4, 2023
SgtPooki added a commit that referenced this issue Oct 5, 2023
@SgtPooki SgtPooki linked a pull request Oct 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours exp/beginner Can be confidently tackled by newcomers help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature kind/support A question or request for support P3 Low: Not priority right now status/ready Ready to be worked
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants