Development Language mime types

Bug #384341 reported by Shane Fagan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Undecided
Unassigned

Bug Description

I have some additions to the development language mime types theres a diff attached.
A load of additions and fixes to my original work.
Some of these may not work so put comment on this bug and ill make a diff for the problem. Python, C, perl, html,d etc all work as far as I know.

Related branches

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Take this patch instead please. I added one more.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 384341] Re: Development Language mime types

text/html and application/xhtml+xml are websites, people won't expect
them to be under Development. I'm also not sure about XML.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Unrelated to this, now that applications are tracked "Firefox History"
and "Epiphany History" should just become "Web History", so local
X/HTML files will fit there too.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Hmmm id say the html xhtml and xml could all be thrown under the dev category. As long as its not recognising them from the firefox history or something. This is because they would generally be developing the websites on the computer and other than that they wouldnt be viewing them.

Revision history for this message
Natan Yellin (aantny) wrote :

I have to agree with Shane on this one.

The text/html and application/xhtml+xml filters are only relevant for files coming from GtkRecentManager, which are most likely related to development. Firefox history would still be logged as "Web History".

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

You see if a person opens the html file in the text editor using nautilus you are editing it so it should be added.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Its regarding the engine not the gui.

affects: gnome-zeitgeist → zeitgeist
Revision history for this message
Natan Yellin (aantny) wrote :

@Siegfried: What's your final opinion on the text/html issue?

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

How about we give it a temp +1 and let. Siegfried and Seif see it in action.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Err right, thinking about it again, +1.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

I have more changes, I think I have most languages that have mime types included in linux now. If im missing anymore we can add them later.
So use this diff if you havent already used the other ones.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

@Natan id say you can push the new diff then. Seif said yes when I asked him on IRC earlier. So +1s all around anyway it wouldnt take any effort to get rid of anything anyone has a problem with. So push the new diff that I posted.
I should document all the languages that it works.
Python, Perl, sql, jar, c, c++, css, php, ruby, java (I know its twice ), Shell script, objects (I saw a lot of these in gnome shell so I included them), php, html, xml, d, pascal, diff, c script, eiffel, Fluid, idl, java script, lua, objective c, m4 (gnome shell too hehe), objective camel, tcl, vhdl, xhtml.
I got most of them of wiki. Im probably missing some though so if anyone knows of anymore they should help.
My last one had a doop and a typo so I revised the patch again.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Here are some more:

text/x-gettext-translation (.po files)
text/x-gettext-translation-template (.pot)
application/x-glade (.glade)
application/x-designer (GTK/Qt .ui file)
text/x-makefile (Makefiles, debian/rules)
application/x-desktop (.desktop file)
text/x-sql (.sql)

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

I have sql the rest ill add but glade will be deprecated soon anyway so I dont know if we should put that in.
Since the previous difs havent been pushed ill upload the new diff.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Oh whoops I thought I had sql. Here is another diff. Sorry for the spam.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Commited as rev. 764. Thanks!

Changed in zeitgeist:
status: New → Fix Released
Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Another revision to include c#

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Another 2 languages, notably ECMA script and some other random scripting language.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.