Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 10 years ago

#2493 closed defect (fixed)

MIME map of text/x-makefile is not enough

Reported by: superkun@… Owned by: Christian Boos
Priority: normal Milestone: 0.9.3
Component: version control/browser Version: 0.9.2
Severity: trivial Keywords: MIME map
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 19 years ago

Owner: changed from Jonas Borgström to Christian Boos
Severity: normaltrivial
Status: newassigned

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…

comment:2 by Christian Boos, 19 years ago

Resolution: fixed
Status: assignedclosed

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

in reply to:  description comment:3 by anonymous, 17 years ago

Replying to superkun@sina.com:

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.