/srv/irclogs.ubuntu.com/2010/10/05/#bzr.txt

spivMorning.00:25
pooliehi there spiv00:40
=== gitaxxx is now known as git__
=== frakturfreak_ is now known as frakturfreak
jeremywjam: ping02:28
pooliemaxb: hi, still here?03:07
maxbpoolie: at 3am my time? unlikely :-)07:11
pooliehi maxb07:48
pooliei wasn't sure what tz you were in07:48
pooliemaxb, oops, i also had you confused with mkanat08:14
poolievila, so, regarding releases08:39
poolieperhaps we can try to get more clear on what we desire08:39
pooliehigh on my list is not wasting time on the release process itself08:40
* vila nods08:40
pooliewhich is not to say that all release-type work is a waste; clearly it is useful, but any costs that don't gain an incremental benefit are a waste08:40
poolieand that's got two parts: wasted actual labor, and also unnecessary delay08:41
vilaagreed08:41
poolieon the other hand, we don't want to waste our users' time and attention by telling them about something that they can't actually install08:42
pooliewhich in practice means its very good for binaries for various platforms to be available when it comes out08:42
vilayup, that's why I want to change the process a bit so we can ensure we will successfully build the installers the day we announce the source freeze08:42
pooliethat would be good08:43
pooliei guess really the ideal is to _automatically_ build them as a consequence of deciding to release08:43
pooliebut that seems a bit elusive08:43
vilafor naming reasons, we can't build them *before* freezing, but we can prepare for that and avoid last minute fixes08:43
vilawe are almost there for OSX minus 10.5 machine availability08:44
vilawell, I have one, but I plan to upgrade it to 10.6 soon08:44
vilawe made some significant progress on the windows front too with more people setting up their own environment, but there are still some glitches08:45
vilathanks to maxb things are also clearer on the debian and Ubuntu fronts but still not fully automated (well as fully as possible, there will always be some manual steps08:46
vila)08:46
poolieso what broke in 2.3b1? i haven't read all my mail from the weekend08:46
vilawell, AIUI, for some users, a dll is missing and abort the installation08:47
vilaboth GaryvdM and mgz have been hammering on it but I think we still haven't a fix08:47
vilathe number of affected users is also unclear08:48
vilaI'm very tempted to *not* announce 2.3b1 (knowing that ~600 downloads have already occurred so people are testing it anyway) and focus on 2.3b208:49
vilaOR08:49
vilaannounce it with with a warning about this dll bug08:49
poolieah, this one08:50
pooliei think the second is strictly better than the first, isn't it?08:50
vila2.3b2 is planned for 2010-10-08 aka next Friday, we can change that to 2010-10-14 instead08:50
pooliethe only down side perhaps being that people may see too many announcements08:50
vilayup08:51
pooliewe should make sure we have something clear explaining the different series08:51
vilait's also why I didn't announce 2.0.6 and 2.1.3 on the assumption that the targeted population may be too small08:51
pooliemm08:52
vilawhich in turn raise the question about *how* we should package them (or not)08:52
pooliei think we should try to do SRUs for them,08:52
pooliebut only if that can be done at a reasonably low cost08:52
vilafor OSX and windows where we (collectively) package more than just bzr-core, it makes sense to focus on 2.2 and 2.3 only08:52
vilathere is bug #525571 for 2.1.308:54
ubot5Launchpad bug 525571 in bzr (Ubuntu) "No locking when updating files in ~/.bazaar (affected: 7, heat: 75)" [Undecided,New] https://launchpad.net/bugs/52557108:54
vilaand bug #582656 for 2.0.608:54
ubot5Launchpad bug 582656 in bzr (Ubuntu) "Compiled _dirstate_helpers causes crash with specified file commands (affected: 1, heat: 36)" [Undecided,New] https://launchpad.net/bugs/58265608:54
vilaI don't expect much until maverick is out08:55
vilaoh, and for 2.2.1, based on a  discussion with maxb, I'm preparing a report about test failures differences between 2.2.0, 2.2.1 and 2.2.2 (not yet released :)08:56
vilawhich I interrupted yesterday evening, but roughly 2.2.0 and 2.2.1 have the exact same failures but more tests are run for 2.2.108:58
vilaI still need to check that we have no more failures with 2.2.2 which is a bit more involved as the env is different (running from the installed version as root is required and I encounter some failures I wasn't aware of)09:00
vilaI thought we got them all..09:00
pooliebug 582656 is worth fixing in old distros09:03
ubot5Launchpad bug 582656 in bzr (Ubuntu) "Compiled _dirstate_helpers causes crash with specified file commands (affected: 1, heat: 36)" [Undecided,New] https://launchpad.net/bugs/58265609:03
poolie525571 is a bit less so, i think, because it probably only comes up with bzr-svn and that's not so hot in karmic09:04
maxbpoolie: Is there anything in 2.0.6 that's important enough to make it worth bothering with SRUing into a release that's only got 7 months to run to EOL anyway?09:05
vilapoolie: indeed, but it seems that SRUs are a more heavy process than ppas... so for Ubuntu we already have an answer which is: use our last stable, 2.209:05
vilawhich kind of converge with the OSX and windows philosophy09:05
pooliei think SRUs _ought_ to become quite lightweight09:06
pooliewith the microrelease exception etc09:06
poolieand with maxb's help too09:06
pooliefor 2.0.6 perhaps we should see if anyone actually cares to ask on the bug09:07
vilayup, I'm proposing to avoid them, just mentioning an alternative09:07
vilaeeeerk09:07
vilayup, I'm *NOT* proposing to avoid them, just mentioning an alternative09:07
poolieto avoid what?09:09
vilaSRUs09:09
poolieok09:09
vilamaxb: It would be nice if you could make a mail summary about the packaging branches status and what you think about the current process (including debian of course)09:11
poolieso perhaps for old series, which at the moment means only karmic09:11
pooliewe should just wait for someone to ask for the sru09:11
vilato trigger 2.0.7 you mean ? Or already for 2.0.6 ?09:12
pooliebut for newer ones, where we care more about pushing the update, i think SRUs are better than packaging them ourselves09:14
poolieand they should converge more09:14
pooliemaxb asked if it was worth SRUing 2.0.6 and i'm not convinced that there is09:14
vilawell, I'm convinced we can build with no test failures for 2.2 (and of course 2.3) and comply with the MRE rules, but for 2.0 and 2.1, SRUs are still needed, we can wait a couple of weeks for maverick activity to settle a bit and see what ~ubuntu-sru do09:19
pooliethat works for me09:20
pooliewith regard to the betas, i think we should stick with, and stick more closely to, the plan that we will give a limited window to build installers09:20
poolieand after that announce without them09:20
pooliebut perhaps you should post about this to the list and we can see if people object09:21
vilayup, I will do that09:21
vilaoh and we haven't bump the 2.3 API yet09:24
pooliewe should do that09:26
vilapoolie: oh, and about releasing from *trunk*, both you and jam mentioned it but it isn't described in releasing.txt (which I followed closely hence the 2.3 pqm branch)09:26
vilaso I think I understand what it means09:26
vilawhich is creating the tarball from trunk and create the pqm branch only when... when what ? First RC ? True 2.3.0 ?09:27
vilain the mean time I will probably just ask a losa to pull --overwrite the pqm branch so no harm has been done09:28
maxbooi, why do we have a release structure that requires losa intervention all the time?09:29
vilamaxb: only when we create a new series09:29
maxbit's still oddly inefficient09:29
poolieit is09:31
poolieit would be good to fix that09:31
poolieit's oddly... distrustful of developers09:31
pooliewhich might be a reasonable setup for archive builds09:31
pooliebut in this case seems strange09:31
pooliei'm glad we enforce test suite checks but i'm not sure it needs to be quite so harsh09:32
pooliewe can reconsider this when we prototype tarmac09:32
maxbCompared with, say, renaming the ~bzr-pqm user to ~bzr-pqm-daemon, creating a ~bzr-pqm team, renaming the branches back, and adding the ~bzr-pqm-daemon and trusted devs to ~bzr-pqm09:32
pooliemm09:32
pooliei don't think that will be quite enough09:32
vilamaxb: that won't give us access to the pqm instance09:32
pooliebecause pqm itself needs to be told about the new branches09:33
maxboh, I see09:33
pooliebut that's just kind of a bug in pqm, which tarmac may either fix or make tractable09:33
lxsameer_hi does bazaar allow to clone just a subdirectory under the main repo , and not the whole repo10:59
jelmersidnei: Nice blog post, interesting read!11:19
jelmerlxsameer_: no, it doesn't support partial checkouts.11:20
jelmerlxsameer_: there are some design docs about it but it hasn't yet been implemented.11:20
lxsameer_jelmer, is it a DVCS that can do this ?11:20
jelmerlxsameer_: none of the bigger ones can11:20
lxsameer_jelmer, :( thanks11:21
Kamping_Kaiserjelmer: you can do lightweight but not partial, is that correct?11:22
jelmerKamping_Kaiser: yep11:23
Kamping_Kaiserjelmer: thanks for confirming :)11:25
uffiolehi. Is it fine to rename the main project folder ?11:59
Glenjaminuffiole: generally, yes12:34
Glenjaminalthough you might get related branches trying to point to it, which obviously wont work anymore12:34
Glenjaminis there any way to undo an update?12:43
uffioleok thx , found out it works13:00
uffiolecu13:00
vilaGlenjamin: It depends on whether you had uncommitted changes or not13:11
vilabefore doing the update13:11
codingrobothow can i go back to a revision nummber X? bzr update -r X and bzr revert -r X doesn't seem to do the job. bzr revno shows the latest rev. number14:05
GaryvdMcodingrobot: update changes the basis tree, so it will show in qlog (not sure how to see this with cli)14:08
GaryvdMcodingrobot: revert leaves the basis tree, so bzr status shows what changes it has made.14:09
codingrobotwhat?! i just want to get rid of the changes made in the previous 2 commits14:11
GaryvdMcodingrobot: bzr revert -r -3 ; bzr commit -m "Revert xxxx"14:12
codingrobotand what is with bzr revno? should i ignore the output?14:14
GaryvdMcodingrobot:  the revno will only increment after you commit.14:15
codingrobotok14:16
GaryvdMrevert -r X does not commit the revert, it only modifies  the working tree.14:17
codingrobotyes, thats how every other scm tool does it, but the revision nr. gets reverted too. thats what confused me a bit.14:18
jamjeremyw: morning14:52
jamhi vila14:52
jamjames_w: if you're around, I'd be happy to chat about the merge stuff. I'm writing up another email. It looks like you are inherently criss-cross by the nature of what has happened15:14
james_whi jam15:15
james_wthat's quite possible15:15
jamjames_w: just sent15:17
jamlet me know when you get it, since I'd like to chat and refer to those graphs15:17
maxbjames_w: Quick question for you: what do you think about an option for udd import-scripts which downloads source packages into a persistent BASE_DIR/downloads/PACKAGENAME/ instead of the transient BASE_DIR/updates/PACKAGENAME/ directory? It would be helpful for people testing on less-than-amazing internet connections.15:24
james_wjam: read it15:25
james_wmaxb: I would be fine with that15:25
jamjames_w: so, the next step that I can think of, is trying to figure out if we can fake a common base.15:25
maxbGreat, MP will follow this evening, then15:26
james_wmaxb: great, thanks15:26
james_wmaxb: and I'll review your others today, sorry for the delay15:26
james_wjam: the "fake" you can do to get to the ideal case you refer to in the email is what we are currently doing as I understand it15:26
jamjames_w: not from what you've said earlier, the issue is that the 3.0-1 import needs to be based on the fake 2.1-1 import15:27
maxbjames_w: No problem, you've amazed me by reviewing part of my initial batch before I'd finished submitting all of them :-)15:28
james_wheh15:28
james_wjam: in these cases we don't have A-B-C, or at least those cases weren't the terrible behaviours that led me to this originally15:29
james_wwe have B and C as two descendants of A, and the first thing we do is create a new revision that has B and C as parents, and the contents of whichever is later15:30
jamsure15:30
jambut I'm missing the other bits15:30
gmpffHi.15:32
gmpffI'm struggling with a corrupted bzr repo. Any suggestions for where I start reading ?15:32
gmpffMD5 hashes of one of the pack don't match.15:32
gmpffs/pack/pack files/15:32
james_wjam: thanks for your analysis though, it's pretty clear that we can never have a simple merge now15:33
jamjames_w: an open question is whether we can get convergence after another merge15:34
james_wjam: my immediate concern was getting rid of the "you're in an intermediate state, and you have conflicts you need to resolve, but I can't really tell you where they came from, and I might ask you to solve the same ones again in a minute"15:34
jamhonestly, --weave or a per-file 3-way merge would probably handle the "ask you to solve them again in a minute"15:34
jambut "where they came from" ?15:34
jamhow does that occur15:34
james_wbecause that's a terrible user experience, but if doing the merge the other way leads to "worse" conflicts in the end then that might not be the best idea15:35
james_wit's more just a phrasing thing in the UI15:35
james_wit currently says: ('The upstream branches for the merge source and target have '15:36
james_w            'diverged. Unfortunately, the attempt to fix this problem '15:36
james_w            'resulted in conflicts. Please resolve these, commit and '15:36
james_w            're-run the "merge-package" command to finish. '15:36
james_w            'Alternatively, until you commit you can use "bzr revert" to '15:36
james_w            'restore the state of the unmerged branch.')15:36
jamwell, it may give you more *honest* conflicts15:38
jamwhich is a whole lot better than artificial ones15:39
james_wyeah15:41
james_wthe main issue is that resolving twice is outside the normal workflow, so it's not comfortable for people, and we describe the problem really badly which doesn't help15:42
james_wthe second issue is that you can end up having to resolve the same conflicts when you do the final merge as you just resolved in that intermediate step, which is frustrating, and leaves people feeling that they did something wrong15:43
jamjames_w: I honestly wonder if you wouldn't find a big advantage to supporting "--weave" as the merge type15:59
james_wjam: I'm trying to find an example so we can have a go16:00
Glenjaminvila: yeah, it did.16:05
GlenjaminI did bzr up, then got conflicts, and wanted to reverse that action16:05
=== deryck is now known as deryck[lunch]
jeremywjam: So I've created a very simple repository browser for bzr.  It's stupid fast, even without throwing bzr-history-db at it.16:31
GaryvdMjeremyw: May we see it? How does it differ from loggerhead?16:55
=== deryck[lunch] is now known as deryck
jamjeremyw: good to hear, congrats16:56
* GaryvdM waves at jam.16:57
jeremywI'm not trying to compete with loggerhead, and the UI is really minimal right now.  I'm writing a tool that needs a VCS agnostic repository browser so I'm writing one.16:58
jeremywLet me get you a screenshot.16:58
=== samgee__ is now known as samgee
jeremywhttp://i56.tinypic.com/20urgap.png17:15
jeremywThat's the root view of the bzr.dev branch.17:15
jeremywVery minimal but it does work.  Clicking a file shows contents while clicking a dir drills into that dir.  You can even specify a revno to browse a particular revision.17:16
jeremywIt was done in a few hours so there isn't much effort into it.17:16
GaryvdMThat's cool.17:17
jeremywEventually, you'd have a nicer UI and more features but for now, I'm going simple to flesh out my ideas.17:17
GaryvdMClicking on NEWS probably works, unlike loggerhead..  (/me ducks and runs....)17:18
jeremywIt's like a frickin' rabbit hole though man.  You get something working and you realize the N things that need to be fixed/added.17:19
jeremywSingle person teams suck.17:19
GaryvdMYhea - I known the feeling.17:20
GaryvdMWould it not be possible to reuse bits of loggerhead?17:21
jeremywMaybe but the idea is to have a VCS agnostic repository browser.17:24
maxbI have difficulty believing that such a thing is the right way to go. Different VCSes have different peculiarities which need browsing differently17:28
jeremywI can see the concern but my plan isn't to have the most feature-rich repository browser, although I'm not sure why I couldn't.  It's about providing a common UI and common features across different VCSes where applicable.17:30
jelmermaxb: well, loggerhead works against svn, hg and git too :-)17:30
jeremywI didnt' know that.17:30
jeremywHmm...17:30
jeremywAnd the real driver behind this is that the repository browser is only a small feature in the overall application.17:31
jeremywWe'll see.17:31
jelmerjeremyw: if it's blazingly fast then that's a big benefit over loggerhead though :-)17:31
jeremywThis really is fast, but I'm not doing as much as loggerhead just yet.  I mean, this is the first working piece.  haha17:32
jeremywI think the speed right now is in the simplicity.17:33
jelmerI don't think loggerhead can really justify its overhead though, it's not that advanced.17:34
jelmerjeremyw: oh, I should clarify. loggerhead supports git, hg and svn because bzrlib does; it doesn't really have support for anything than bzrlib itself.17:39
jeremywjelmer: I got you.  Thanks for the clarification.  :)17:39
=== zyga is now known as zyga-afk
=== samgee_ is now known as samgee
jamjames_w: thanks for the brltty link, though looking at it, it just seems like a regular conflicts to me. Specifically, ubuntu was at 4.0-8ubuntu1, but debian had a 4.0-9 before the 4.1-1 stuff. (though 4.0-9 looks a whole lot like the 4.0-8ubuntu1 changes +/- some stuff which is what causes the conflicts)18:46
james_wright, but you saw the extra step of resolving conflicts?18:48
jamI did see that merge-package dumps out with a conflict of some sort18:48
jamis it meant that "upstream tags are new, and upgrading the upstream causes conflicts" ?18:48
jamin this case, though, why did it need to do the extra merging upstream step?18:49
jamupstream-4.0 is the direct parent of upstream-4.118:49
james_wtake a look at the revision graph, it's more complex than that18:50
james_wthe "pristine" branches of the Debian and Ubuntu are diverged18:50
jamok, I see that now. but what is "import upstream version 4.0" if not "tag:upstream-4.0"18:51
jamor put another way18:51
jamwhy is there a "Import upstream version 4.0" which *isn't* the upstream-4.0 tag, but the "upstream-4.1" tag is based upon *it* and not "upstream-4.0" ?18:51
jamthough I note that there are *tons* of differences between "Import upstream version 4.0" and what is tagged "upstream-4.0"18:52
james_wthere are two "import upstream version 4.0" revisions, one of which has a slightly misleading commit message, as it isn't really an import, but a "merge" of the existing import in the other distro18:52
jamso the one that is tagged is the merge of the existing import?18:53
jam(as far as UI goes, why not just tell the user the tags involved? 'upstream-4.1 conflicted while merging into upstream-4.0', please try to resolve), however even once resolved, how is that communicated to future code?18:54
jam(or maybe it doesn't as I do see 2 "Prepared upstream tree for merging into target branch" messages)18:56
=== zyga-afk is now known as zyga
bialixC-S: ping20:15
bialixhmmm, I'm not really sure is it bug? with bzr 2.2.0: `bzr branch lp:bzr-explorer-website` sets parent branch as: bzr+ssh://bazaar.launchpad.net/%2Bbranch/bzr-explorer-website/20:25
bialixat least it weird20:25
maxbbialix: It is a recent change in Launchpad20:30
maxbNow, the SSH server is capable of resolving shortcut lp urls directly20:31
maxbWith the goal of making the initial xml-rpc lookup unnecessary20:31
bialixok, but bzr shows me this ugly %2B in URL20:31
maxb*shrug*, that's URL-encoding for you20:32
bialixI know, but it's weird anyway20:32
maxbperhaps ugly, but not weird20:33
bialixno, it's weird because there is bug somewhere20:33
bialixif I do `bzr branch lp:~bzr/bzr-explorer-website/trunk` then I end up wth parent branch: bzr+ssh://bazaar.launchpad.net/~bzr/bzr-explorer-website/trunk/20:34
bialixno %2B!20:34
GaryvdMHi bialix.20:34
bialixheya Gary!20:34
bialixwill poolie be around today/tomorrow (depending on TZ)20:36
MethsIs the website correct that 2.2.1 is the current stable release?20:36
bialix?20:36
bialixMeths: yes20:36
MethsOkay, thanks.  (It's not in /topic.)20:37
bialixMeths: hmmm, yes. jam missed it20:37
=== GaryvdM changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | Release Manager: vila | bzr-2.0.6, 2.1.3, 2.2.1 and 2.3b1 are official | work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/
bialixGaryvdM: it will be nice to review and land qdiff related patches20:38
GaryvdMbialix: Yes - sorry20:38
bialixGaryvdM: if you will look on them, then https://code.launchpad.net/~dorins/qbzr/qdiff-changes/+merge/34710 should be first; and https://code.launchpad.net/~s-dumbie/qbzr/ench_qdiff/+merge/33986 after that20:39
GaryvdMI've got a branch that I've been working for 2 months that I really want land. Soon hopefully.20:41
bialixlogrefactoring?20:41
GaryvdMyip20:41
GaryvdMbialix: what do you think about this: http://www.youtube.com/watch?v=tMdE4GmFaDQ ?20:45
GaryvdMfrom a separate branch20:45
GaryvdMlog refactor landed. :-)20:48
GaryvdMI hope to use that selection behaviour to fix bug 41203520:51
ubot5Launchpad bug 412035 in QBzr "qlog: Add ui to select parent to diff with. (affected: 1, heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/41203520:51
bialixGaryvdM: I'm not sure what you asking about that clip on youtube. either you gave ne a wrong link or I've lost my patience to see that asian boy after 1st minute20:53
GaryvdMbialix: the asian boy is you tube's dumb suggestions20:55
GaryvdMbialix: If you drag a selection, it only selects revisions that are ansestors of the top revision.20:56
bialixin qlog?20:56
GaryvdMYes20:56
GaryvdMChanges made by revisions that are not ancestors of the top revision don't show in the diff, so I think it is more accurate.20:58
bialixI was looking at lp:~dorins/qbzr/qdiff-changes20:58
bialixit's pretty nice20:58
* GaryvdM looks.20:58
bialixGaryvdM: once I've used keyboard arrows on your qlog in trunk I've got traceback21:00
bialixalso you made bug labels dark red, why?21:00
bialixGaryvdM: http://paste.ubuntu.com/506749/21:01
GaryvdMI did not think I had changed the bug labels21:02
bialixI think I've pressed right arrow and want to expand merge21:02
bialixGaryvdM: maybe you don't but the text on the labels now black, it used to be white21:03
GaryvdMbialix: ok I'll take a look.21:03
GaryvdMbialix: Please could you check if bug 534963 still exists?21:04
ubot5Launchpad bug 534963 in QBzr "qlog on shared repo: wrong twisty? (affected: 1, heat: 0)" [Medium,Confirmed] https://launchpad.net/bugs/53496321:04
bialixGaryvdM: re labels http://imagebin.ca/view/xaoMUEv.html21:05
GaryvdMbialix: One thing I hope you will like is test_loggraphviz.py21:07
bialixGaryvdM: re bug 534963: I don't have that tree around atm21:08
ubot5Launchpad bug 534963 in QBzr "qlog on shared repo: wrong twisty? (affected: 1, heat: 0)" [Medium,Confirmed] https://launchpad.net/bugs/53496321:08
bialixmaybe it at another computer, I'll check tomorrow21:08
GaryvdMOk, thanks21:08
bialixvila should be happy about test_loggraphviz.py21:12
bialixyour ascii graphs are funny21:12
GaryvdMbialix: keyboard nav bug fixed, and I think I've fixed the label color.21:21
* bialix is pulling21:22
bialixGaryvdM: yes, now it's better21:24
bialixGaryvdM: but I'm not sure what do you mean about dragging21:24
GaryvdMbialix: the stuff from the vid not landed yet.21:25
bialixok21:26
GaryvdMI think I pushed to lp. /me checks21:26
GaryvdMlp:~garyvdm/qbzr/log_select21:28
=== zyga is now known as zyga-gone
GaryvdMHay, did they upgrade the mysql branches.21:33
=== frakturfreak_ is now known as frakturfreak
* GaryvdM pulls out the sketches made together with bialix at uds for qdiff.22:01
GaryvdMI should try scan them.22:01
GaryvdMbla - no one we be able to read my handwriting. - Ill draw it in mockups.22:03
=== samgee_ is now known as samgee
sven_oostenbrinkI have a bzr crash on a bunch of files in ./.bzr/repository/indices/ being empty (0 bytes).. Can I remove those files and try again?22:16
sven_oostenbrinkSince these are indices. I suppose they can be recreated again?22:16
sven_oostenbrinkI cant do anything with this repo anymore and I have a crapload of commits ready to push.. :( Anybody who might be able to help out?22:24
maxbsven_oostenbrink: Last time someone asked this, the response was uncertainty whether they could actually be recreated, and a definite assertion that no code exists to do so22:24
sven_oostenbrinkmaxb: as in, Im screwed...22:25
sven_oostenbrinkBesides that, what could be the reason for those files to be empty? I already submitted a crash report, but this is bad for me :(22:26
maxbFilesystem corruption, perhaps?22:27
sven_oostenbrinkmaxb: besides an fsck, the filesystem should be 100% ok,22:28
maxbI suggest posting to the Bazaar mailing list, to get people more expert than me involved22:29
sven_oostenbrinkmaxb: okay, thanks anyway!22:32
lifelesssven_oostenbrink: did you have a system crash?22:39
lifelesspower failure? removed a hotplug drive without flushing?22:40
sven_oostenbrinklifeless: mmmmmm, thinking about it.. my laptop froze about... 45 minutes ago.. happens every day these days, some hardware failure I need to look into... mmmmmmm...22:40
lifelessthats the problem22:40
sven_oostenbrinkbut even so, AFAIK, bzr wasnt busy, and AFAIK, kernel should flush on a 5 seconds interval, no?22:41
lifelessyou had file content in your OS buffer22:41
lifelesssven_oostenbrink: depends on the file system22:41
sven_oostenbrinklifeless: even so, there is no way to repair that?22:41
lifelesssven_oostenbrink: and mount options etc. what file system?22:41
* lifeless bets on ect422:41
sven_oostenbrinklifeless: bingo... why betting on ext4?22:41
lifelesssven_oostenbrink: because its very agressive about not writing to disk.22:42
lifelessduring development of it there was a -huge- discussion about this; it was breaking kde and gnome configs in this exact way, *all* the time.22:43
lifelesssven_oostenbrink: I suggest mailing the list as maxb suggested; you may be lucky and be recoverable.22:43
sven_oostenbrinklifeless: I guess thats the reason why chromium isnt storing my open pages either after a crash?22:43
lifelesssven_oostenbrink: after a machine crash? yes.22:43
maxbsven_oostenbrink: This repository - is it public or private code?22:44
sven_oostenbrinklifeless: Meh, the WT is still okay, Im creating a new branch, copying the old WT there, and recommitting.. its a bitch, but I can recover..22:44
lifelesssven_oostenbrink: basically ext4 isn't serialising file system operations for different files from the same process.22:44
sven_oostenbrinkmaxb: this specific one is public22:44
lifelesssven_oostenbrink: application authors then have a choice:22:44
sven_oostenbrinklifeless: not serializing as in writing out of sequence?22:45
lifelessyeah22:45
lifelessthe file is 0 bytes long because the rename operation of a tmp file got flushed22:45
maxbwell then, if you provide a tarball of the broken stuff, someone might be willing to poke at it and see if it is reparable22:45
lifelessbut the file content didn't get flushed.22:45
sven_oostenbrinkmaxb: Not really needed I guess, Im already recommitting.. I had quite a few non-pushed commits, but thats life :) code is still preserved so22:46
sven_oostenbrinklifeless: that sounds kind of like cra... No way to work aroud that?22:47
lifelesssven_oostenbrink: if the pack got flushed, we -may- be able to recreate the index with enough effort, but if the pack didn't get flushed, we're boned.22:48
lifelesssven_oostenbrink: we could fsync at every little step, but fsync is the wrong hammer (we don't care about temp files being flushed, we care about a barrier approach - we want all ops before X to complete, then we have a small number of critical ops we could fsync on, and then we don't care after that.22:49
lifelessbut user space barriers were slammed on lkml, so :(22:49
lifelessoh, and fsyncing will destroy performance on ext322:50
sven_oostenbrinklifeless: well, again, no biggie.. I mean, having to re-commit this much isnt fun, plus I had multiple commits for single files, so now those multiple commits become one.. its not a huge deal, just an anoyance, Im working on fixing it now22:50
lifelesssven_oostenbrink: if you're having regular crashes, I suggest lots of backups :(22:50
sven_oostenbrinklifeless: well, its becomming regular on this @#$*( laptop... I need a new one22:51
peitschiehi all :)23:01
mkanatlifeless: The proxy that does load-balancing on launchpad server processes, can it be dropped in front of loggerhead without any changes to it?23:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!