Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Versioning - and editing the control document
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nic Wise  
View profile  
 More options Apr 26 2012, 9:37 am
From: Nic Wise <n...@fastchicken.co.nz>
Date: Thu, 26 Apr 2012 06:37:54 -0700 (PDT)
Local: Thurs, Apr 26 2012 9:37 am
Subject: Versioning - and editing the control document

Hi there

we have versioning enabled, but it was setup without the versioning
document (Raven/Versioning/DefaultConfiguration). We just made the Plugins
folder, dropped the DLL's in, and it worked.

Now, I want to change the versioning to only have 5 versions of anything.
I've tried editing Raven/Versioning/DefaultConfiguration, but it can't be
found (it's on all document, so there isn't appear to be a
Document-Type-specific config). I've tried creating that, but while the
studio allows me to do it, it can then never find it...

So... how do I configure this? preferably without writing an app to do it.

We are running in a tenant database, if that helps.

Ta

Nic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 27 2012, 7:18 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sat, 28 Apr 2012 02:18:41 +0300
Local: Fri, Apr 27 2012 7:18 pm
Subject: Re: [RavenDB] Versioning - and editing the control document

If you don't have a "Raven/Versioning/DefaultConfiguration" document, we
just use hard coded defaults.
You can just create  Raven/Versioning/DefaultConfiguration  through the UI.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 28 2012, 6:04 am
From: Nic Wise <n...@fastchicken.co.nz>
Date: Sat, 28 Apr 2012 11:04:55 +0100
Local: Sat, Apr 28 2012 6:04 am
Subject: Re: [RavenDB] Versioning - and editing the control document
Thanks. I tried that, and it allowed it to be saved. However, if I try
to edit the document, it fails to load. If I make a new one, it allows
it to be saved over the top again.

Can it be loaded? And edited? Am I missing something?

On Sat, Apr 28, 2012 at 00:18, Oren Eini (Ayende Rahien)

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 28 2012, 6:15 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sat, 28 Apr 2012 13:15:46 +0300
Local: Sat, Apr 28 2012 6:15 am
Subject: Re: [RavenDB] Versioning - and editing the control document

It is just a standard doc
What do you mean, you can't load?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 28 2012, 7:05 am
From: Nic Wise <n...@fastchicken.co.nz>
Date: Sat, 28 Apr 2012 12:05:53 +0100
Local: Sat, Apr 28 2012 7:05 am
Subject: Re: [RavenDB] Versioning - and editing the control document
1. Go into the tenant database
2. Hit "Edit Document". Enter "Raven/Versioning/DefaultConfiguration"
3. "Document not found"
4. Make a new document. Id (at the top): Raven/Versioning/DefaultConfiguration
{
    Exclude: false,
    Id: "Raven/Versioning/DefaultConfiguration",
    MaxRevisions: 5

}

(from memory. Its this:
http://ravendb.net/docs/server/bundles/versioning but in JSON format)

5. Save. Works: "Document saved, do you want to update a system document? etc"

6. Load document: "Raven/Versioning/DefaultConfiguration". Document not found.

Using #888

We have replication documents in this tenant DB, too, and I can load,
edit and view them fine.

On Sat, Apr 28, 2012 at 11:15, Oren Eini (Ayende Rahien)

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 28 2012, 1:35 pm
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Sat, 28 Apr 2012 20:35:03 +0300
Local: Sat, Apr 28 2012 1:35 pm
Subject: Re: [RavenDB] Versioning - and editing the control document

We will take a look at this tomorrow, thanks for reporting

http://issues.hibernatingrhinos.com/issue/RavenDB-260


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 28 2012, 2:17 pm
From: Nic Wise <n...@fastchicken.co.nz>
Date: Sat, 28 Apr 2012 19:17:54 +0100
Local: Sat, Apr 28 2012 2:17 pm
Subject: Re: [RavenDB] Versioning - and editing the control document
Thanks!

I assume if we make a version configuration with a maxrevisions of 5,
and a document has 10 already, it'll just delete the other 5?

On Sat, Apr 28, 2012 at 18:35, Itamar Syn-Hershko

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 29 2012, 5:18 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 29 Apr 2012 12:18:25 +0300
Local: Sun, Apr 29 2012 5:18 am
Subject: Re: [RavenDB] Versioning - and editing the control document

Actually, no.
It does't check for the old revisions beyond the range it was given.
The old revisions would stay there, untouched.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 29 2012, 5:30 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 29 Apr 2012 12:30:59 +0300
Local: Sun, Apr 29 2012 5:30 am
Subject: Re: [RavenDB] Versioning - and editing the control document

Nic,
I am unable to reproduce this on our end.
Can you please try again, this time with Fiddler open, and send us the SAZ
file?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 29 2012, 12:58 pm
From: Nic Wise <n...@fastchicken.co.nz>
Date: Sun, 29 Apr 2012 17:58:40 +0100
Local: Sun, Apr 29 2012 12:58 pm
Subject: Re: [RavenDB] Versioning - and editing the control document
I'll give it a go tomorrow. Thanks!

On Sun, Apr 29, 2012 at 10:30, Oren Eini (Ayende Rahien)

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 29 2012, 12:59 pm
From: Nic Wise <n...@fastchicken.co.nz>
Date: Sun, 29 Apr 2012 17:59:36 +0100
Local: Sun, Apr 29 2012 12:59 pm
Subject: Re: [RavenDB] Versioning - and editing the control document
Is there any way to purge old revisions then?  Or do we just loop thru
all the document, find their revisions, and remove the older ones? (ie
do it manually)

On Sun, Apr 29, 2012 at 10:18, Oren Eini (Ayende Rahien)

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 30 2012, 12:02 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Mon, 30 Apr 2012 07:02:52 +0300
Local: Mon, Apr 30 2012 12:02 am
Subject: Re: [RavenDB] Versioning - and editing the control document

You have to do this manually.
We don't consider the fact that we need to change the size that we have,
and doing the check all the time would be costly.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Wise  
View profile  
 More options Apr 30 2012, 4:51 am
From: Nic Wise <n...@fastchicken.co.nz>
Date: Mon, 30 Apr 2012 09:51:12 +0100
Local: Mon, Apr 30 2012 4:51 am
Subject: Re: [RavenDB] Versioning - and editing the control document
And, of course, now I can't reproduce it, on either server (live or
the backup one)

:(

Comments added to the ticket - feel free to close it. Sorry!

On Mon, Apr 30, 2012 at 05:02, Oren Eini (Ayende Rahien)

--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »