[08:33] i just wanted to discuss (1) blog site and (2) metamodel/master synching [08:33] though i guess we can just keep going on (1) on email [08:34] hardy_: ^^ [08:34] ahh [08:35] but we really have not had much to discuss the last few meetings [08:35] yeah, need to get some stuff [08:35] right [08:35] felt like a bit of a soliloquoy ;) [08:35] gee, does this word exist for real? [08:36] hehe [08:36] talking to oneself [08:36] right [08:36] monolog is the word I would know [08:36] ah, thats a bit diff [08:37] the audience is the diff [08:37] yourself versus others [08:37] sure, get it [08:37] ok [08:37] jupp [08:37] cool, just learned a new word [08:37] you have to remember my degree is in lit :D [08:37] :-) [08:38] <-- madhumita has left this server (Ping timeout: 244 seconds). [08:38] problem is I won't be able to remember it, because I cannot even imagine how to pronounce it :-) [08:38] you have time to chat about (2) now? [08:38] sure [08:38] i am just trying to understand the implications of the diff approaxches [08:38] regarding (1) I think it is best to be continued on the email thread [08:39] is merging really what we want? [08:39] my preference is awestruct on Openshift, but anyways [08:39] which different approaches? [08:39] well i see a few approaches [08:40] 1) merge master -> metamodel; eventually merge metamodel -> master [08:40] 1) merge master -> metamodel; eventually rebase master -> metamodel + merge -> master [08:40] grr [08:40] 2) merge master -> metamodel; eventually rebase master -> metamodel + merge -> master [08:41] 3) rebase master -> metamodel; eventually rebase master -> metamodel + merge -> master [08:41] thinking ... [08:41] i think its really a matter of (1) how we few the metamodel dev and (2) whether we intended to leverage development being sucked into metamodel from master [08:43] not sure about your (1), but my main point is (2) [08:44] I want to make sure that metamodel does not diverge too much from master [08:44] sure [08:44] but [08:44] thats not really what i mean with (2) [08:44] ohh [08:44] sorry, should have done those as (a) and (b) :) [08:44] i think its really a matter of (a) how we few the metamodel dev and (b) whether we intended to leverage development being sucked into metamodel from master [08:44] so for example.. [08:45] say we further develop multi-tenance on master [08:45] then after some integration of master -> metamodel, we leverage that new developement in some way [08:45] then logically the 2 should be handled by merge [08:46] because the really do have a "mixed develpment line" [08:47] but if instead (and this is what i think) the integration is more to make sure that we are not breaking tests added to master during metamodel tests, then that is logically a rebase imho [08:47] s/metamodel tests/metamodel dev [08:47] then the question becomes how to best achieve rebase if thats the route [08:48] so a regular rebase of the metamodel branch on top of master [08:48] that is what I meant in my email [08:48] well i think we use different language for rebasing :) [08:48] I would like to rebase the metamodel branch regularly onto master [08:48] maybe [08:48] but i think we are saying the same thing [08:49] i think of `git checkout metamodel; git rebase master` as rebasing master on to metamodel [08:49] that's what I mean as well :-) [08:49] or rebasing metamodel on top of master [08:50] ok [08:50] we all just seem to use diff lang [08:50] that's the way I say it [08:50] ok [08:51] my initially thought was that since we have not done this before we should do a merge first (and then regularly rebase) [08:51] so i will try rebase first [08:51] not sure there is an initial diff [08:51] exactly [08:52] well i mean in terms of "complexity" [08:52] I started to wonder as well [08:52] there is obviously a diff in how the timeline ends up [08:52] sure [08:52] but [08:52] if we do: [08:52] but you will have to resolve the same amount of conflicts [08:52] [08:40] 2) merge master -> metamodel; eventually rebase master -> metamodel + merge -> master [08:53] then the "regular" integration being merge or rebase is irrelevant i think [08:53] again, my concern is the timeline [08:54] if this were local on my machine, i would unequivocally (another new word? ;) be doing rebasing [08:54] is metamodel being shared really that big of a shift that we now merge? [08:54] jump another word :-) [08:55] sorry [08:55] without a doubt [08:55] not even a question [08:55] no problem. I have my favorite dictionary handy - http://dict.leo.org :-) [08:55] and I kind of guessed anyways [08:55] sweet [08:57] hardy_: my (2) option is based on my experiences with integrating pull requests that include merge commits [08:58] rebase basically strips them out and reorders those commits "to the end" [08:58] right [08:58] rebasing is in this sense much nicer [08:58] using merge for the regular integrations has another nice benefit [08:59] however, if you rebase people will need to always get the rebased branch [08:59] namely, using rebase for the regual integration causes "problems" in terms of ongoing metamodel dev [08:59] <-- smarlow has left this server (Quit: Leaving). [08:59] right [08:59] I have no problem with that [09:00] as long as the one doing the rebase gives a heads up [09:00] then I can decide to either push my outstanding changes or stash them until I get the rebased branch [09:00] so you like (2) or (3)? [09:01] just trying to make sure i understoidd [09:01] --> gbadner has joined this channel (~gbadner@c-50-132-6-30.hsd1.wa.comcast.net). [09:02] meeting bot not here anyway [09:02] 3 [09:02] ok, thanks [09:02] gbadner: we just discussing optioins for integrating master into metamodel [09:03] [08:40] 1) merge master -> metamodel; eventually merge metamodel -> master [09:03] [08:40] 2) merge master -> metamodel; eventually rebase master -> metamodel + merge -> master [09:03] [08:41] 3) rebase master -> metamodel; eventually rebase master -> metamodel + merge -> master [09:03] thinking (slowly) [09:03] np [09:03] sebersole, trying to summarize the long chat, you are proposin to do frequent merges from master into metamodel, and a single final rebase before merging metamodel in master? [09:04] sannegrinovero: well merge/rebase for the regular integrations is i think the thing to decide [09:04] but [09:04] are that 3 different alternatives ? [09:04] --> jpav has joined this channel (jpav@redhat/jboss/jpav). [09:04] i think rebase for the final integration is def the way to go [09:05] +1, and if you merge frequently from master, you would minimize conflicts [09:05] sebersole, have you tried rebasing master into metamodel? [09:05] sannegrinovero: you mean conflicts at the end? [09:05] gbadner: rebasing versus megring right now is going to be the same in terms of complexity [09:06] sebersole, yes. [09:06] sannegrinovero: well the same is true whether we rebase or merge regularly [09:07] i think really we have to look at these things: [09:07] right. I was thinking about it as a "merge frequently from master" vs. "doing nothing - just merge from metadata in the end" [09:07] [08:44] i think its really a matter of (a) how we view the metamodel dev and (b) whether we intended to leverage development being sucked into metamodel from master [09:07] sannegrinovero: sure, thats why i started using the term "integrate" :) [09:08] its merge/rebase agnostic [09:08] [08:45] say we further develop multi-tenance on master [09:08] [08:45] then after some integration of master -> metamodel, we leverage that new developement in some way [09:08] [08:45] then logically the 2 should be handled by merge [09:09] [08:46] because then we really do have a "mixed develpment line" [09:09] [08:47] but if instead (and this is what i think) the integration is more to make sure that we are not breaking tests added to master during metamodel dev, then that is logically a rebase imho [09:10] [08:54] if this were local on my machine, i would unequivocally be doing rebasing [09:10] [08:54] is metamodel being shared really that big of a shift that we now merge? [09:10] so there is a shift there [09:11] and the fact that rebasing + push is rewriting the shared history [09:11] but we all just need to be aware of that [09:11] and whoever does the rebase+push needs to communicate when that happens [09:12] so my prefer is definitely (2) or (3) [09:12] i think ultimately this should be a rebase [09:12] +1 [09:13] i *think* using rebase for the regular integrations makes that easier, but i am not for sure [09:13] i have had pretty good results of rebasing "over" merges [09:14] like that email i sent to dev awhile back about rebasing pull requests that contain merge comits [09:14] there shouldn't be much overlap in development between the 2 branch, should there? [09:15] gbadner: no, i think this is mostly an exercise to pull over any new tests [09:15] oh, ok [09:15] and make sure we are not breaking those as we develop metamodel [09:15] thats from my pov [09:15] yeah, seems rebasing makes sense [09:15] then I definitely would try with an initial rebase as well [09:15] maybe others see it diff [09:16] ok, then that is what i will try today [09:17] <-- zroubali has left this server (Quit: Konversation terminated!). [09:18] sebersole: good luck [09:18] hehe [09:18] maybe the git force be with you [09:18] lol [09:18] s/maybe/may/ [09:18] funny considering gitbu uses that star wars scene for 404 [09:19] this is not the page you are looking for [09:19] lol [09:21] [Whois] sjacobs is sjacobs@redhat/jboss/sjacobs (Steve Jacobs) [09:21] [Whois] sjacobs is a user on channels: #hibernate-dev [09:21] [Whois] sjacobs is online via niven.freenode.net (Corvallis, OR, USA). [09:21] [Whois] sjacobs has been idle for 1 hour, 38 minutes, and 28 seconds. [09:21] [Whois] sjacobs has been online since 06/07/12 07:42:45 AM. [09:21] [Whois] sjacobs is logged in as sjacobs. [09:21] [Whois] End of WHOIS list. [09:21] anything else anyone wants to discuss? [09:21] I'd avoid the intermediate rebases. [09:22] (sorry was AFK) [09:22] sannegrinovero: why? [09:22] yes it takes more coordination [09:22] well we shouldn't be afraid of using merges, they have been invented for this purpose [09:23] we kinda dislike merge commits, because up to this point they where a sign of smelly process [09:23] and they are here too [09:23] but really "smelly" just meant "different" than what we agreed to do [09:23] these 2 branches are totally isolated dev [09:23] but they seem to be *the* appropriate thing for this use case [09:23] so we should not consider them a bad thing [09:23] i disagree [09:24] why? [09:24] metamodel is being developed in isolation [09:24] since you don't rewrite history, and merge tracks exactly what happened in the same sequence people experienced the merge, it makes it more natural to understand what is happening as it closely matches the development timeline. [09:24] if there was synergy betwen the 2 branches, then ok i can see that the timelines are indeed mixed [09:25] but that is simply not the case here [09:25] sannegrinovero: thats one way to look at it sure [09:25] but thats not the way i look at it [09:25] nor does it seem hardy or gail look at it that way [09:25] did you consider that these merge commits that I'm proposing will disappear when you rebase in the end? [09:26] yep [09:26] if you scroll up i discussed that :) [09:26] ok then, I just assume that they are basically the "milestones" marked in the history - temporarily - which nicely replace the emails storm you otherwise have to generate. looks like a better tool than emails. [09:26] sannegrinovero: here is the ultimate question for me... [09:27] [09:10] [08:54] if this were local on my machine, i would unequivocally be doing rebasing [09:27] +1, agreed that's the ultimate question. [09:27] I'd suggest merges because I've seen people struggling with these rebases happening during MongoDB/OGM [09:27] so does metamodel being pushed and shared change that? [09:28] how so? [09:28] mostly because they weren't very confident with git. that's not the case here [09:28] without question there is more "danger" in using rebase for the regular integrations [09:28] exactly [09:29] merging is undeniably "easier" [09:29] and then rebasing at the end still gets use the singular timeline [09:29] like i said, i def prefer (2) or (3) [09:29] (2) is what you seem to prefer as well [09:29] ok, looks good. [09:30] I'm ok w/ 2) [09:30] gbadner: it would be easier to deal with for you and john and whoever else does work on metamodel [09:31] ok [09:31] hardy_: ? [09:31] you seemed to be cool with that from when we were talking before [09:31] I mean, I'm not against 3 either. your call, just sharing our experience. I don't think you'll get in trouble with either approach, as long as you'll all prepared for more communication and some occasional hard core git. [09:31] just trying to make sure we have a consensus [09:31] I missed the initiall numbered list apparently, but I'm totally good with the rebase for the integration. [09:32] [09:03] [08:40] 1) merge master -> metamodel; eventually merge metamodel -> master\ [09:32] [09:03] [08:40] 2) merge master -> metamodel; eventually rebase master -> metamodel + merge -> master [09:32] [09:03] [08:41] 3) rebase master -> metamodel; eventually rebase master -> metamodel + merge -> master [09:33] sebersole, are you thinking that after the initial rebase (or merge) that we would rebase master before pushing new commits? [09:33] and the end of the day (integrating metamodel back into master) (2) and (3) are the same outcome [09:33] gbadner: no [09:34] just keep rebasing metamodel [09:34] i think the master->metamodel integration should be a separate step [09:35] rebase metamodel? [09:35] we can decide on either a regular schedule for it or as-needed [09:35] gbadner: well assuming you use a local topic branch, yeah [09:35] generally you do work with `git checkout -b HHH-123 metamodel` [09:35] jira [HHH-123] Filters for subclasses [Closed (Fixed) Improvement, Major, Steve Ebersole] https://hibernate.onjira.com/browse/HHH-123 [09:35] lol [09:36] yes [09:36] then when you are done with that topic branch you need to `git rebase metamodel` [09:36] yeah, the usual [09:36] right, so [09:36] [09:34] just keep rebasing metamodel [09:36] I was just wondering if it's worthwhile to also rebase master [09:37] i'd say def not\ [09:37] hey guys/gals i need to run [09:37] i'll work on a merge then today and push that to metamodel [09:38] ok, so I assume we should hold off on new commits on metamodel [09:38] nah, continue as normal [09:38] i'll handle it [09:39] ok [09:39] dont push "just cuz" ;) [09:39] heh, ok [09:39] but if you push, i'll deal [09:39] okiedoke