]>
snippets.scripts.mit.edu Git - Scripts/git/.git/log
Anders Kaseorg [Mon, 22 Nov 2010 22:52:21 +0000 (17:52 -0500)]
rt/Scrips/zephyr.pl: Simplify installation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Alex Dehnert [Wed, 5 Dec 2012 09:37:10 +0000 (04:37 -0500)]
Fix spelling of "Transaction" in zephyr scrip
Alex Dehnert [Wed, 5 Dec 2012 09:34:27 +0000 (04:34 -0500)]
Create RT scrips directory
Geoffrey Thomas [Tue, 21 Aug 2012 23:11:24 +0000 (16:11 -0700)]
programming: Sync gccrun and disasm from my locker (oops)
disasm gains a -o option to provide arguments to objdump. The argument
to -o gets interpreted by the shell, allowing multiple arguments to be
passed to objdump.
gccrun now passes parameters past the first to gcc, requiring you to
quote the code to be compiled. It also allows the wrapper to be
interpreted by the shell, allowing a wrapper with arguments.
Anders Kaseorg [Sun, 22 Jul 2012 01:45:08 +0000 (21:45 -0400)]
zephyr-post-receive: Abort after 10 zephyrs to prevent zwrite flood
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Paul D Weaver [Tue, 6 Mar 2012 19:36:21 +0000 (14:36 -0500)]
Close RT process when done
Paul D Weaver [Mon, 27 Feb 2012 22:11:59 +0000 (17:11 -0500)]
Barnowl-RT readable source
Paul D Weaver [Mon, 27 Feb 2012 22:02:17 +0000 (17:02 -0500)]
rt barnowl source location
Paul D Weaver [Mon, 27 Feb 2012 21:55:18 +0000 (16:55 -0500)]
Barnowl RT module
Alex Dehnert [Tue, 25 Oct 2011 16:28:29 +0000 (12:28 -0400)]
Scripts auth: Use ldap-too for LDAP server
Apparently it includes email addresses for people who have suppressed it,
unlike ldap.mit.edu. (SIPB Trac: #10)
See also ASA DB
2b38cb971803016733ee17edb69bf786ec9d3d57 .
Alex Dehnert [Mon, 6 Jun 2011 06:56:19 +0000 (02:56 -0400)]
Add README and COPYING for django/mit/
As mentioned in the README, this is derived from code for the Remit
(https://remit.scripts.mit.edu/trac/) and the ASA DB
(https://asa.scripts.mit.edu/trac/). If you see bug numbers in the history,
they're probably from Remit (https://remit.scripts.mit.edu/trac/query).
Hopefully these can be useful to somebody else.
Alex Dehnert [Mon, 6 Jun 2011 06:55:11 +0000 (02:55 -0400)]
More sensible defaults for a library's zephyr()
Alex Dehnert [Mon, 6 Jun 2011 06:37:44 +0000 (02:37 -0400)]
Merge remote branch 'django-mit/master'
Alex Dehnert [Mon, 6 Jun 2011 06:34:19 +0000 (02:34 -0400)]
Merge branch 'asa-db-mods'
Alex Dehnert [Sun, 30 May 2010 02:34:45 +0000 (22:34 -0400)]
localhost check needs to use portless-HTTP_HOST
As a bonus, this gets around the problem that the Django dev server doesn't
set REQUEST_URI.
Alex Dehnert [Sun, 30 May 2010 01:10:59 +0000 (21:10 -0400)]
Add scripts_login, to do cert login if possible
Alex Dehnert [Thu, 13 May 2010 09:58:47 +0000 (05:58 -0400)]
Shamelessly lift MIT-specific code from Remit
Alex Dehnert [Tue, 24 May 2011 20:31:37 +0000 (16:31 -0400)]
Fix issues with user setup in the scripts backend
In particular:
* Properly escape usernames before passing them to LDAP
* Error out if the user can't be found
In theory, neither should be an issue, because this should only get called if
certs are in use, so the username should be sane and present in LDAP.
Thanks to Anders for bringing the first issue to my attention.
Alex Dehnert [Fri, 2 Apr 2010 15:21:11 +0000 (11:21 -0400)]
Auto-apply 'mit' and 'autocreated' groups
This resolves the "we need rope" part of Trac #20.
Alex Dehnert [Tue, 24 May 2011 20:16:21 +0000 (16:16 -0400)]
Properly escape the zwrite command line
Thanks to Anders for bringing this issue to my attention.
Alex Dehnert [Tue, 9 Mar 2010 09:41:43 +0000 (04:41 -0500)]
Lookup users in LDAP while auto-creating
Alex Dehnert [Thu, 27 May 2010 00:15:03 +0000 (20:15 -0400)]
Give autocreated users a fake password (Trac: #38)
Alex Dehnert [Tue, 2 Feb 2010 16:38:15 +0000 (11:38 -0500)]
Cert auth works!
Alex Dehnert [Tue, 2 Feb 2010 15:55:36 +0000 (10:55 -0500)]
Certificate auth start
Alex Dehnert [Tue, 5 Jan 2010 02:18:56 +0000 (21:18 -0500)]
Root commit
Evan Broder [Wed, 4 May 2011 01:38:12 +0000 (18:38 -0700)]
Release TracZephyrPlugin under the MIT license.
(ACKed by all contributors over zephyr)
Signed-off-by: Evan Broder <broder@mit.edu>
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Jonathan Reed <jdreed@mit.edu>
Jonathan Reed [Fri, 1 Apr 2011 20:19:05 +0000 (16:19 -0400)]
Support a configurable signature for zephyrs
Jonathan Reed [Wed, 2 Mar 2011 19:20:27 +0000 (14:20 -0500)]
Bump version number
Jonathan Reed [Wed, 2 Mar 2011 19:17:54 +0000 (14:17 -0500)]
Merge branch 'master' of /mit/snippets
Geoffrey Thomas [Thu, 24 Feb 2011 17:24:38 +0000 (12:24 -0500)]
Remove sipbmp3-itunes. See the mac branch of github.com/jhamrick/gutenbach
Jonathan Reed [Wed, 23 Feb 2011 18:29:03 +0000 (13:29 -0500)]
Include ticket type in zephyrs for non-defects
Mitchell E Berger [Fri, 19 Nov 2010 10:36:27 +0000 (05:36 -0500)]
git-hooks/zephyr-post-receive: Portability improvements
$() command substitution is a bashism, so use bash instead of sh
in the shebang line.
'readlink -f' isn't available everywhere, and we're not actually
worried about canonicalizing the path so much as avoiding an
uninformative "." as the name of the repo. Just cd into the
directory and look at pwd.
Signed-off-by: Mitchell E Berger <mitchb@mit.edu>
Geoffrey Thomas [Mon, 23 Aug 2010 10:00:44 +0000 (06:00 -0400)]
disasm: Disassemble hex bytes given on the command line as x86
dr-wily:~ geofft$ disasm c9c3
0: c9 leave
1: c3 ret
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Mon, 23 Aug 2010 09:59:41 +0000 (05:59 -0400)]
gccrun: Run tiny programs from the command line.
e.g.,
dr-wily:~ geofft$ gccrun 'printf("Hello world!\n");'
Hello world!
See http://geofft.mit.edu/blog/sipb/132 for a bit more info.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Edward Z. Yang [Sun, 18 Jul 2010 05:02:43 +0000 (22:02 -0700)]
Add noroot hook script for Git repositories.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Anders Kaseorg [Tue, 15 Jun 2010 08:11:05 +0000 (04:11 -0400)]
newline-fix.bash: Force the bash prompt to start after a newline
Some commands don’t print a newline at the end of their output, or
take long enough to return that you’ve already typed part of the
next command. Either causes bash to start its prompt in the middle
of a line, which confuses it. This script sets $PROMPT_COMMAND to
echo a magic sequence of terminal commands that will display a red
“<no LF>\n” before the prompt if it would otherwise start in the
middle of a line.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 16 May 2010 01:13:53 +0000 (21:13 -0400)]
rt/zephyr-scrip.pl: Display the correct ticket for merge notifications.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Jessica Hamrick [Wed, 12 May 2010 23:50:37 +0000 (19:50 -0400)]
Updated sipbmp3-itunes to point at github repo
Anders Kaseorg [Wed, 5 May 2010 22:40:03 +0000 (18:40 -0400)]
rt/zephyr-scrip.pl: Oops, fix URL.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Wed, 5 May 2010 22:39:17 +0000 (18:39 -0400)]
Add RT-to-Zephyr notification scrip.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Mon, 3 May 2010 00:45:42 +0000 (20:45 -0400)]
barnowl/zcrypt.pl: BarnOwl::quote the editwin prompt.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Mon, 3 May 2010 00:28:22 +0000 (20:28 -0400)]
barnowl/zcrypt.pl: Use zcrypt from the barnowl locker.
The new version supports AES and has fewer stupid buffer overflows.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Mon, 3 May 2010 00:27:38 +0000 (20:27 -0400)]
barnowl/zcrypt.pl: Fix a syntax error.
It would appear that commit
c0df155c9b3c4287ea11289f71f63ae7ebb1f360
was never tested.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Evan Broder [Mon, 26 Apr 2010 19:27:16 +0000 (15:27 -0400)]
TracZephyrPlugin: Bump version number.
Evan Broder [Mon, 26 Apr 2010 19:24:57 +0000 (15:24 -0400)]
TracZephyrPlugin: Allow setting an opcode on outgoing zephyrs.
Evan Broder [Sun, 21 Mar 2010 17:46:09 +0000 (13:46 -0400)]
Update the git post-receive hook for git's new default description.
Anders Kaseorg [Sun, 21 Mar 2010 07:53:52 +0000 (03:53 -0400)]
zephyr-post-receive: Don’t truncate a branch name containing /.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 01:14:26 +0000 (21:14 -0400)]
apt-zephyr: Send a “Done.” zephyr when dpkg finishes running.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 01:04:24 +0000 (21:04 -0400)]
apt-zephyr: Make pre_install_pkgs a function.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 01:02:53 +0000 (21:02 -0400)]
apt-zephyr: Don’t send empty zephyrs for no changes.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 00:58:42 +0000 (20:58 -0400)]
apt-zephyr: Make parse_v2 a function.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 00:57:52 +0000 (20:57 -0400)]
apt-zephyr: Make parse_v1 a function.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sun, 21 Mar 2010 00:56:11 +0000 (20:56 -0400)]
apt-zephyr: Make send_zephyr a function.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Nelson Elhage [Sat, 13 Mar 2010 19:58:18 +0000 (14:58 -0500)]
krbroot: Don't get renewable tickets
Geoffrey Thomas [Tue, 23 Feb 2010 23:34:55 +0000 (18:34 -0500)]
TracZephyrPlugin: Display the priority of new tickets.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Wed, 20 Jan 2010 05:34:21 +0000 (00:34 -0500)]
barnowl/zcrypt.pl: Pass the unencrypted message to zcrypt
If barnowl has already decrypted a message, :decrypt should still work.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Anders Kaseorg [Sun, 27 Dec 2009 10:28:35 +0000 (05:28 -0500)]
commit-zephyr, zephyr-post-revprop-change: Run in UTF-8 locale.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 18 Dec 2009 00:52:01 +0000 (19:52 -0500)]
TracZephyrPlugin: Smarter quoted text regex.
Some mail clients quote an empty line as ‘>’ instead of ‘> ’. Also
check that at least one of the quoted lines is nonempty.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Geoffrey Thomas [Sun, 27 Dec 2009 09:24:49 +0000 (04:24 -0500)]
svn-hooks: Add a zephyr revprop hook and comment commit-zephyr a bit.
Geoffrey Thomas [Mon, 30 Nov 2009 00:09:52 +0000 (19:09 -0500)]
git-rcsimport: Fix a typo with the use of mktemp.
Reported-by: Karl Ramm <kcr@mit.edu>
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sun, 29 Nov 2009 23:43:27 +0000 (18:43 -0500)]
zephyr-post-receive: Respect zephyr.instance on new branch creation.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sun, 29 Nov 2009 23:39:20 +0000 (18:39 -0500)]
zephyr-post-receive: Give defaults for zephyr.zsig.
First try $GIT_DIR/description if it's nontrivial; otherwise use the
base name of $GIT_DIR.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sun, 29 Nov 2009 22:52:56 +0000 (17:52 -0500)]
Remove sipbmp3-itunes.bak, now that /mit/snippets supports submodules.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Jessica B. Hamrick [Sun, 29 Nov 2009 22:14:55 +0000 (17:14 -0500)]
Changed the sipbmp3-itunes folder into a submodule, so that the repo can reside in the gutenbach repository.
Paul Quimby [Tue, 10 Nov 2009 20:59:43 +0000 (15:59 -0500)]
Added additional scripts for volume control, muting, viewing the queue, and removing music. Updated installation instructions and removed the invididual installation instructions in favor of the install doc.
Anders Kaseorg [Thu, 24 Sep 2009 15:06:33 +0000 (11:06 -0400)]
pkcs2pem: Handle quoting properly.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Thu, 24 Sep 2009 15:03:39 +0000 (11:03 -0400)]
pkcs2pem: Output an absolute path again.
This feature was accidentally removed; add it back.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Thu, 24 Sep 2009 14:57:00 +0000 (10:57 -0400)]
pkcs2pem: Output a single file with the private key and certificate.
(Actually, it already did, but it also gave you a separate certificate
file.)
It’s more convenient to deal with a single file. Many programs accept
it as the cert file without needing to specify a separate key file.
For other programs, you can just pass the same file as both the cert
file and the key file.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Evan Broder [Mon, 21 Sep 2009 19:59:54 +0000 (15:59 -0400)]
In kdo, reverse the order of the output of kcaches, calculate it more
correctly, and deal better with the ccache name containing spaces.
This should have been a problem on OS X since the default ccache is
"API:Initial default ccache". I think it wasn't only because if OS X
didn't recognize the KRB5CCNAME value, it assumed the default cache.
Anders Kaseorg [Mon, 21 Sep 2009 02:01:07 +0000 (22:01 -0400)]
zephyr-post-receive: Detect renames.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Nelson Elhage [Sun, 20 Sep 2009 23:32:29 +0000 (19:32 -0400)]
Import crondiff
Geoffrey Thomas [Sat, 12 Sep 2009 19:29:40 +0000 (15:29 -0400)]
git-hooks/zephyr-post-receive: Use --first-parent when listing commits.
This avoids zephyring the history of a merged-in branch, and just
zephyrs the merge commit itself.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Anders Kaseorg [Tue, 8 Sep 2009 17:19:58 +0000 (13:19 -0400)]
TracZephyrPlugin: Snip quoted text in replies.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Nelson Elhage [Sun, 30 Aug 2009 00:45:22 +0000 (20:45 -0400)]
gitignore ~ files
Signed-off-by: Nelson Elhage <nelhage@mit.edu>
Nelson Elhage [Sun, 30 Aug 2009 00:45:16 +0000 (20:45 -0400)]
Add a script for importing PKCS12 files from Firefox to PEM
Signed-off-by: Nelson Elhage <nelhage@mit.edu>
Evan Broder [Mon, 24 Aug 2009 00:30:42 +0000 (20:30 -0400)]
Instead of looping over the lpr commands within applescript, use a
backgrounded shell loop so that iTunes doesn't hang while the jobs are
printing.
(Since I'm not currently on campus, this is as yet untested.)
Geoffrey Thomas [Sat, 22 Aug 2009 03:45:21 +0000 (23:45 -0400)]
git-rcsimport: More portability fixes.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sat, 22 Aug 2009 03:25:23 +0000 (23:25 -0400)]
zephyr-post-receive: git-foo with a hyphen doesn't work any more.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sat, 22 Aug 2009 03:21:12 +0000 (23:21 -0400)]
git-rcsimport: readlink -f is nonportable
Geoffrey Thomas [Sat, 22 Aug 2009 03:13:37 +0000 (23:13 -0400)]
.gitignore
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Sat, 22 Aug 2009 03:12:23 +0000 (23:12 -0400)]
git-rcsimport: Import RCS directories in subdirectories, too.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Anders Kaseorg [Wed, 1 Jul 2009 18:49:47 +0000 (14:49 -0400)]
TracZephyrPlugin: Set UTF-8 source encoding.
This magically fixes the [â~@¦] garbage that was previously generated
instead of […].
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Tue, 30 Jun 2009 23:12:04 +0000 (19:12 -0400)]
TracZephyrPlugin: Put the ticket summary back.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Tue, 30 Jun 2009 23:06:54 +0000 (19:06 -0400)]
Apparently shlex.split doesn’t work on unicode.
Anders Kaseorg [Tue, 30 Jun 2009 22:17:23 +0000 (18:17 -0400)]
TracZephyrPlugin: Print more information about changed tickets.
Anders Kaseorg [Tue, 30 Jun 2009 21:47:37 +0000 (17:47 -0400)]
Display 5 lines instead of 255 chars, and truncate with […].
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Tue, 30 Jun 2009 20:27:29 +0000 (16:27 -0400)]
TracZephyrPlugin: Escape @ as @@.
(This will need to be moved if someone implements color support
later.)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Tue, 30 Jun 2009 20:24:59 +0000 (16:24 -0400)]
TracZephyrPlugin: Split command using shlex to allow multiword arguments.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Geoffrey Thomas [Mon, 29 Jun 2009 15:51:14 +0000 (11:51 -0400)]
TracZephyrPlugin: Be more flexible in the custom zwrite command
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Geoffrey Thomas [Mon, 29 Jun 2009 15:10:04 +0000 (11:10 -0400)]
TracZephyrPlugin: Permit using a custom command (e.g. zcrypt)
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Anders Kaseorg [Thu, 21 May 2009 04:16:24 +0000 (00:16 -0400)]
Add apt-zephyr hook.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Geoffrey Thomas [Fri, 8 May 2009 04:17:32 +0000 (00:17 -0400)]
Don't crash when a branch is created.
It doesn't give you particularly useful output, and it doesn't handle
the case of a branch being deleted. But it's a little better.
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Nelson Elhage [Thu, 30 Apr 2009 03:25:32 +0000 (23:25 -0400)]
kdo: Add an emacs modeline, and make emacs happier with quoting.
Evan Broder [Sat, 25 Apr 2009 17:53:50 +0000 (13:53 -0400)]
Add back usage information for kdo.
Evan Broder [Sat, 25 Apr 2009 17:52:27 +0000 (13:52 -0400)]
Replace kdo with the new, modular, self-documenting, potentially
portable version.
Paul Quimby [Sun, 5 Apr 2009 04:31:36 +0000 (00:31 -0400)]
Added set volume script
Paul Quimby [Sun, 5 Apr 2009 04:28:41 +0000 (00:28 -0400)]
Added the set volume script
Evan Broder [Tue, 31 Mar 2009 19:13:56 +0000 (15:13 -0400)]
TracZephyrPlugin: Bump the version number.
Evan Broder [Tue, 31 Mar 2009 19:12:57 +0000 (15:12 -0400)]
In TracZephyrPlugin: Change how line wrapping works.
Evan Broder [Tue, 31 Mar 2009 19:10:49 +0000 (15:10 -0400)]
In TracZephyrPlugin: Change tabs to spaces.