revision

Where are all the native revisioned databases?

瘦欲@ 提交于 2019-12-03 11:12:51
I've read all the SO questions, the Coding Horror articles, and Googled my brains off searching for the best ways to revision control data. They all work and they all have their appropriate implementations based on use cases and so on. What I really want to know is why hasn't a database been written to natively support revisioning on the data-level? What I am baffled with is that the API is already practically in place with transactions. We start a transaction, change some data, and commit . We are authenticating against the database too so blame is present. My company stores end of month

triplestore with revisions

血红的双手。 提交于 2019-12-03 00:35:20
I need to store RDF triples, while keeping track of modifications. Is there anything out there for this service? Alternatively, how would you keep track of revision while using a context-aware triplestore ? Edit : please note that I don't need only the changeset. I also need to see the triples at any time in the past. I tried to address this sort of thing by storing additional triples describing who said what, when. But you need reification, named graphs, or quads which can ruin decidability. in addition to the other answers, also take a look at the Lensfield system (research software at the

Ivy: Using dynamic revisions

ぐ巨炮叔叔 提交于 2019-12-02 21:54:28
问题 I'm having problems understanding how I to use dynamic revisions of Ivy effectively in my Java projects. Currently, I have the following layout: lib-a revision: 1.0.0 status: release dependencies: none lib-b revision: 2.0.0 status: release dependencies: lib-a, rev 1.0.0 project-a revision: 3.0.0 status: release dependencies: lib-b, rev 2.0.0 project-b revision: 4.0.0 status: release dependencies: lib-b, rev 2.0.0 That means I always keep the status to release and use explicit version numbers.

Ivy: Using dynamic revisions

ε祈祈猫儿з 提交于 2019-12-02 07:44:46
I'm having problems understanding how I to use dynamic revisions of Ivy effectively in my Java projects. Currently, I have the following layout: lib-a revision: 1.0.0 status: release dependencies: none lib-b revision: 2.0.0 status: release dependencies: lib-a, rev 1.0.0 project-a revision: 3.0.0 status: release dependencies: lib-b, rev 2.0.0 project-b revision: 4.0.0 status: release dependencies: lib-b, rev 2.0.0 That means I always keep the status to release and use explicit version numbers. If I would change lib-a during development, say lib-a , this is quite painful. I save the changes in

How should CouchDB revisions be treated from a design perspective?

余生颓废 提交于 2019-12-01 21:02:55
Near as I can tell, CouchDB revisions are not to be treated like revisions in the document versioning sense of the word. From glancing at other posts, they seem to be regarded as transient data that exists until a coarse-grained compact operation is called. My question is, if I am interested in using CouchDB to maintain documents, as well as a version-history of those documents, should I allow that to be handled natively by CouchDB revisions, or should I build a layer on-top that will survive a compact operation? I am thinking the latter, simply because Couch does not replicate revisions of

API to get Wikipedia revision id by date [closed]

拥有回忆 提交于 2019-12-01 09:16:04
Is there any API to get wikipedia revision id by date, instead of checking all the revision history and extract out the most recent revision before that date? Thank you! Bergi The revision query api allows you to pass timestamps to get only revisions from a specified interval. Use api.php?action=query&prop=revisions&rvlimit=1&rvstart= myTimestamp Check out the Manual:WfTimestamp for accepted formats - yyyymmddhhmmss always works. Building on the previous answer: The always accepted format yyyymmddhhmmss returned errors. This example returned a valid response: JSON XML The id in field revid

How can only the files that were modified in a range of SVN revisions be checked out?

依然范特西╮ 提交于 2019-11-30 16:44:07
Is it possible to checkout only those files from a SVN repository that were modified in a revision or range of revisions, without checking out any files that were not modified? My suggestion is in the same lines as flolo suggests. But, takes a range. You could the following shell function. function checkout_files_in_revrange() { svn_url=$1; start_rev=$2; end_rev=$3; for theCheckoutCanditate in `svn log -r $start_rev:$end_rev --verbose --incremental | grep " M " | cut -f5 -d' ' | cut -f3- -d/` do svn co $svn_url/$theCheckoutCandidate -q; done } There is afaik now direct way to get just the

Perforce not syncing files correctly

99封情书 提交于 2019-11-30 14:29:51
问题 I'm using Perforce P4V, the graphical tool, to interface with my Perforce server here at work. I have a project I added to the depot and I accidentally deleted it from my workspace on my local computer, problem is when I use the Get Revision Action (the GUI equivalent of sync), the files don't get updated, i.e. I can see the files on the server that I want, but they won't sync correctly with my local PC. It's frustrating me that the files aren't getting pulled from the server. What I'm

Subversion: Check out only those files affected during a specific commit

风流意气都作罢 提交于 2019-11-30 12:04:38
问题 In Subversion, is it possible to check out only those files affected during a specific commit, provided you know the specific revision number? 回答1: I think that a Subversion check out can only check out a specific folder and not individual files. That said, the command: svn log -r *revision* -q -v will list the changes associated with the specified revision so you could process the output of this command to help copy the desired files to somewhere after checking out a working folder for the

How to delete a specific revision of a github gist?

丶灬走出姿态 提交于 2019-11-30 10:32:09
问题 I created a Gist on GitHub and I saw informations I don't want anyone to see. I updated the file since, but everybody can still access the old revision of the file. Except deleting the Gist, is there a way to delete that particular revision definitely? I saw that I'm not the only one having that kind of problem (Git: delete a single remote revision) but I didn't manage to remove the revision. The process indicated here seems to help remove some files. I want to remove the whole revision. 回答1: