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

[Suggestion] "Rehash all" button #289

Open
alexvlrt opened this issue Jan 31, 2015 · 12 comments · May be fixed by #709
Open

[Suggestion] "Rehash all" button #289

alexvlrt opened this issue Jan 31, 2015 · 12 comments · May be fixed by #709

Comments

@alexvlrt
Copy link

Hello, I have a suggestion for the technicSolder : why not create a buttton "Rehash all" to rehash all of MD5 checksum of all mods ? I think this is more faster than rehahs one per one each mod

@JamiePhonic
Copy link

i would like this too. after changing a bunch of configs and updating a bunch of mods in a pack, it becomes a pain to have to manually go and rehash each one

@vlee489
Copy link

vlee489 commented Mar 1, 2015

This world be so good

@Arzte
Copy link

Arzte commented Mar 2, 2015

+1

@Flukethoughts
Copy link

+1

1 similar comment
@ghost
Copy link

ghost commented Mar 19, 2015

+1

jkoan added a commit to jkoan/TechnicSolder that referenced this issue Mar 22, 2015
@Arzte Arzte mentioned this issue Apr 28, 2015
@Zoryn4163
Copy link

Sorry to resurrect an old post... but was this ever implemented?

@Arzte
Copy link

Arzte commented Jun 2, 2015

Nope, it has not been.

@Zoryn4163
Copy link

@TheDoctorsLife Are there plans to at some point in the near future?

@Arzte
Copy link

Arzte commented Jun 11, 2015

I'd ask @GenPage

@GenPage
Copy link
Contributor

GenPage commented Jun 11, 2015

why not create a buttton "Rehash all" to rehash all of MD5 checksum of all mods ? I think this is more faster than rehahs one per one each mod
@TheGeekdu74

This feature sadly would be a monstrosity to build due to the fact that server would have to process multiple md5 checksums. This would take a lot of time and would need to be run as a background process which Solder currently does not support.

Even then if you attempt to md5 a remote mod repository versus local files, not only is the memory footprint an issue but the fact you are creating multiple web requests would result in huge bandwidth usage.

@krusynth
Copy link

Just to poke at this more, I think this would be a great feature for noobs who made the same mistake I did. This should actually be entirely doable - you can run the hashing in sequence and have a long-running process that doesn't timeout in the foreground, and memory should be freed as you go. (I'm actually doing far more massive operations in PHP on StateDecoded processing gigs of data without many problems). Alternatively, you could do this all through a series of Ajax requests with the existing infrastructure. Otherwise you're doing it all manually, which at 60 mods is taking forever.

@krusynth
Copy link

Here's a quick example using the Ajax method, it's just calling each mod in order. This is built from the dev branch. Takes about 5-10 seconds for my 60+ mods (though with only one version each). https://gist.github.com/krues8dr/1aa0213eb9f097bc49f7

@rtm516 rtm516 linked a pull request Aug 7, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants