IRC logs for #baserock for Monday, 2014-12-15

*** fay_ [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 240 seconds]00:12
*** fay [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock00:20
fay is now known as Guest4847500:20
*** cosm [~Unknown@host-80-41-248-255.as13285.net] has joined #baserock00:35
radiofreepersia: i don't think baserock has to worry about that for now00:43
radiofreedespite the blurb it's not that good at keeping up with upstream00:43
radiofreeit's more important to upgrade our gcc then it is to upgrade python?00:43
ratmicefwiw gcc's libstdc++ pretty printers appear to have been updated to work with python3 :)02:02
*** Guest48475 [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 258 seconds]02:43
*** Guest48475 [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock02:44
*** zoli_ [~zoli_@0x5e91887a.adsl.cybercity.dk] has joined #baserock06:58
*** zoli_ [~zoli_@0x5e91887a.adsl.cybercity.dk] has quit [Changing host]06:58
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock06:58
*** mike [~mike@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock07:12
mike is now known as Guest846207:12
*** wdutch [~william@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock08:01
*** rdale [~quassel@197.Red-2-137-105.dynamicIP.rima-tde.net] has joined #baserock08:14
persia radiofree: My thought is that we ought upgrade things in a sensible way when they are upgraded.  That not enough things are upgraded is also worthy of attention :)  Newer gcc would be lovely.08:17
*** Guest48475 [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 255 seconds]08:19
*** fay [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock08:26
fay is now known as Guest4327208:26
Guest43272 is now known as fay_08:26
*** mdunford [~marcdunfo@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:01
pedroalvarezI wanted to look at upgrading gcc but I didn't have time09:02
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:06
*** sambishop [~sambishop@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:07
*** mariaderidder [~maria@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:11
*** tiagogomes [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:28
*** CTtpollard [~tom@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock09:52
*** benbrown_ [~benbrown@access.ducie-dc1.codethink.co.uk] has joined #baserock10:01
*** ssam2 [~ssam2@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock10:07
Mode #baserock +v ssam2 by ChanServ10:07
rdaleif i deploy a kvm image onto my host machine from a baserock guest kvm, is it possible to upgrade that image subsequently?10:10
rdaleor do i need to delete it, and then redeploy?10:10
KinnisonIf you can reach the one image from the other (e.g. by ssh0 then upgrades by ssh+rsync should be possible10:10
persiaYou ought be able to do so.10:10
rdaleah, so i need to have both kvm vms running in order to do an upgrade10:11
SotKyes10:11
persiaWell, you'll need a development environment that can reach the target.10:12
persiaIf the target is a development environment, you can upgrade it internally.10:12
persiaSimilarly, if you have a development environment somewhere else entirely, with ssh access to the target VM, you can upgrade it.10:13
rdaleboth source and target kvm vms are development environments10:13
persiaThen you can upgrade the target from the target, if you like.10:13
persia(cycle.sh is designed for this use case)10:13
rdalethe cycle.sh script docs seem to imply that you can have multiple boot images inside the same kvm machine10:14
persiaThis is also the case.  system-version-manager selects between them.10:14
persiaWhen one "upgrades", one is really adding a new system and adjusting the default boot system.10:15
rdaleare there docs on system-version-manager - is that a baserock thing?10:15
persiaIt is a baserock thing.  The only docs I've seen are those from `system-version-manager --help`10:15
persiaStrangely, `system-version-manager help` is unhelpful10:16
rdale:(10:16
pedroalvarezit's really tiny and intuitive.. but yeah, I think that because I wrote it :)10:17
rdaleso i have a system 'factory' running which is my devel system. i would like a target system called 'web-devel' which is the one i'm developing and would like to use cycle.sh to flip from one to the other with reboots10:18
persiaOK.  Upgrade your system with your new target.  Reboot.10:19
persiaThen use system-version-manager to un-upgrade, remove the target, and upgrade into a new target.10:19
rdaleand then i get a boot menu with both new and old systems?10:19
pedroalvarezyes, but with a timeout to boot the default one10:20
persiaI never saw a boot menu, but I don't use KVM on my laptop for this, so this might be me.10:20
*** Krin [~mikesmith@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock10:20
rdalei've never seen a kvm boot menu10:20
SotKyou only get it once you've done an upgrade10:21
jjardonpaulsherwood: I'd try and replace python2 for python3 in core10:22
persiaAnd only if you use the console and look at it.10:22
persiajjardon: That would break morph10:22
jjardonpersia: I'm not building morph in my systems10:23
jjardonYou can put python2 in the morph stratum10:23
persiaheh, good point.10:23
persiaI suppose we have already reached the point where we have to consider dual-installs of python :)10:24
paulsherwoodjjardon: are you serious? i can try that10:24
paulsherwoodthis would be quite an invasive change, though (rebuild from core)10:25
jjardonIf you can build core and foundation with python3, no need to have 2 versions of python there, I think10:26
pedroalvarezpaulsherwood: I thought we didn't care about invasive changes anymore :)10:26
persiaI thought the advantage of Baserock was that one could try invasive changes easily10:27
paulsherwoodheh10:27
jjardonCan't agree more ;)10:28
paulsherwoodif we go this route, would the default chunk be called 'python' or 'python3' ? and presumably invoking 'python' on command line would start python433?10:28
paulsherwoods/433/3/ ?10:28
jjardonOy10:28
jmacsAm I right in saying that if I add "KERNEL_ARGS=net.ifnames=0" to the end of my morph deploy command, it should be used as a argument?10:29
jjardonUps, sorry. Python3 I'd say10:29
pedroalvarezjmacs: that's almos true10:30
jmacsAlmost?10:30
pedroalvarezjmacs: I'd put that inside the cluster morphology rather than appending it to the command line10:30
persiaI think the chunk should be called 'python3', but I think we ought have *something else* that decides whether `python` calls `python2` or `python3`10:30
jmacspedroalvarez: What would the format be then? "KERNEL_ARGS: net.ifnames=0" ?10:30
pedroalvarezjmacs: yes, I believe that there are some examples in definitions.git10:31
*** petefoth [~petefoth@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 244 seconds]10:31
jmacsAlso, should what I originally wrote work? If not we need to change the documentation.10:31
persiaI think it should10:31
pedroalvarezjmacs: if you want it to use it in your command line, you have to put <deploy-key>.KERNEL_ARGS=net.ifnames=010:32
pedroalvarezs/it//10:32
jmacsWhat's a deploy-key?10:33
pedroalvarezNot sure if deploy-key is the  name, but let me explain what it is10:33
jjardonIIRC, There is a PEP about that10:34
jjardonYes: https://www.python.org/dev/peps/pep-0394/10:34
pedroalvarezjmacs: http://paste.baserock.org/kapasaqera as you can see in this example, OPENSTACK_PASSWORD is not defined in the cluster morphology, and is added when calling morph deploy10:35
paulsherwoodpersia: what would be the 'something else' ?10:35
pedroalvarezjmacs: In this case "openstack-image" is the "deploy-key"10:35
jmacspedroalvarez: OK, I'll bear that in mind. Is it documented anywhere? All I can find on the wiki is some stuff in old-tutorials/10:36
persiapaulsherwood: I think it would be another chunk, that just created the /usr/bin/python symlink10:36
pedroalvarezjmacs: this example was here: http://wiki.baserock.org/devel-with/10:36
paulsherwoodpersia: hmmm. so if we have a system where by default that chunk is python => python3, and then i add morph-utils to it... morph requires python => python2 ... and chaos ensues?10:38
persiaChunks that depend on specific versions of python shouldn't expect /usr/bin/python to be a particular version.  If they do, this is a bug.10:39
persiaEither the code needs to be safe to run under either python2 or python3, or it needs to declare which it wants in the interpreter entry.10:40
jjardon paulsherwood Its recommended to have python==python2 if python2 is in the system: https://www.python.org/dev/peps/pep-0394/10:45
* persia suspects that at the time that PEP was written, lots of software still assumed /usr/bin/python was python210:46
paulsherwoodi think that is still the case10:47
*** petefoth_ [~petefoth@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock10:51
robtayloryeah, i run arch on my laptop and it has python==python3, when ever building something new I have to be careful10:54
persiaBecause so many of the larger distros have Python3 for /usr/bin/python, I think the set of things that needs python2 is not as large as when PEP 394 was written, but this may not include a number of non-desktop and non-server applications.10:56
*** Guest8462 [~mike@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 250 seconds]11:01
*** fay [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock11:02
fay is now known as Guest7807011:02
* paulsherwood doesn't know how to frab so that morph would get python2, in a system with python3 as default python11:03
robtaylorpaulsherwood: #!/bin/env python2 rather than #!/bin/env python11:04
paulsherwoodrobtaylor: you man patch morph/*.py ?11:04
*** fay_ [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 240 seconds]11:05
persiaShouldn't be *.py: aren't most of them nonexecutable libraries?11:05
robtaylorpaulsherwood: well, any files that have #!11:05
paulsherwoodnone of them at this point11:05
robtaylorpaulsherwood: a quick look says morph, source-stats, and the scripts in scripts11:06
Kinnisonthe write and configuration extensions likely need tweaking too11:06
robtaylorpaulsherwood: *.py are your nonexecutable libraries, as persia said.11:06
robtaylorKinnison: yup11:06
robtaylor(using git grep python)11:07
* robtaylor also notes that they were using #!/usr/bin/python which he always understood to be bad form =)11:08
Kinnisongit grep "^#\!.*python"11:09
Kinnisonrobtaylor: poor form for portable stuff.  For a platform where you're in complete control it hardly seems an issue :-)11:09
KinnisonHowever, they all need fixing11:09
robtaylorKinnison: true. That aim has only changed recently, i understand =)11:09
*** mauricemoss_ [~simonh@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 256 seconds]11:10
* persia remembers writing innumerable patches to change "usr/bin/env python" to "usr/bin/python" in the past when embedding portable code into a fixed system11:13
persia(the issue being that the portable code might pick up some random version of python someone installed, which would be a bad thing for a system library to do)11:13
persias/library/utility/11:14
*** Guest8462 [~mike@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock11:16
*** mauricemoss_ [~simonh@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock11:24
radiofreeHow big is the minimal system?11:29
ssam2a couple of hundred MB I think11:32
ssam2but I think it can be shrunk more quite easily11:33
tiagogomeshi baserockers, any special reason why the vbox vm setup page (http://wiki.baserock.org/guides/vm-setup/) uses both bridge and host-only network connectivity? With bridge you get both inside/outside access. I tended to use in the past host-only to access the VM from my host, and NAT to give external access to the vm. Other option is only use NAT and setup port forwarding to ssh the VM in a specific port11:33
ssam2we don't strip it, for example11:33
petefoth_tiagogomes: I *may* have changed that when trying to set up a VBox VM in Mac OS. If I recall, it didn't work without a host-only adapter11:34
tiagogomesalso gunzip seems to be missing the "-d" option for "Using Ubuntu or Debian with KVM" instructions11:34
persiatiagogomes: I always use host networking with NAT, because I'm rarely in an environment where bridge actually works reliably.11:35
paulsherwoodradiofree: 321.7M unstripped :/11:35
paulsherwood(x86_64)11:35
tiagogomespetefoth it is working for me, but you need to change the adapter type from the default. Intel PRO/1000 T Server works for me11:35
persiapaulsherwood: To be fair, that isn't only unstripped, but also includes all the artifacts generated by the sources, so lots of extra stuff that may not be so useful in the delivered system.11:36
petefoth_tiagogomes: feel free to modify that page :)11:36
ssam2paulsherwood: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/tree/remove-gcc.configure?h=baserock/sam/chef-from-git shrinks it my 200MB, according to my former self11:36
ssam2*by11:36
tiagogomespersia yep, and host-only + NAT seems a bit more secure11:37
ssam2(forgets why richard maw is implicated in that comment)11:37
ssam2s/forgets/I forget/11:37
persiatiagogomes: Feel free to document it as an alternative, or use it yourself.  Some folk don't like it because it means extra fussing on the host.11:37
pedroalvarezradiofree, paulsherwood< IIRC the minimal system can be reduced if we do a finer splitting on gcc merging this patch: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/commit/?h=baserock/pedroalvarez/finer-splitting-gcc&id=80f23407c109b22e2c877a1114abac5b3a33918f11:45
paulsherwoodpedroalvarez: +1, then! :)11:57
pedroalvarezhahah note, it's a quite invasive change :P11:57
tiagogomesit'd be also worth mention that /etc/network/interfaces is not configured to automatically dhcp the eth1 interface11:58
pedroalvarez /etc/network/interfaces is not used anymore with new systemd11:59
*** Guest78070 [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 260 seconds]12:01
tiagogomespedroalvarez with systemd 204 adding configuration for eth1 made it to get in a ip address on boot12:01
persiatiagogomes: Ah, you want systemd > 217.12:03
pedroalvarezs/>/</?12:04
pedroalvarezs/>/>=/?12:04
tiagogomespersia, I don't know how old is my baserock VM. I download the one that is on the wiki. /etc/os-release could show more information12:06
persiatiagogomes: That should probably get updated, and it is unfortunate it was released during the transition.12:06
persiaOnce you have network, use cycle.sh to upgrade to the new one.12:07
*** zoli__ [~zoli_@0x5e91887a.adsl.cybercity.dk] has joined #baserock12:07
*** zoli_ [~zoli_@linaro/zoli] has quit [Ping timeout: 240 seconds]12:09
*** Guest78070 [~fay@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock12:23
Guest78070 is now known as fay_12:24
CTtpollardonce gerrit is in place, would GerritBot be put in place for this channel, or would it be considered to much noise?12:27
CTtpollards/to/too12:29
ssam2I think I'd find it annoying12:33
ssam2we could always run it in a separate #baserock-commits channel though12:33
*** straycat [~straycat@vortis.xen.tardis.ed.ac.uk] has joined #baserock12:34
CTtpollardthat would be my issue, I've found it useful in certain openstack channels, but it's highly variable on channel  & commit traffic 12:34
persiaGiven the speed of patches arriving to the mailing list, I think it wouldn't be disruptive.12:36
persiaBut if we have automation submitting candidate patches, I think I'd prefer not to see that in-channel.12:37
CTtpollardyes, maybe some thinking toward what is and isn't broadcasted is needed12:38
CTtpollardthe config of GerritBot looks quite customisable, for instance you can set it to only broadcast merges to master, or patch sets etc 12:42
petefoth_another vote her for not having GerritBot broadcasting in this channel12:43
petefoth_s/her/here/12:43
pedroalvarezcan it be configurable to be more or less chatty?12:53
CTtpollardpedroalvarez: this is what I'm referring: https://github.com/openstack-infra/gerritbot/blob/master/doc/source/installation.rst12:54
persiapetefoth_: In the absence of such broadcasting, would you prefer automated mail to baserock-dev?  In the absence of either, how do you anticipate we will become aware of new/updated patchsets?12:59
petefoth_persia: either automated mail, with a subject line that makes it easy to filter, and/ or a separate irc channel as sggested by ssam2. My objection to having it here is a: that not everyone here is interested in code changes, and it is not easy to filter out in irc and b: if it becomes, 'high-traffic' * it could swampt the channel. (*Unlikely, but you never know) 13:02
persiaIf we have enough patches for it to be high-traffic, I'll agree with you.13:03
persiaBut I don't like automated mail, because it clogs my mail system, and is pointlessly verbose when a single line will do.13:03
pedroalvarezCTtpollard: and it looks configurable13:03
ssam2I prefer polling for new patch sets when I have capacity to review them, rather than being interrupted in the middle of conversations by a bot ..13:03
persiaAnd I have prior experience with watching separated channels not work at all.13:03
persiaI have seen many fruitful conversations helped by such bots.  For example, one does something and pushes.  Someone else glances at it, and replies to you on IRC, etc.13:04
persiaBut I agree that if there is sufficient volume to interrupt or distract, it can be bad.  Gerritbot doesn't tend to be that chatty, in my experience, but others may have had different experiences.13:05
ssam2that sounds like it encouranges people to do reviews outside the review tool, which doesn't seem good13:05
ssam2encourages13:06
CTtpollardssam2: what exactly is the review tool, just the mailing list? 13:07
persiaI suppose it depends on the point of the review tool.  Generally speaking, I don't care about the details of why something got redone, rather just that it was redone.13:07
ssam2tpollard: currently, but we should be switching to Gerrit13:07
CTtpollardso if the bot provides a url straight to the patch where you could comment and vote, surely that's a good thing?13:08
ssam2it could be helpful in some situations13:09
CTtpollardone of the reasons I've brought this is up is I'm currently on a channel where a lot of the changes take place in US timezone, so having the backscroll of changes the following day is useful to me 13:09
ssam2does Gerrit lack a useful change log? I figured that the 'Open changesets' page would be good enough13:09
ssam2but I haven't used Gerrit much. If the only way to get a useful change feed is to run a bot in IRC, then that's a good argument in favour of doing so13:09
petefoth_Ibelieve that's the point (one of the points) of Gerrit - you can go into a view with a list of the stuff you are interested in13:11
petefoth_If you need a feed, why not do RSS/Atom so those who are interetsed can subscrive, and those who aren't don't get their irc interrupted?13:12
CTtpollarda way for users who don't want a bot could be /ignore , but that is far from ideal 13:12
straycatput the bot in another channel, people who care can join that13:42
straycatin my experience bots annoy people here13:43
straycatalso why am i here13:43
*** straycat [~straycat@vortis.xen.tardis.ed.ac.uk] has quit []13:43
paulsherwood?13:44
persiaI believe the above to be evidence of straycat becoming slightly better at being on holiday.13:47
paulsherwood:)13:54
* paulsherwood wonders what causes the setup of links for /usr/bin/python*13:56
Kinnisoncpython's install target IIRC14:01
*** sambishop [~sambishop@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer]14:01
*** sambishop [~sambishop@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock14:03
paulsherwoodi can't see that in the morph file.... http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/tree/strata/core/cpython.morph14:08
KinnisonI mean, *cpython*'s install target, not the morphology commands14:10
Kinnisoni.e. it'll be part of the makefiles14:10
paulsherwoodah14:10
paulsherwoodso the behaviour i've noticed is when trying python3 as default, it doesn't seem to link python-config by default14:11
paulsherwoodcausing gobject-introspection to report 'checking for headers required to compile python extensions... ./configure: line 14520: /usr/bin/python-config: No such file or directory'14:12
* paulsherwood is thinking he's the wrong person to be digging this hole14:12
persiaIf you don't understand it, and are willing to admit it, and have the time to collect feedback from others, you're the perfect person.  If other conditions apply, perhaps not.14:13
paulsherwoodi think i already demonstrated 1 and 2 :)14:14
*** ssam2 [~ssam2@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving]14:15
paulsherwoodi tried setting up the link myself, adn got a bit further... http://paste.baserock.org/rapujivoho14:15
persiaThat looks to me like the headers are different in some way, but I don't know enough about python headers to suggest and good way to deal with 2/3 issues.14:17
robtaylorpaulsherwood: i'd crib how arch does it https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gobject-introspection14:17
robtaylor(and this trick will work other places that assume python 2)14:18
robtaylorthough its pretty fugly (sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py)14:19
persiaWaugh!14:19
robtaylorthe results of that sed should really just be send upstream14:19
persiaYes.14:20
persiaOr some sort of sixish thing done14:20
robtaylorupstream would be good, i'm sure colin will take a patch for that14:20
robtaylorsixish?14:20
persiaFrom what I understand, things that work with python2 and python3 are sixish, and much of them use the python library six.14:23
persiahttps://pypi.python.org/pypi/six14:24
paulsherwoodthis defeats the possibility of moving python2 to morph-utils, i believe?14:25
paulsherwoodjjardon: do you have some reason to believe it's possible to build gobject-introspection with python3?14:25
robtaylorpaulsherwood: yes, you'd need both python3 and python2 on a system using g-i14:25
robtaylorpaulsherwood: its coding to fix it - the API changed14:26
robtaylor(and i presume noones volunteered to do that yet)14:26
jjardonpaulsherwood: oh yeah, gobject-introspection has not been ported to python314:26
robtaylorpaulsherwood: the api changes were the cause of those errors you got , btw :)14:27
paulsherwoodok. on that basis i stand by the patch series i already sent :)14:27
robtaylorpaulsherwood: sounds good =)14:27
*** zoli__ [~zoli_@0x5e91887a.adsl.cybercity.dk] has quit [Remote host closed the connection]14:28
*** Zara [~zarazaime@access.ducie-dc1.codethink.co.uk] has quit [Ping timeout: 272 seconds]14:39
*** Zara [~zarazaime@access.ducie-dc1.codethink.co.uk] has joined #baserock14:40
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock14:48
Krin so if I'm pushing a change to the lorries, the change has a +1, (is it one or two of those I need?) with notes for a change that I need to do at merge. I'v performed said change, is it a simple re-base of the current working branch followed by switching to master and then merge in my branch? ...yes I'm still scared of blowing things up with git14:57
KinnisonKrin: if you're worried, punt the changed branch to the git server and ask someone here to double-check it via http://git.baserock.org/14:57
KinnisonKrin: better safe than sorry with that configuration14:58
SotKyou need +2 (so two +1s or one +2) before merging :)14:58
SotKand that is what I do when merging, yes (`git merge my/feature/branch --no-ff` - using --no-ff so that I get a merge commit)14:59
Krindoes anyone have time to quickly review the small .lorry addition? with the patch e-mail labelled "[PATCH] Lorrying in zookeeper project"15:00
persiaNote that when "fixing something at merge time", one is expected to cause the commit that introduced the thing to be fixed to be modified to contain the fix.15:09
*** petefoth_ [~petefoth@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: petefoth_]15:10
*** petefoth [~petefoth@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock15:10
CTtpollardpersia: as in git amend? 15:15
persiaI think that is the easiest way.  The other is to insert a commit between two others, and interactively rebase, squashing the commits.15:16
persiaNote that if one chooses git amend, one still needs to rebase, but can (usually) do so non-interactively.15:16
* Krin blinks, reads the above and goes on a google hunt to find out how to do any of that rather than simply have anoher commit afterwards showing the changes15:22
persiaKrin: The way I do it is as follows:15:25
*** genii [~quassel@ubuntu/member/genii] has joined #baserock15:25
persia1) `git fetch` to update the database to match upstream15:26
persia2) `git rebase master` to reparent my patchset on current master15:26
persia3) `git log --oneline master..` to get a short list of all my patches and new shortshas.15:26
persia4) `git checkout <sha>` for one of the patches15:27
persia5) fix stuff15:27
persia6) `git commit --amend` to update my changes.15:27
persia7) `git checkout mybranch` to get back to the branch15:27
persiaAt this point, git complains I'm leaving an orphan commit, and tells me the SHA15:27
persia8) `git rebase -i <<SHA>>` where <<SHA>> is the one git provided while complaining15:28
persiaI then drop the old version of the commit from my patchset to be rebased.15:28
persiaThe alternative is to not use --amend in step 6, and then use squash when rebasing in step 8.15:28
radiofreewhy not just commit the change, use git rebase -i and move that commit + squash15:44
radiofreeor git rebase -i, edit the commit in question, then rebase --continue15:45
persiaMostly because that's more magic that my grimoire contains :)15:46
Krini have no idea if what i just did worked... wait i have to cherry pick now? 15:46
persiaWhy are you cherrypicking?15:46
Krini followed your instructions and it informed me "you are now cherrypicking"15:47
Krinor at least i think i followed your instructions... i really hate git sometimes15:47
persiaNothing in my instructions should have been a cherrypick, and now I'm confused, because I'm not sure how you got that message.15:56
*** mdunford [~marcdunfo@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 240 seconds]16:00
Krinwell franred helped me fix it, and i'm still baffled with what may have caused the cherry picking. but i'm going to back away slowly from it now as it's working...16:03
persiaheh16:04
* Krin has a very bad relationship with git and swears blind that other people entering the same commands as him has vastly different results. the logical part of his mind denies this16:05
paulsherwoodSotK: is there a working Mason thing we can play with?16:06
*** mdunford [~marcdunfo@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock16:12
pedroalvarezpaulsherwood: not sure, but I think that there is a working one, and is linked to gerrit: http://testgerrit.baserock.org:8080/#/q/status:open16:13
pedroalvarezso if you send a patch for review, mason tests it16:14
paulsherwoodis that open to all-comers?16:16
pedroalvareznot 100% sure, but I believe that everybody can get an account in gerrit, and send patches for review16:17
pedroalvarezmaybe they changed the configuration, but it should be open16:17
franredthe testgerrit is not in production yet, AFAIK, it is just for testing16:18
pedroalvarezindeed, so please, don't use it yet until Sam or Adam say that we can16:19
pedroalvarezi wonder if it will test on various architectures16:20
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]16:23
paulsherwoodpedroalvarez: only one way to find out :)16:28
* paulsherwood is failing to log in, though16:29
pedroalvarezI don't know how would you know how many architectures is testing, though16:29
pedroalvarezand... it is deploying to openstack to test that the new system can build as well, and I don't think we can do that with arm16:32
persiaJust needs ARM compute nodes in the OpenStack :)16:34
pedroalvarezI wonder how the different architecutres available would appear in nova16:36
persiaI don't know.  http://trystack.org/ had something working for a while, but it is facebook-only login, so I didn't explore that much.  Last I heard, there were no more ARM nodes available, but I may be out of date.16:38
pedroalvarezI tested that one, but only the x86.16:39
pedroalvarezIt looked to me as 2 different clouds16:39
persiaHrm.  I've seen various specs for nova to have multiple backends or different resource pools for different hypervisors.  I don't know the implementation status of them currently.16:40
*** Krin [~mikesmith@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving]17:52
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Lost terminal]17:53
*** tiagogomes [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 256 seconds]18:05
*** mariaderidder [~maria@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Ex-Chat]18:10
*** Guest8462 [~mike@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving]18:21
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock18:36
*** straycat [~straycat@vortis.xen.tardis.ed.ac.uk] has joined #baserock18:46
*** straycat [~straycat@vortis.xen.tardis.ed.ac.uk] has quit []18:48
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]20:33
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock20:36
*** rdale [~quassel@197.Red-2-137-105.dynamicIP.rima-tde.net] has quit [Ping timeout: 265 seconds]20:58
*** jmacs [~jimmacart@access.ducie-dc1.codethink.co.uk] has quit [Ping timeout: 245 seconds]21:02
*** jmacs [~jimmacart@access.ducie-dc1.codethink.co.uk] has joined #baserock21:02
*** rdale [~quassel@167.Red-83-35-194.dynamicIP.rima-tde.net] has joined #baserock21:06
*** rdale_ [~quassel@223.Red-79-157-221.dynamicIP.rima-tde.net] has joined #baserock21:31
*** rdale [~quassel@167.Red-83-35-194.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer]21:31
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]21:33
genii is now known as ChristmasPresent21:35
*** rdale [~quassel@79.Red-79-145-105.dynamicIP.rima-tde.net] has joined #baserock21:35
ChristmasPresent is now known as genii21:38
*** rdale_ [~quassel@223.Red-79-157-221.dynamicIP.rima-tde.net] has quit [Ping timeout: 256 seconds]21:38
genii is now known as ChristmasPresent21:55
ChristmasPresent is now known as genii21:56
genii is now known as ChristmasPresent22:10
ChristmasPresent is now known as genii22:11
genii is now known as ChristmasPresent23:47
ChristmasPresent is now known as genii23:48

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