Skip to content

Instantly share code, notes, and snippets.

# this works in repo/.git/config as well as just putting it in ~/.gitconfig
# and having it work in all repos. Note that it basically never gets cleaned
# up, though, so if you're working on a big tree with lots of pull requests,
# you may need to /delete/ them
[remote "origin"]
fetch = +refs/pull/*/head:refs/pull/origin/*
[remote "upstream"]
fetch = +refs/pull/*/head:refs/pull/upstream/*
fenchurch:~/devel/github.com/anaconda$ git pr lgv 4
* e260d1f (origin/pr/4) Colin Walters (5 months ago)
| Author: Colin Walters
| Date: 2015-02-19 08:37:00 -0500
|
| rpmostreepayload: Honor noverifyssl
|
| Because we don't have a good story for system administrators to use
| local CAs during installation, some users may choose to just disable
| TLS verification. Most of Anaconda supports that, we just need to
%define define_efi_variant_files() \
%if %{1}\
%{expand:%%files %{2} -f grub.lang}\
%defattr(-,root,root,-)\
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg\
%dir %attr(0755,root,root)/boot/efi/EFI/%{efidir}\
/boot/efi/EFI/%{efidir}/%{3}\
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts\
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg\
%{!?_licensedir:%global license %%doc}\
From 7ec93d259d7dfae1d6ba815cb9f9d486c8e79601 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Wed, 9 Mar 2016 10:37:43 -0500
Subject: [PATCH] Fix the return code checking in uintn_mult().
We accidentally had the <gcc5 version returning opposite of the >gcc5
version, so on one compiler it worked and the other it failed.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
#!/usr/bin/python3
# this is just a simple logger, so I can have a logger to show you
class Logger(object):
def __init__(self):
self.loglevel = 0
def __call__(self, level, msg):
import time
if self.loglevel >= level:
From cd506e1b189f48eb068bddcc4c0e0fe2011e38c9 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 31 May 2016 13:47:06 -0400
Subject: [PATCH] remote: try x86_64 when 'g' packet size is wrong.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
gdb/remote.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
commit a4e941d94849c032c60a9ac2465b6bd05fd51e2a
Author: Peter Jones <pjones@redhat.com>
Date: Thu Jan 5 16:47:25 2017 -0500
rpm2cpio and rpm2archive: don't write archive data to a terminal.
Signed-off-by: Peter Jones <pjones@redhat.com>
diff --git a/rpm2archive.c b/rpm2archive.c
index 8660e21..5443846 100644
02-06 10:54:41.178 2804 21918 I MicrophoneInputStream: mic_starting com.google.android.apps.gsa.speech.audio.af@ff0c60c
02-06 10:54:41.180 2804 21936 W S3RequestUpdatesSchdlr: The discourse context does not have the future for: VOICE
02-06 10:54:41.181 482 1321 E APM::AudioPolicyEngine: getDeviceForInputSource() no default device defined
02-06 10:54:41.181 482 1321 W APM_AudioPolicyManager: getInputForAttr() could not find device for source 6
02-06 10:54:41.182 2804 21918 E AudioRecord: Could not get audio input for session 1265, record source 6, sample rate 16000, format 0x1, channel mask 0x10, flags 0
02-06 10:54:41.192 601 601 I MediaPlayerService: MediaPlayerService::getOMX
02-06 10:54:41.193 2804 21918 E AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
02-06 10:54:41.193 2804 21918 E android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
02-06 10:54:41.193 2804 21918 E MicrophoneInputStream: Failed to initia
02-06 10:54:41.178 2804 21918 I MicrophoneInputStream: mic_starting com.google.android.apps.gsa.speech.audio.af@ff0c60c
02-06 10:54:41.180 2804 21936 W S3RequestUpdatesSchdlr: The discourse context does not have the future for: VOICE
02-06 10:54:41.181 482 1321 E APM::AudioPolicyEngine: getDeviceForInputSource() no default device defined
02-06 10:54:41.181 482 1321 W APM_AudioPolicyManager: getInputForAttr() could not find device for source 6
02-06 10:54:41.182 2804 21918 E AudioRecord: Could not get audio input for session 1265, record source 6, sample rate 16000, format 0x1, channel mask 0x10, flags 0
02-06 10:54:41.192 601 601 I MediaPlayerService: MediaPlayerService::getOMX
02-06 10:54:41.193 2804 21918 E AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
02-06 10:54:41.193 2804 21918 E android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
02-06 10:54:41.193 2804 21918 E MicrophoneInputStream: Failed to initia
commit 8a8e8d2654fb556bb68a16d3de8404d63ffc3e92
Author: Peter Jones <pjones@redhat.com>
Date: Fri Feb 17 10:54:36 2017 -0500
Add .popt macros for "rpmspec --trace".
This lets you trace the macro expander when you do, for example,
"rpmspec --trace -P foo.spec".
Signed-off-by: Peter Jones <pjones@redhat.com>