On Mon, 12 Dec 2011 22:06:44 +0100
Tomas Mraz <tmraz(a)redhat.com> wrote:
On Mon, 2011-12-12 at 22:52 +0200, Jussi Lehtola wrote:
> On Mon, 12 Dec 2011 21:34:12 +0100
> Tomas Mraz <tmraz(a)redhat.com> wrote:
> > 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.
Gah.. Nothing, obviously. Somehow I must have skipped the --force part.
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola(a)fedoraproject.org