List for cgit developers and users
 help / color / mirror / Atom feed
From: list at eworm.de (Christian Hesse)
Subject: mimetypes & about
Date: Mon, 17 Aug 2015 15:00:00 +0200	[thread overview]
Message-ID: <20150817150000.6fa4800b@leda.localdomain> (raw)
In-Reply-To: <CAHmME9r68U72uMo_JtnmbS2p+dJ5-ALKkZzaH2VRo8zAqBoRtQ@mail.gmail.com>

"Jason A. Donenfeld" <Jason at zx2c4.com> on Mon, 2015/08/17 14:41:
> Hi Christian,
> 
> I've merged your series. Thanks a lot for that.

Thanks a lot!

> Also, I wound up rewriting the mimetype-from-file function to be a lot
> more clear and less error prone:
> http://git.zx2c4.com/cgit/tree/shared.c#n564

Looks like that broke it for me... I will take a look at what goes wrong.

> I also expanded the send-plain list to include video/:
> http://git.zx2c4.com/cgit/tree/ui-summary.c#n108
> 
> I imagine at some point people will have various requests here, and
> we'll wind up being convinced to add an option for this...

Yes, 'application/pdf' comes to mind...

I have these categories in my mime types file:

$ cut -d/ -f1 < /etc/mime.types | sort | uniq -c
   1289 application
    213 audio
     54 chemical
     80 image
      6 inode
     21 message
     19 model
     14 multipart
    107 text
    112 video
      1 x-conference
      1 x-epoc
      1 x-world

Wondering whether or not it makes sense to invert the condition, e.g.
embedding text (and message? others?), sending everything else in plain mode.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20150817/7d60fd8a/attachment.asc>


  reply	other threads:[~2015-08-17 13:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17 12:41 Jason
2015-08-17 13:00 ` list [this message]
2015-08-17 13:01   ` Jason
2015-08-17 13:02   ` list
2015-08-17 13:02     ` Jason
2015-08-17 13:05       ` mailings
2015-08-17 13:07         ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150817150000.6fa4800b@leda.localdomain \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).