+1<div><br></div><div>Milian, if you're not around or busy, I can go with the release myself.</div><div><br></div><div>Aleix<br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 10:31 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jun 22, 2012 at 9:48 PM, Nicolás Alvarez <span dir="ltr"><<a href="mailto:nicolas.alvarez@gmail.com" target="_blank">nicolas.alvarez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/6/22 Nicolás Alvarez <<a href="mailto:nicolas.alvarez@gmail.com" target="_blank">nicolas.alvarez@gmail.com</a>>:<br>
<div><div>> 2012/6/10 Milian Wolff <<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>>:<br>
>> On Sunday 10 June 2012 17:39:25 Andreas Pakulat wrote:<br>
>>> Hi,<br>
>>><br>
>>> On Sun, Jun 10, 2012 at 10:17 AM, Andreas Pakulat <<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > On Sun, Jun 10, 2012 at 1:20 AM, Friedrich W. H. Kossebau <<br>
>>> ><br>
>>> > <a href="mailto:kossebau@kde.org" target="_blank">kossebau@kde.org</a>> wrote:<br>
>>> >> Hi,<br>
>>> >><br>
>>> >> after lot of month I tried to build the current 4.3 branch (on commit<br>
>>> >> 5c288e2014c043593f8c6385b2aefb221615a652) and I am hitting a build<br>
>>> >> problem in<br>
>>> >> kdevelop/languages/cpp/cpplanguagesupport.cpp (see attached log for full<br>
>>> >> output). Any idea what is wrong for me?<br>
>>> >><br>
>>> >> Yes, deleted any 4.3 branch I had locally. But refetching did not improve<br>
>>> >> things.<br>
>>> >><br>
>>> >> The looking at the stuff on the central repo like<br>
>>> >><br>
>>> >> <a href="https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/" target="_blank">https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/</a><br>
>>> >> revisions/4.3/entry/CMakeLists.txt I wonder about the KDEVELOP_VERSION,<br>
>>> >> does not look correct. The needed KDevPlatform version 1.3.60 also looks<br>
>>> >> strange.<br>
>>> ><br>
>>> > Can't look at this right now due to the <a href="http://identity.kde.org" target="_blank">identity.kde.org</a> downtime, my<br>
>>> > local checkout from May 12th, however still shows a separate 4.3 head. So<br>
>>> > if there is a problem it was introduced only recently.<br>
>>><br>
>>> Hmm, seems like someone did a reset at some point, I can see this in the<br>
>>> history:<br>
>>><br>
>>> The last commit into the original 4.3 branch following the v4.3.1 tag<br>
>>> (which was still ok) is:<br>
>>> 6b95b832d72696df0278ac7b9d290c96b798ef07<br>
>>><br>
>>> That follows a merge of 4.3, probably into master. And then next there are<br>
>>> a few scripty commits (1e692b9d495d9bfd3af54f2769d4c764e7e197d7 and<br>
>>> following) and then milian<br>
>>> comitted based on that last scripty commit again<br>
>>> (86f4848f9f6324540c0ca9c70dfd81ff0e6b1cfc) . There's been a few more<br>
>>> commits and ultimately this branch leads to the current 4.3 tip<br>
>>> (5c288e2014c043593f8c6385b2aefb221615a652).<br>
>>><br>
>>> So I guess 4.3 needs to be reset<br>
>>> to 6b95b832d72696df0278ac7b9d290c96b798ef07 and then each of the following<br>
>>> commits on the wrong 4.3 branch need to be cherry-picked, except for the<br>
>>> scripty-ones (those will just be done again by scripty on its next run).<br>
>>><br>
>>> I'm cc'ing milian explicitly to make him aware of this.<br>
>><br>
>> Hey, thanks for the notification.<br>
>><br>
>> Can anyone look into this? PovAddict?<br>
><br>
> This seems to be partly my fault. I'm still investigating what exactly<br>
> went wrong.<br>
><br>
> Fixing it looks tricky, because many commits were done on top of the<br>
> bad merge, and the 4.3 branch was merged into other branches. If I fix<br>
> only 4.3, many commits will be duplicated (once in the fixed 4.3<br>
> branch, and again in the non-fixed 4.3 as merged in the other<br>
> branches)...<br>
<br>
</div></div>After looking at the server logs, here's the whole story:<br>
<br>
- The 4.3 branch was at fd5ea0 (which is coincidentally the commit<br>
tagged as v4.3.1).<br>
<br>
- Milian accidentally pushed 5799ab ("Fix gcc include-path…") into<br>
both master and 4.3, despite being created over master history. The<br>
server allowed this with no errors, because 4.3 had been merged into<br>
master recently, so this was a proper descendant of the previous 4.3<br>
branch state (otherwise it would have needed a force-push). This is<br>
similar to when Aleix accidentally merged master into 4.3 rather than<br>
the other way around.<br>
<br>
- I force-pushed to undo this push and reset 4.3 back to fd5ea0. Repo<br>
is now fixed.<br>
<br>
- Milian pushed 6b95b8 into 4.3. This was a proper cherry-pick of<br>
5799ab over 4.3 history. Repo is still OK.<br>
<br>
- However, Scripty had already fetched the repository between Milian<br>
mis-pushing and me fixing it. So on its next run, with its local<br>
branch pointing at 5799ab, it pulled from 4.3, merging 6b95b8 onto<br>
5799ab, doing its translation-update commit on top, and pushing to<br>
4.3. This essentially re-introduced the bad commit (5799ab), and the<br>
master history attached to it, into 4.3.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Don't worry if you can't follow this part, the important thing is that<br>
scripty re-pushed the bad commit I had removed.<br>
<br>
- Scripty did a few more translation commits on top of the current<br>
mess, reaching 60f2e5.<br>
<br>
- I was notified of the problem with scripty, and reset the 4.3 branch<br>
to 725213. *This is what went wrong*. I should have reset the branch<br>
to fd5ea0 again instead. 725213 was a merge from 4.3 to master, pushed<br>
into master, supposed to be only in master. I don't know if I<br>
misunderstood the problem, the history graph, or if I simply<br>
copy-pasted the wrong thing.<br>
<br>
Since then, there have been 25 commits (11 of them from scripty)<br>
pushed into 4.3, on top of 725213. In addition, 4.3 was merged into<br>
master a few times, and master was also merged into the 'unittest' and<br>
'file-templates' feature branches.<br>
<br>
I can fix this by rebasing the 25 commits done after 725213 on top of<br>
fd5ea0 instead. The problem is that due to the above-mentioned merges,<br>
the commits in 725213..4.3 are also present in master, unittest, and<br>
file-templates. I would have to rewrite all four branches... Fixing<br>
4.3 alone would mean the full history would have duplicated commits,<br>
and as soon as 4.3 is merged into master (which is supposed to happen<br>
regularly), the log of master alone would show those duplicated<br>
commits.<br>
<br>
However, rebasing four public branches including master is obviously<br>
problematic... Anyone who cloned or pulled since April(!) would be<br>
"affected". Plus <a href="https://github.com/Gnurou/kdevelop" target="_blank">https://github.com/Gnurou/kdevelop</a> which would need<br>
rebasing on top of the new master too.<br>
<br>
Suggestions, questions, sighs, finger-pointing welcome.<br></blockquote><div><br></div></div></div><div>Hmm, I'd say reset 4.3 to the v4.3.1 tag and close it for further commits. Release 4.4.0 asap from master. Anything else will be a royal pita for every users thats not just pulling branches from the repository.</div>
<div><br></div><div>As far as I understood the history would then look as if someone started a local branch on v4.3.1 and did some commits and finally merged his branch into master instead of back to 4.3 and others started from that point in master. Just that 'someone' were actually multiple people and scripty and the branch wasn't quite so local :|</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Andreas</div></font></span></div>
<br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br></div>