On Mon, 2011-12-12 at 22:52 +0200, Jussi Lehtola wrote: > On Mon, 12 Dec 2011 21:34:12 +0100 > Tomas Mraz <tmraz@xxxxxxxxxx> wrote: > > On Mon, 2011-12-12 at 15:21 -0500, Stephen Gallagher wrote: > > > On Mon, 2011-12-12 at 13:16 -0700, Ken Dreyer wrote: > > > > On Mon, Dec 12, 2011 at 12:24 PM, Stephen Gallagher > > > > <sgallagh@xxxxxxxxxx> wrote: > > > > > * #715 Provenpackager education/status/brainstorming (sgallagh, > > > > > 18:43:02) > > > > > > > > There was some discussion a while back about preventing certain > > > > extensions from being uploaded to the lookaside cache. Could > > > > ".patch" be added to that list? > > > > > > Of course, a whitelist might be a better idea. Maybe we only > > > allow .tar.gz, .tar.bz2 and .zip to be uploaded this way and make > > > additional exceptions as they arise. > > > > What about running a 'file' command on the stuff and if the output > > contains 'text' then allow upload only with some kind of --force > > option? > > And what about separately shipped license files, documentation and so > on? > > Not a valid option. What's wrong with using --force option for such files? These are not that common so that should not be much hassle. Also if they are small I do not see any reason why not to put them directly into the git repository. Or maybe the condition for need of the force flag could be modified to not require it for files larger than some size (for example 100kBytes) even if 'file' outputs that they are a text files. -- Tomas Mraz No matter how far down the wrong road you've gone, turn back. Turkish proverb -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel