On 21 July 2016 at 15:48,  <[email protected]> wrote:
> I'm sorry if this is yet another rehash... still having trouble wrapping my
> head around some pieces.
>
> I want to create some content that isn't a file...
>
> Is the right way (or at least a valid way) to just create the blob
>
> cat > camput blob -
>
> and then create a permanode for it?
>
> camput permanode
> camput attr <permanode> camliContents <blobsha>
>
> ????

sure, that should work. (camliContent, not camliContents though).

> It's especially the permanode part that I'm confused on, sorry. Honestly, it
> seems like camput should have a --permanode option for everything, not just
> files :-)

the file is the ubiquitous entity for a user on a computer, so it
makes sense that a command-line tool would primarily get files as
input. importers or other pieces of software interacting with a
blobserver (and hence manipulating blobs) use the Camlistore API, not
camput.
That said, I don't see any strong reason (aside from complicating
camput) to not consider what you're proposing. Feel free to open an
issue (and then propose a CL ;) ) about it please.

> Thanks,
> Bruce
>
> --
> You received this message because you are subscribed to the Google Groups
> "Camlistore" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to