GNUnet is the GNU project developing a framework for secured and anonymous peer-to-peer network. It stores search results and network directories (referencing files published in the network, like a folder does in a filesystem) under the form of a .gnd file, of MIME type application/gnunet-directory. The file [1] contains the extension, glob pattern and translated description for this type. It has been tested and is correct - no risk of confusion with another MIME type thanks to the precise pattern that we detect. I'm not sure you may want to include it in freedesktop.org.xml since you may not consider this as a very common format. But still I propose it here since it's a GNU project. I'd understand if you refuse it - please just confirm or reject. 1: https://gnunet.org/svn/GNUnet/contrib/gnunet.xml
What applications would actually use this mime-type, and what would it be used for? We don't actually have any directories as mime-types anywhere in the database, so this would be an exception.
> What applications would actually use this mime-type, and what would it be used > for? gnunet-gtk, gnunet-qt and possibly GNUnet command-line tools. The only justification to add this file type to the fd.o database is that the file would be recognized by the system even when GNUnet is not installed. Though I don't know what is your policy concerning this kind of file: is that worth adding it or just we just install the .xml MIME spec when installing GNUnet? > We don't actually have any directories as mime-types anywhere in the database, > so this would be an exception. I guess you misunderstood me: GNUnet directories are not filesystem directories but files in which we write search results. This is quite like M3U (MP3 playlists) except that it stores URIs pointing at files situated in the GNUnet network.
Ha, files are fine. Could you please provide a patch suitable for inclusion, including a test file to add to the test suite?
Created attachment 15785 [details] GNUnet directory test file
Created attachment 15786 [details] XML for application/gnunet-directory MIME type As I said in the bu description, this file was available from our SVN repository. I guess you just have to copy/paste this into freedesktop.xml, isn't it? Thanks
(In reply to comment #5) > Created an attachment (id=15786) [details] > XML for application/gnunet-directory MIME type > > As I said in the bu description, this file was available from our SVN > repository. I guess you just have to copy/paste this into freedesktop.xml, > isn't it? There's more work involved than that, which is why I'd rather have a proper patch.
What kind of work? I have no time right now to look into it, but I may do so in a few weeks if you want.
* freedesktop.org.xml.in: * tests/list: * tests/test.gnd: Add mime-type for GNUNet saved searches, based on work by Milan Bouchet-Valat <nalimilan@club.fr> (Closes: #15260)
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.