Thank you for your responses. I think I now understand what needs to be 
done. 

I have file an issue 
here https://github.com/camlistore/camlistore/issues/842 

Thanks
Sid

On Monday, 15 August 2016 19:46:12 UTC+5:30, mpl wrote:
>
> On 11 August 2016 at 12:02, Sid Kurias <[email protected] <javascript:>> 
> wrote: 
> > Hi all, 
> > 
> > I am trying to figure out how to organize my collection of artifacts and 
> a 
> > good workflow to do the same. Have read many posts and the docs but 
> can't 
> > seem to wrap my mind around somethings. 
> > 
> > Lets say I have already stored 10 photos of dogs (tagged as dogs), 10 of 
> > cats(tagged as cats). 
> > 
> > Here is what I want to do.... 
> > 
> > Publish the photos of the dogs and cats under a root called pets. 
> > 
> > How do I accomplish the following 
> > 
> > 1. Search for (tag:dogs  or tag:cats) and create a set called animals 
> from 
> > it.On the UI I can execute the search but couldn't find a "select all" 
> > option. Have I missed it? There might be too many results to select them 
> > individually. 
>
> Yeah, I don't think we have such a feature yet, that's a good point. 
> Can you file an issue about it please? 
> In the meantime, you can achieve the same thing by running the 
> relevant camtool search query, parse the results, and add them as 
> camliMember (with camput attr) to the permanode that represents your 
> "animals" set. Not as user-friendly, I know. 
>
> > 2. Add the set to a permanode with camliroot set to pets and publish 
> that 
> > permanode. I can certainly do this from the UI 
> > 
> > Can the two steps be automated from a shell script?. If so how would I 
> do 
> > it? 
>
> Sure thing. See above for the beginning. 
> Then if sha1-foo is the blobRef for your animals permanode, you just 
> set the attribute "camliPath:pets" = "sha1-foo" on the publish root 
> permanode. You might have to create that root, it is just a permanode 
> with the "camliRoot" attribute set to whatever you chose in your 
> publisher configuration 
> (https://camlistore.org/doc/server-config#publishing) 
>
> > Is it better to use a set or a path in this case? If I add another 10 
> photos 
> > of dogs to the set will it be published automatically? 
>
> Yes, use a set with camliMembers. The publisher will find them 
> automatically. 
>
> > Do I need to create a set or can I just attach the permanodes got from 
> the 
> > search result to the camliroot permanode directly? 
>
> It technically should work to publish each item individually on the 
> camliRoot (if not, please do file a bug), but they would then need to 
> each have their own base camliPath (pets1, pets2, etc). So I usually 
> publish sets as i find it an easier way to organize things. 
>
> > I really like the tool and am using it as a backup for photographs. Now 
> I 
> > want to take it to the next step and start sharing these with others. 
>
> Please be advised that we broke the publisher on tip recently (fixing 
> it is my priority), and that you should stay below commit 
> faac33f4097e1ff3f6cb4fe661525df69304d497 until it is fixed. 
>
> > Sorry, lots of questions as I try to figure out a good workflow. 
> > 
> > Thanks 
> > Sid 
> > 
> > -- 
> > 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] <javascript:>. 
> > 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