3 ms·
It looks like this doesn't work with folders... or have some kind of hash to detect alteration. While I appreciate you sharing the project, this is probably pre
by mbreese 14y ago
It looks like this doesn't work with folders... or have some kind of hash to detect alteration. While I appreciate you sharing the project, this is probably premature at this point.
Here are somethings that I would consider adding:
* a README (update: done! :) )
* consider making this work with virtualenv by default. This way you can install
Flask as a library without making me install it for the system. Adding a short
bash wrapper script really helps here.
* support for folders
* sha1 hashes to ensure your files are consistent
* de-duplication of chunks would be a good thing to add too
* The way you are sending data now looks like you are using GETs for everything.
If you are really going to make this work, you should use GETs for downloading and PUTs or POSTs for uploading.
- max0035 14y agoYes, this is still very premature, and more of a learning project for me. I know about no support for folders, I didn't have time to fix that yet, but I will! Virtual enviornment is interesting, I will look into that. * It does check for alterations actually then uploads the altered file, look at the main loop in the client. The way I am sending files now is awful! I plan on fixing all thos, thank you for the response. :)
- mbreese 14y agoGood luck to you. I hope that you come up with a worthwhile project that you can learn a ton with. But, you it probably shouldn't have been submitted to the wolves in this state :).
- max0035 14y agoHaha, thank you sir! And don't worry, I take pleasure in feeding the wolves. :p
- ekianjo 14y agoIf you can explain in the readme how to set this up for first usage it would great.
- max0035 14y agoI will add that in the next update.
- 27182818284 14y agoAs soon as I clicked the source and didn't notice a binary diff being done for files I realized it was a toy/learning project, but my reaction was "Hell yeah!" anyway. Keep it up.