[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-developers] gnunet-guile: publish ksk uri
From: |
Amirouche Boubekki |
Subject: |
[GNUnet-developers] gnunet-guile: publish ksk uri |
Date: |
Fri, 19 Jan 2018 07:53:33 +0100 |
User-agent: |
Roundcube Webmail/1.1.2 |
I am trying to add keywords publishing in gnunet-guile
I'd like to be able to both publish keywords as part of a file
like:
gnunet-publish FILENAME -k KEYWORD
does. And add keywords to existing uri as:
gnunet-publish -u URI -k KEYWORD
does.
As part of my latest commit [1] I use both GNUNET_FS_publish_ksk [2]
and force the ksk uri to be 'jjj' when I build FileInformation
using fs-file-information-create-from-file [3].
[1]
https://gnunet.org/git/gnunet-guile2.git/commit/?id=a97b5a53d46595c410bdb00ce89b1158cb5332ab
[2]
https://gnunet.org/git/gnunet-guile2.git/tree/gnunet-guile?id=a97b5a53d46595c410bdb00ce89b1158cb5332ab#n99
[3]
https://gnunet.org/git/gnunet-guile2.git/tree/gnunet-guile?id=a97b5a53d46595c410bdb00ce89b1158cb5332ab#n146
Both fails to achieve the desired outcome. To test that I use:
gnunet-search jjj
I tested that files published with gnunet-publish can be found
using gnunet-search. So:
Q: How can I debug this?
Also, I think that 'meta' can be NULL in GNUNET_FS_publish_ksk
but is not documented [4]. Is it the intended behavior?
[4] https://gnunet.org/git/gnunet.git/tree/src/fs/fs_publish_ksk.c#n181
--
Amirouche ~ amz3 ~ http://www.hyperdev.fr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-developers] gnunet-guile: publish ksk uri,
Amirouche Boubekki <=