[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] transactions over config

From: Tom Lord
Subject: Re: [Gnu-arch-users] transactions over config
Date: Wed, 31 Mar 2004 21:52:04 -0800 (PST)

    > From: Dustin Sallings <address@hidden>

    > On Mar 31, 2004, at 12:23, Milan Cvetkovic wrote:

    > > The question is, can I commit using one transaction acros multiple 
    > > subprojects?

    >   No.  Your subprojects may be hosted in different locations using 
    > different protocols, etc...

    >   More importantly, if you want arrange stuff into subprojects, you 
    > should treat them as independent things.  To use your example, if you 
    > make an incompatible change to a library in a configed project and 
    > update the portion of the project that uses that library, you might be 
    > tempted to commit them atomically, but you have to consider all of the 
    > other users of the library that weren't even part of that project.

    >   In that case, I think it makes sense to change the library, and then 
    > change the users of the library.

However .....

The question was about atomic commits of multi-project configurations.

Well, put the configuration itself in some arch project and then
commits to that config-containing project atomically draw a line
across the patch-level frontier of the constituent projects.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]