/srv/irclogs.ubuntu.com/2012/07/13/#launchpad-yellow.txt

gary_posterbenji, some small conflicts in https://code.launchpad.net/~benji/lpsetup/bug-1023519-store-version-information/+merge/11473611:58
benjigary_poster: thanks; looking12:00
gary_posterwelcome12:01
benjigary_poster: fixed and pushed12:03
bachi gary_poster12:03
baci re-ran lxc-install last night and it failed on make schema.  looks like it is trying to do that in the wrong directory12:04
benjiyou know, Launchpad really should email you when an MP has a conflict12:06
gary_posterbac ok12:12
gary_posterbac benji frankban http://tinyurl.com/yellowsquad12:12
gary_posterhttp://codesinger.blogspot.com/2012/07/yellow-squad-weekly-topics-july-6.html13:02
bacbenji: done14:44
benjibac: thanks14:45
benjibac: I responded tou your (excellet) review https://code.launchpad.net/~benji/lpsetup/bug-1023519-store-version-information/+merge/114736/comments/24689115:15
benjiif all that sounds good I will go ahead and mark the MP as approved15:16
bacbenji: sounds good.  thanks.15:18
bacgary_poster:  i got my branch to work and have created a new branch and MP:  https://code.launchpad.net/~bac/lpsetup/fix-inithost-install-lxc-deux/+merge/11489616:03
gary_posterbac, reviewing16:04
gary_posterbac fully approved (vote and status)16:07
bacthanks gary_poster16:14
* bac -> BLT16:14
frankbangary_poster: unfortunately I can not create a fake repository under /tmp/, because then init-repo complains about repository not being inside my home directory.16:23
frankbangary_poster: I can think about 2 solutions: 1) create the repository inside a temporary dir in the home or 2) this is an integration test that must be run using juju16:24
gary_posterfrankban, as to #2, we want it part of the integration juju tests anyway (also, I guess?  I thought you were working on an integration test)16:25
gary_posterfrankban, but as to 1, yeah, why not?16:25
gary_posterfrankban, you can pass dir to tempfile functions, looks like16:26
frankbangary_poster: yes16:26
frankbangary_poster: what I'd like to do is:16:26
frankban1. create a fake source repository using a template (as we discussed) under /tmp/16:26
frankban2. test init-repo passing --source [fake source] with and without --checkout16:27
frankban3. check the command does not raise errors16:27
frankban4. check for the fake file to be correctly present in the checkout (or in the branch if --no-checkout is passed)16:28
frankban5. destroy the source, destroy the target, done.16:28
gary_posterfrankban, sounds great, except make step 1 work with source in ~/[tempdir] (or checkout/[tempdir]?), right?16:29
frankban(the fake file is just one test file added and committed to the source16:29
gary_posterfrankban, please as I said on call, eventually I want fake repo to have more contents16:30
frankbangary_poster: the source file can be in /tmp/, it can be everywhere, the repository to create must be under ~16:30
gary_posterfrankban, oh, right.16:30
gary_postermy sentence "please as I said on call," was edited badly.  just meant "as I said on call"16:31
frankbangary_poster: yes, we can reuse the fake source for integration tests in the future16:31
gary_postergreat16:31
frankbangary_poster: so, for this unit tests, i am going to create a temp repository in the home, right?16:32
gary_posterfrankban, right.  To be ore specific, you are going to use tempdir to create a tempdir in ~; then you will make repo in ~/[tempdir], right?16:33
gary_posters/ore/more/16:33
frankbangary_poster: yes, repository will be something like tempfile.mktemp(dir='~')16:35
gary_posterfrankban, perfect16:36
frankbangary_poster: for the lpsetup package, it's near my EOD and I will try to add these changes to my branch, so...16:37
* gary_poster listens16:38
frankbangary_poster: I don't think I can take care of that16:41
gary_posterfrankban, sure, of course!  would you like to pass it off to someone else, or save it for Monday, or pass it off to someone else, and in case they don't finish it you'll do it on Monday? :-)16:42
frankbangary_poster: I meant I can not take care of building a new lpsetup package, I can do that on Monday, or I pass it off if you need the new package today16:45
gary_posterfrankban, oh duh, sorry16:46
gary_posterfrankban, cool, thanks for letting me know16:46
gary_posterI didn't read carefully enough and missed the transition16:46
frankbangary_poster: cool, np17:09
bacgary_poster, benji: regarding versioning, it seems we need to keep track of 1) contents of deleted files, 2) names of modified files, and 3) names of added files on a per-version basis.  when the version changes we can 1) restore the deleted files, 2) unmodify the ones we changed if we put fences around beginning and end of our changes, 3) remove the added files.19:48
bacwe cannot restore modified files to the original since the dev or system could've made other changes in the meantime.  perhaps this is obvious and you've already noted it.19:49
gary_posterbac, agreed.  benji, we had a list of four items on a google doc.  do you still have that hanging around?19:49
gary_posterfour things that we thought we ought to save19:50
gary_posterprobably can find19:50
benjigary_poster: yep, one sec19:50
benjibac, they are in this bug: https://bugs.launchpad.net/lpsetup/+bug/102351919:50
_mup_Bug #1023519: Store version information <lpsetup:In Progress by benji> < https://launchpad.net/bugs/1023519 >19:51
baci read that bug this morning but it doesn't state explicitly what i was thinking above19:51
gary_posterbac, true.  what you wrote has thought through some of the points more thoroughly.19:53
gary_posterbac, perhaps it would be worthwhile to add that as a comment to the bug, or to update the description.  Beyond that...19:53
bacsure19:53
gary_posterbac, I was trying to think if I could see a card that ought to be made from that, but I don't see one--unless we don't add the footers yet?19:55
bacwe do not add footers19:55
gary_posterif we don't add the footer "fence" that would be worth a card19:55
gary_poster+1 for card then, bac.  Thank you.19:56

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