[Monotone-devel] commit and sink in same transaction

2009-03-24 Thread serg
Hi. Can I synchronize (serve, pull, ...) the repository and do commit changes 
in same transaction without data loss through software API?
Thanks.___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] commit and sink in same transaction

2009-03-24 Thread Zack Weinberg
2009/3/23 serg sergeybely...@yandex.ru:
 Hi. Can I synchronize (serve, pull, ...) the repository and do commit
 changes in same transaction without data loss through software API?
 Thanks.

No, but the question as phrased makes no sense in monotone's
framework, so I suspect you're thinking about the task the wrong way.
If you explain your larger goals we may be able to tell you how to do
what you really want.

zw


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] commit and sink in same transaction

2009-03-24 Thread Ludovic Brenta
Zack Weinberg za...@panix.com writes:
 2009/3/23 serg sergeybely...@yandex.ru:
 Hi. Can I synchronize (serve, pull, ...) the repository and do commit
 changes in same transaction without data loss through software API?
 Thanks.

 No, but the question as phrased makes no sense in monotone's
 framework, so I suspect you're thinking about the task the wrong way.
 If you explain your larger goals we may be able to tell you how to do
 what you really want.

I suspect what the OP wants is to automatically push to a remote
database every commit on the local database.  This looks possible with
the note_commit hook; see http://monotone.ca/docs/Hooks.html#Hooks

(but I don't know enough of Lua or hooks to be sure hooks can call
back into monotone to, e.g., sync).

-- 
Ludovic Brenta.


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Zbigniew Zagórski
2009/3/23 Thomas Keller m...@thomaskeller.biz:

 Hi fellows!

 A new version was released today with these changes:

  * monotone no longer bundles several required 3rd party libraries;
    this not only makes our life easier but was often requested by
    distributions.
  * monotone can now be configured to use forward deltas which speeds
    netsync servers quite a lot.
  * the speed of mtn log has been improved tremendously and new useful
    selectors became available there.
  * monotone can now export its databases into git's fast-import format
    (hey, but that doesn't mean you guys should now all switch to git ;)
  * tons of bugfixes...

Good news. Thanks, and keep up good work.

One note from me: last few versions i've builduploaded win32
installers. Now i'm out of time and resources so I don't know when i
will find spare time to build win32 version.

Please anyone take note of this and buildupload win32 installer.

Best regards,
-- 
Zbigniew Zagórski
/ software developer / geek / http://zbigg.blogspot.com /


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Thomas Keller
Phil Hannent schrieb:
 Zbigniew Zagórski wrote:
 One note from me: last few versions i've builduploaded win32
 installers. Now i'm out of time and resources so I don't know when i
 will find spare time to build win32 version.

 Please anyone take note of this and buildupload win32 installer.
 I was just seeing how much effort it would be to setup a build bot at my 
 office
 and I noticed the netxx is no longer available:
 
 A google shows this link:
 http://www.icewalkers.com/download/Netxx/1742/dld/

Yes, netxx is dead, but this is not a problem, because we still have the
original (and patched) version in tree.

IIRC Zack works on a netxx replacement using asio, but this will still
take some time, I guess.

Thomas.

-- 
GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en




signature.asc
Description: OpenPGP digital signature
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Phil Hannent
Thomas Keller wrote:
 Phil Hannent schrieb:
 Zbigniew Zagórski wrote:
 One note from me: last few versions i've builduploaded win32
 installers. Now i'm out of time and resources so I don't know when i
 will find spare time to build win32 version.

 Please anyone take note of this and buildupload win32 installer.
 I was just seeing how much effort it would be to setup a build bot at my 
 office
 and I noticed the netxx is no longer available:

 A google shows this link:
 http://www.icewalkers.com/download/Netxx/1742/dld/
 
 Yes, netxx is dead, but this is not a problem, because we still have the
 original (and patched) version in tree.
 
 IIRC Zack works on a netxx replacement using asio, but this will still
 take some time, I guess.
Ok, I see that now.

I am getting an error in txt2c.cc:
Error   2   error C2039: 'back_inserter' : is not a member of 'std'
c:\buildbot\monotone-0.43.tar\monotone-0.43\txt2c.cc19  txt2c

Any hint to a solution to this?

Regards
Phil Hannent



signature.asc
Description: OpenPGP digital signature
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Zack Weinberg
2009/3/24 Phil Hannent p...@hannent.co.uk:
 Thomas Keller wrote:

 Yes, netxx is dead, but this is not a problem, because we still have the
 original (and patched) version in tree.

 IIRC Zack works on a netxx replacement using asio, but this will still
 take some time, I guess.

(Just to confirm both of these things.  asio is now back near the top
of my list but I still can't promise any delivery date.)

 Ok, I see that now.

 I am getting an error in txt2c.cc:
 Error   2       error C2039: 'back_inserter' : is not a member of 'std'
 c:\buildbot\monotone-0.43.tar\monotone-0.43\txt2c.cc    19      txt2c

 Any hint to a solution to this?

Your compiler is probably pickier about the headers; try adding
#include iterator and/or #include algorithm
to the top of the file.

zw


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Jack Lloyd
On Mon, Mar 23, 2009 at 02:59:54AM +0100, Philipp Gr?schler wrote:
 Thomas Keller schrieb:
 A new version was released today with these changes:

 That's good news! I hope Gentoo's ebuild will catch up soon, we're still 
 creeping on 0.40 here ...

I've submitted an ebuild for 0.43 at
http://bugs.gentoo.org/show_bug.cgi?id=263626

It works for me, anyway.


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Philipp Gröschler

Jack Lloyd schrieb:

I've submitted an ebuild for 0.43 at
http://bugs.gentoo.org/show_bug.cgi?id=263626

It works for me, anyway.


Perfect, thanks! Let's see when it will hit den official portage tree. I 
downloaded the ebuild file and will test it here during the next days. 
But previously I'll have to read all the Changelogs, the network here 
still is on 0.39. Which makes me wonder, but ...


Two questions:
- Why did you mark it unstable?
- Who is currently maintaining the Monotone ebuilds on Gentoo and should 
we perhaps do this ourselves?


It's unfortunately quite common in Gentoo that packages with a smaller 
user group have a very long delay between their updates and often lack a 
few versions.



Philipp


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] [ANN] monotone 0.43 released

2009-03-24 Thread Jack Lloyd
On Tue, Mar 24, 2009 at 09:13:47PM +0100, Philipp Gr?schler wrote:

 Two questions:
 - Why did you mark it unstable?

I would personally think that, especially given mtn's excellent test
suite for detecting regressions, 0.43 is probably the most stable
version, but that is not how things work in ebuild land (at least as I
understand it) - updated ebuilds are marked as unstable by
default. (Posting PRs to bugs.gentoo.org saying version X.Y.Z worked
with emerge --info output here often can cause that particular
version to be bumped to stable for the arch in question).

 - Who is currently maintaining the Monotone ebuilds on Gentoo and should we 
 perhaps do this ourselves?

Based on the changelog and my own experiences, Daniel Black
(dragonhe...@gentoo.org) does most of the work on the monotone ebuild
on the Gentoo side. I don't think there is any one person regularly
producing new ebuild versions though - I've done a few, as have, it
appears, about 3-4 other people (http://tiny.cc/wBaKk)

-Jack


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel