Jeffrey Johnson wrote:
> On Jan 4, 2012, at 12:03 PM, Jeremy Huntwork wrote:
[...]
>>> I personally think (and I believe we agree) that a NoSQL! distributed store 
>>> instead
>>> of mirrored content is more soundly engineered, mostly because its rather
>>> easy to design an incremental update, which monolithic mounds of
>>> spewage (as generated by createrepo and mirrored by rsync and downloaded
>>> by url-grabber for use by yum) is still commonly doing.
>> 
>> Yes, I'm still interested about the NoSQL solutions, but I'm a little hazy 
>> about the implementation details, how to get up and running with a mongo 
>> store (for this purpose).
>> 
> 
> rpm-5.3.x had a JSON spewage implementation that was routinely uploading
> the usual primary/filelists/other JSON analogue by piping to /usr/bin/mongo.
> 
> The script with details is in rpm-5_4 somewhere.
> 
> Note that Anders Bjorkland changed --json to --mongodb or something last
> May because JSON and the markup used by the mongo shell are really
> different; for proof-of-concept I just needed _SOME_ option to use four 
> development.

What I did was to rename the --json to --mongo, since
it was actually writing JavaScript rather than JSON...

Then the --json was fixed to output regular markup,
which you could still use as input for MongoDB too ?

But I think we discussed this already, earlier:

http://rpm5.org/community/rpm-devel/4857.html

> And the implementation has mostly sat there since last May while I have dealt
> with other matters like generating an income.

Ditto here.


The proof-of concept did seem to work, including a
Smart loader for the MongoDB package store...

http://rpm5.org/cvs/chngview?cn=16151 + friends
https://code.launchpad.net/~afb/smart/mongodb


I don't think I ever saw a XML checksum error reproducer,
or whether it (and rpmrepo) just didn't matter anymore ?

Backported everything back to createrepo-0.4.11, instead.
Patches at http://afb.users.sourceforge.net/repodata/

--anders

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to