Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sw360-dev] tracing editing steps in couchdb documents

As far as I know, one should not depend on the revisions in CouchDB, since they
are volatile and under control of CouchDB and might be cleaned up or might not
survive a migration.

Best regards
Maximilian


On Mi, 12. Sep 13:20, Jaeger, Michael C. wrote:
> Hi,
> 
> in couchdb, I am trying to follow a question on some document "who edited what when" and the couchdb feature to fish out older versions of a document is extremely useful.
> 
> I was wondering how about adding the user and the date to every document (and not a list), because any change would write a new version of the document with according user and date. A subsequent version would have updated fields accordingly. Then by stepping back in couchdb there would be a version log already.
> 
> just adding to "createdBy, createdOn" also
> 
>   modfiedBy
>   modifedOn
> 
> to every of the relevant documents?
> 
> What do you think?
> 
> Kind regards, Michael
> 
> 

> _______________________________________________
> sw360-dev mailing list
> sw360-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sw360-dev


-- 
Maximilian Huber * maximilian.huber@xxxxxxxxxxx * +49-174-3410223
TNG Technology Consulting GmbH, Beta-Str. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Müller
Sitz: Unterföhring * Amtsgericht München * HRB 135082

Attachment: signature.asc
Description: PGP signature


Back to the top