[Scons-dev] mimetypes: adding mimetype for scons scripts
Carnë Draug
carandraug+dev at gmail.com
Wed Jan 21 08:08:11 EST 2015
On 21 January 2015 at 09:56, Charles Plessy <plessy at debian.org> wrote:
> Le Tue, Jan 20, 2015 at 05:58:53PM +0000, Carnė Draug a écrit :
>>
>> scons [1] is a build system and I was thinking of adding it to
>> shared-mime-info. Its files are very simple to identify, they are
>> always named SConstruct or SConscript. These files are also valid
>> python scripts.
>>
>> Should shared-mime-info identify them (I can submit a git patch, no
>> problem) or should SCons itself add a rule when they are installed?
>> I am guessing that a SCons mimetype would be "text/x-scons" is that
>> correct? Or should they be identified only as python scripts?
>>
>> I saw there are rules for make and cmake so I thought that adding
>> to shared-mime-info would be the way to go.
>
> Hello Carnė,
>
> if you would like to assign a media type for SCons files, please also consider
> to register it to the IANA. It is a lightweigt procedure and registration of
> new types is welcome.
>
> http://www.iana.org/assignments/media-types/media-types.xhtml
>
I took a look at the list of existing mimes and I could not find one for
Makefile, perl, or python. Would a mimetype for SCons be relevant when it
does not even exist one for those much more common files?
Carnë
More information about the Scons-dev
mailing list