architshukla / Plagiarism-Checker

A utility to check if a document's contents are plagiarised
GNU General Public License v3.0
256 stars 102 forks source link

Scripts Download: Automated? #6

Open shashankrao opened 11 years ago

shashankrao commented 11 years ago

When the user asks to Download Scripts, why not tar the latest copy of the scripts on the fly and make available for download?

Instead of always statically generating scipts.zip

architshukla commented 11 years ago

Okay this will need a little thinking. It's easy to do on linux, we can make a shell script for it. Problem is for windows (no inbuilt tar). One alternative is: we can assume Git is installed on the system and then I can make a batch file for this. Fine with you?

architshukla commented 11 years ago

Archiving the files each time a user requests a download will have to be accomplished by maintaining a separate file for each download. This can be done if we

Issue:

Now we can take a vote on whether to

  1. Keep a static tar file
  2. Dynamically tar the file
architshukla commented 11 years ago

Comments, anyone?

shashankrao commented 11 years ago

Do we even need a scripts download option?

  1. Its not for the end user.
  2. At the time of submitting the project, we keep an up-to-date version of the code. (For the demo)

Its not worth the hassle. imo.

architshukla commented 11 years ago
  1. The idea behind the script download link is to give users the flexibility to use the system without the user interface. This is always a good thing from my experience.
  2. Let's not look at it from the submission point of view because if we had that in mind from the start, we wouldn't have come this far :wink:
shashankrao commented 11 years ago
  1. The can already do that by running it from the scripts directory.
  2. Not looking at it in that way. :wink:
architshukla commented 11 years ago

Yeah, but assuming we have it hosted somewhere, they don't really have access to the scripts directly unless they wget the correct file names (which they are unlikely to come up with in the first place)