Bug 618 - Cleanup for "text executable" types (shellscripts and other scripts)
Summary: Cleanup for "text executable" types (shellscripts and other scripts)
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-14 23:04 UTC by David Faure
Modified: 2004-12-09 17:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
cleanup for scripts types (4.41 KB, patch)
2004-05-14 23:05 UTC, David Faure
Details | Splinter Review
patch I applied to HEAD. (3.55 KB, patch)
2004-12-10 12:16 UTC, Christophe Fergeau
Details | Splinter Review

Description David Faure 2004-05-14 23:04:40 UTC
The attached patch: 
 
- defines that scripts are sub-class-of application/x-executable, so that it 
becomes easy to check if something is executable (all it needs is to inherit 
x-executable and have +x permissions) 
 
- merges text/x-ksh into application/x-shellscript (does anyone really need a 
separate mimetype for this? If so, then it should be defined as application/x-* 
for consistency and it should be a subclass of application/x-shellscript) 
 
- moves the magic for csh scripts to the existing application/x-csh mimetype, 
and defines that it's a subtype of application/x-shellscript 
 
- defines that the script types are also text/plain. Many more types in the 
database are subclasses of text/plain, I'll file another report for that.
Comment 1 David Faure 2004-05-14 23:05:36 UTC
Created attachment 285 [details] [review]
cleanup for scripts types
Comment 2 Christophe Fergeau 2004-12-10 12:15:14 UTC
I applied your patch except for the change for application/x-javascript. Are
there widely used command line interpreters for javascript scripts ?
Comment 3 Christophe Fergeau 2004-12-10 12:16:49 UTC
Created attachment 1509 [details] [review]
patch I applied to HEAD.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.