Show Blogger Panel Hide Blogger Panel
Alex Yakunin

March 26, 2010

New repository layout and stable nightly builds

This is important, if you're working with our Mercurial repository. New layout is described in Readme.txt located in repository root folder.

Most important change: latest stable version is in stable branch now, latest development version is in default branch. So to get the latest stable code, type:
hg pull
hg up stable
And, since this step is done, nightly builds are now always built from the stable branch - i.e. there are no any severe changes like new features, but only bugfixes, new samples and possibly, improved helpers (like DisconnectedResult, that will be improved and moved to Xtensive.Storage later).

So in short, from this moment it's much safer to use nighly builds: they are at least as stable as the latest release.

8 comments:

  1. I get latest source code of 'default' branch using 'hg pull --update' and try to build it using 'Build.bat Release' but building fails:

    ChangerAttribute.cs(20,23): error CS0012: The type 'PostSharp.Aspects.Aspect' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.
    ChangerAttribute.cs(20,23): error CS0012: The type 'PostSharp.Aspects.IAspectProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.
    Helpers\Internals\ImplementProtectedConstructorAccessorAspect.cs(15,23): error CS0012: The type 'PostSharp.Extensibility.MulticastAttribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.
    Helpers\Internals\ImplementChangeNotifierAspect.cs(21,23): error CS0012: The type 'PostSharp.Aspects.CompositionAspect' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.
    Helpers\Internals\NotifyOnChangeAspect.cs(23,23): error CS0012: The type 'PostSharp.Aspects.OnMethodBoundaryAspect' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.

    ReplyDelete
  2. That's development branch - it requires PostSharp 2.0. Type "hg up stable".

    ReplyDelete
  3. Yes i know, i want to test development branch, it is not for public? Or how can i build development branch?

    ReplyDelete
  4. No instructions for now, and this is not recommended: migration to PostSharp 2.0 isn't finished (i.e. nothing will work there).

    ReplyDelete
  5. ok thanks than i get the latest stable version.

    ReplyDelete
  6. Reading now manual, section "Getting latest DataObjects.Net code from source code repository" you should update lines with branch "stable", because if we do what is write in manual then it gets default branch (i think) which we could not get to compile because it is yours development branch, right?

    ReplyDelete
  7. Yes... This is already in my TODO.txt for Manual, but this isn't done yet...

    ReplyDelete
  8. Just to know about that, its good if you already know it :-)

    ReplyDelete