Thursday, 2014-09-11

openstackgerritA change was merged to openstack/security-doc: Fixed broken URL for SRG list.  https://review.openstack.org/12041000:04
openstackgerritOpenStack Proposal Bot proposed a change to openstack/security-doc: Updated from global requirements  https://review.openstack.org/12065300:31
*** bdpayne has quit IRC00:51
openstackgerritAlexandra Settle proposed a change to openstack/security-doc: Clarifying max number of hosts, removing 'technically'  https://review.openstack.org/12066701:34
openstackgerritAlexandra Settle proposed a change to openstack/security-doc: Clarifying max number of hosts, removing 'technically'  https://review.openstack.org/12066701:37
*** voodookid has joined #openstack-security01:51
*** voodookid has quit IRC02:10
*** tmcpeak has quit IRC02:22
*** voodookid has joined #openstack-security04:44
*** voodookid has quit IRC05:02
openstackgerritOpenStack Proposal Bot proposed a change to openstack/security-doc: Imported Translations from Transifex  https://review.openstack.org/12069306:06
openstackgerritA change was merged to openstack/security-doc: Imported Translations from Transifex  https://review.openstack.org/12069306:58
openstackgerritA change was merged to openstack/security-doc: Updated from global requirements  https://review.openstack.org/12065306:59
*** amrith is now known as _amrith_12:28
*** nkinder has quit IRC13:12
*** bknudson has joined #openstack-security13:46
*** _amrith_ is now known as amrith13:49
*** nkinder has joined #openstack-security14:16
openstackgerritNathan Kinder proposed a change to openstack/security-doc: Adding note for OSSN-0020  https://review.openstack.org/11342214:41
*** voodookid has joined #openstack-security15:12
*** tmcpeak has joined #openstack-security15:26
*** gabriela has joined #openstack-security15:43
*** gabriela has left #openstack-security15:44
*** jimhoagland has joined #openstack-security15:45
*** amrith is now known as _amrith_16:22
*** salv-orlando has joined #openstack-security16:45
tmcpeakmeeting?17:01
*** sicarie has joined #openstack-security17:01
*** nkinder_ has joined #openstack-security17:03
*** nkinder has quit IRC17:07
*** _amrith_ is now known as amrith17:39
*** salv-orlando has quit IRC17:42
*** openstackgerrit has quit IRC17:46
*** openstackgerrit has joined #openstack-security17:47
tmcpeaknkinder: got a minute?17:49
nkinder_tmcpeak: sure17:49
tmcpeakI've gotten myself into some BS with Git/GitHub17:49
tmcpeakcheck this out: https://github.com/mcpeak/bandit/compare/chair6:master...master17:50
tmcpeakI want to push these changes to chair6's repo17:50
tmcpeakbut it's 5 commits17:50
tmcpeakand some of them have horrible messages17:50
tmcpeakcan I somehow just blow away all of them, or all except the last?17:50
tmcpeakit's my own repo and nobody uses it but me17:51
tmcpeakso I could just "re-write history" as they always say17:51
tmcpeaknkinder_: what's the best way to do it?17:53
nkinder_tmcpeak: you need to squash them17:54
nkinder_squash == merge multiple patches into one17:54
nkinder_tmcpeak: so I haven't tried to nuke commits that have been pushed to github, but I've done it with private git repos before17:55
nkinder_tmcpeak: it's the -f option IIRC17:55
tmcpeaknkinder_: ok, yeah I saw something like that17:56
nkinder_tmcpeak: during the 'git push'17:56
nkinder_tmcpeak: so you would squash the commits in your local clone of master, then 'git push -f' them17:56
nkinder_tmcpeak: let me clone your repo and see if I can get you some specifics17:56
tmcpeaknkinder_: thank you!17:57
tmcpeaknkinder_: it looks like this might work: http://stackoverflow.com/questions/448919/how-can-i-remove-a-commit-on-github17:58
chair6http://justinhileman.info/article/git-pretty/full/17:58
tmcpeakchair6: yeah, that's right, I forgot about this diagram :)17:59
tmcpeakchair6: so I guess technically you are downstream, but you aren't enough to form a lynchmob18:00
nkinder_tmcpeak: so how many commits do you want to squash?18:00
tmcpeaknkinder_: 518:00
chair6i'm generally pretty chill, probably no lynchings here18:01
tmcpeakbut I report to you, so there is that :D18:01
nkinder_tmcpeak: so usually, you do something like "git rebase -i HEAD~5" to perform an interactive rebase18:03
nkinder_that will bring up an editor where you can choose what to do with the last 5 patches18:04
nkinder_you replace "pick" with the action you want to perform18:04
tmcpeakit looks like what I have in status locally now is correct18:04
tmcpeakso it looks like I could do: git push origin +master18:05
tmcpeakexcept I'm on "no branch"18:06
nkinder_tmcpeak: you have some revert commits in there, and commits with the same title.  Which ones cancel each other out?18:09
tmcpeaknkinder_: there should really only be one commit18:09
tmcpeakit doesn't matter18:09
tmcpeaklast one would be fine18:09
nkinder_tmcpeak: for all of the random.random ones you mean?18:09
tmcpeaknkinder_: yep18:09
nkinder_tmcpeak: so you want the SQL injection one followed by the last random.random one18:09
nkinder_tmcpeak: ok, so on master, do a 'git rebase -i HEAD~5'18:11
nkinder_tmcpeak: when the editor comes up, comment out the commits you want to delete.  It should look like this: http://paste.openstack.org/show/110264/18:11
nkinder_tmcpeak: then save the editor and it will perform the rebase18:11
tmcpeaknkinder_: I've done some messing around, and I have it correct locally now18:11
nkinder_tmcpeak: confirm it with git log -318:11
tmcpeaknkinder_: yep, all is fine18:12
tmcpeakLOCALLY18:12
nkinder_tmcpeak: ok, so git push -f to master as usual (but with the -f to force)18:12
nkinder_tmcpeak: assuming github allows that, you should be good18:12
tmcpeaknkinder_: perfect!18:13
tmcpeakI'm saved18:13
tmcpeakthank you sir18:13
tmcpeakchair6: pull request coming at you18:13
nkinder_tmcpeak: sure.  Play around with 'git rebase -i'.  It's really powerful.18:13
tmcpeakyeah, and "git status" and "git log" are you friends18:13
tmcpeaknkinder_: I'm learning to panic less when I get in these situations18:14
nkinder_tmcpeak: and STOP WORKING ON MASTER ;)18:16
tmcpeakhaha yeah18:16
tmcpeakcrap habit18:16
nkinder_tmcpeak: but yes, you can get out of most situations18:16
chair6merged it up.. interesting test, looking at https://docs.python.org/2/library/random.html there are a few other things we should be checking for as well18:17
*** dmccowan has joined #openstack-security18:24
*** Guest75250 has quit IRC19:14
*** nkinder_ has quit IRC19:23
*** mgagne has joined #openstack-security19:51
*** amrith is now known as notamcrn19:58
*** notamcrn is now known as amrith19:59
*** nkinder_ has joined #openstack-security20:11
*** amrith is now known as _amrith_21:27
*** dmccowan has quit IRC21:29
openstackgerritRudrajit Tapadar proposed a change to openstack/security-doc: Add references to NIST publications in Chapter 40  https://review.openstack.org/12092021:49
*** dmccowan has joined #openstack-security21:52
openstackgerritRudrajit Tapadar proposed a change to openstack/security-doc: Add references to NIST publications in Chapter 40  https://review.openstack.org/12092021:52
*** dmccowan_ has joined #openstack-security22:09
*** dmccowan has quit IRC22:09
*** dmccowan_ is now known as dmccowan22:09
*** openstackgerrit has quit IRC22:38
*** openstackgerrit_ has joined #openstack-security22:38
*** bknudson has quit IRC22:39
*** openstackgerrit_ is now known as openstackgerrit22:40
*** voodookid has quit IRC23:06
*** jimhoagland has quit IRC23:09
*** _amrith_ is now known as amrith23:40
openstackgerritAlexandra Settle proposed a change to openstack/security-doc: Clarifying max number of hosts, removing 'technically'  https://review.openstack.org/12066723:48
*** sicarie has quit IRC23:59

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