Upload service should automatically delete WEB-INF

Bug #786847 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MUGLE
Fix Released
High
Matt Giuca

Bug Description

The process for uploading a game is to:

1. Compile it fully with gwtc,
2. Delete war/WEB-INF (which contains all the server-side classes for the game which are not used or wanted by MUGLE),
3. Zip up the war directory,
4. Upload the zip file.

If a student forgets step 2, they will upload a massive zip containing a lot of Java code including third-party JARs which will take up a lot of space in our datastore. Therefore, we should not rely on them to delete it.

The UploadService should automatically ignore any file with the pattern /*/WEB-INF/*.

Tags: feature

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r361.

Changed in mugle:
status: Triaged → Fix Committed
Matt Giuca (mgiuca)
Changed in mugle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.