Edgewall Software

Ticket #2493 (closed defect: fixed)

Opened 3 years ago

Last modified 6 months ago

MIME map of text/x-makefile is not enough

Reported by: superkun@… Owned by: cboos
Priority: normal Milestone: 0.9.3
Component: version control/browser Version: 0.9.2
Severity: trivial Keywords: MIME map
Cc:

Description

"makefile" and "GNUMakefile" should also be regarded as text/x-makefile.

Attachments

Change History

  Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • status changed from new to assigned
  • severity changed from normal to trivial

I'll add those. A more general solution for the MIME_MAP maintenance would probably be even better... Ideas:

The initial content of that page could be what is currently hardcoded in the mimeview/api.py file. e.g. a text UI

Edit the mapping from suffixes to mime types:
----
{{{
 css             text/css
 html            text/html
 txt,TXT,text    text/plain
 ...
}}}

Or, using a more elaborated approach:

Edit the mapping from suffixes to mime types:
----
[[WikiData(MIME_MAP,dictionary)]]

And that macro would present an editable table...

  Changed 3 years ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed

Added in r2690 and r2691. I'm still interested in comments on the above comment, though :)

in reply to: ↑ description   Changed 6 months ago by anonymous

Replying to superkun@sina.com:

"makefile" and "GNUMakefile" should also be regarded as text/x-makefile.

Add/Change #2493 (MIME map of text/x-makefile is not enough)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.