snippets/.git
3 years agozephyr-post-receive: Translate Git trailing space highlighting master origin/HEAD origin/master
Anders Kaseorg [Tue, 11 Apr 2017 02:03:28 +0000 (22:03 -0400)] 
zephyr-post-receive: Translate Git trailing space highlighting

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
5 years agoAdd .htaccess.mit to enable web indexes
Geoffrey Thomas [Thu, 30 Jul 2015 02:31:01 +0000 (22:31 -0400)] 
Add .htaccess.mit to enable web indexes

5 years agort/Scrips/zephyr.pl: Path to zwrite changed
Anders Kaseorg [Tue, 20 Jan 2015 01:24:43 +0000 (20:24 -0500)] 
rt/Scrips/zephyr.pl: Path to zwrite changed

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
6 years agoDjango: more explicit instructions, plus markdown
Alex Dehnert [Sat, 30 Nov 2013 07:37:31 +0000 (02:37 -0500)] 
Django: more explicit instructions, plus markdown

6 years agoUpdate COPYING file and move into mit auth plugin
Alex Dehnert [Sat, 30 Nov 2013 07:00:27 +0000 (02:00 -0500)] 
Update COPYING file and move into mit auth plugin

6 years agoUpdate Django plugin with current upstream code
Alex Dehnert [Sat, 30 Nov 2013 06:45:06 +0000 (01:45 -0500)] 
Update Django plugin with current upstream code

* commit '5ba5fe8d4f31b66af67137cc36f79597138b76b0':
  Scripts auth: don't activate on 127.0.0.1 either
  Use API function instead of UNUSABLE_PASSWORD
  Set a password of UNUSABLE_PASSWORD
  kinit when creating a MoiraList object
  Wrappers for safely calling commands in a new PAG
  Validate constitution_url (ASA-#76)
  Django MIT plugin: Don't crash on users with hidden emails (ASA Trac: #63)
  Function to create an MIT user with LDAP data

6 years agoDjango plugin: no-op subtree merge
Alex Dehnert [Sat, 30 Nov 2013 06:41:06 +0000 (01:41 -0500)] 
Django plugin: no-op subtree merge

This is a no-op git subtree merge from upstream asa-db, in the hopes of making
pulling newer code with git subtree easier.

Merge commit 'abab96a3e55d8663f996684add635ff7eaf472f6'

* commit 'abab96a3e55d8663f996684add635ff7eaf472f6':
  Scripts auth: Use ldap-too for LDAP server
  Merge "upstream" fixes from SIPB's snippets
  localhost check needs to use portless-HTTP_HOST
  Add scripts_login, to do cert login if possible
  Shamelessly lift MIT-specific code from Remit

6 years agoMove Django docs up a level, to ease subtree merging
Alex Dehnert [Sat, 30 Nov 2013 06:36:07 +0000 (01:36 -0500)] 
Move Django docs up a level, to ease subtree merging

6 years agoBarnowl-RT: Add rejected message shortcuts
Pweaver (Paul Weaver) [Tue, 12 Nov 2013 03:12:42 +0000 (22:12 -0500)] 
Barnowl-RT: Add rejected message shortcuts

7 years agozephyr-post-receive: Set UTF-8 locale
Anders Kaseorg [Mon, 12 Aug 2013 23:31:45 +0000 (19:31 -0400)] 
zephyr-post-receive: Set UTF-8 locale

The hook script isn’t always run in a fully initialized environment;
this makes sure the outgoing zephyr gets marked with the right
charset.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
7 years agoTracZephyrPlugin: Set Zephyr charset to UTF-8
Anders Kaseorg [Mon, 12 Aug 2013 23:20:37 +0000 (19:20 -0400)] 
TracZephyrPlugin: Set Zephyr charset to UTF-8

This way we don’t need to rely on a UTF-8 locale from the environment.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
7 years agozcrypt.pl: No need to replace BarnOwl’s builtin zcrypt anymore
Anders Kaseorg [Sat, 3 Aug 2013 20:43:53 +0000 (16:43 -0400)] 
zcrypt.pl: No need to replace BarnOwl’s builtin zcrypt anymore

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
7 years agoScripts auth: don't activate on 127.0.0.1 either
Alex Dehnert [Sun, 7 Jul 2013 04:27:57 +0000 (00:27 -0400)] 
Scripts auth: don't activate on 127.0.0.1 either

The scripts auth module has long delegated to the standard Django auth when the
hostname was localhost, in order to ignore local dev server instances. This
makes it also delegate to standard Django for 127.0.0.1 as well.  I'm not sure
why this hadn't come up before now... A quick look at the Django codebase
suggests this isn't a recent change.

7 years agoPut the ticket URL in the zsig
Alex Dehnert [Mon, 20 May 2013 08:33:34 +0000 (04:33 -0400)] 
Put the ticket URL in the zsig

7 years agoapt-zephyr: Fix send-zephyr typo
Anders Kaseorg [Tue, 12 Mar 2013 01:30:10 +0000 (21:30 -0400)] 
apt-zephyr: Fix send-zephyr typo

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
7 years agozephyr-post-receive: fix quoting and tabs
Alex Dehnert [Sat, 2 Feb 2013 23:59:17 +0000 (18:59 -0500)] 
zephyr-post-receive: fix quoting and tabs

7 years agozephyr-post-receive: send the diff when short
Alex Dehnert [Sat, 2 Feb 2013 22:50:52 +0000 (17:50 -0500)] 
zephyr-post-receive: send the diff when short

When the diff represented by a commit is sufficiently short, send the diff in
addition to the usual commit and change size information. Patch from
/mit/ua/git/zephyr-post-receive, probably originally written by Quentin Smith
<quentin@mit.edu>.

7 years agoUse API function instead of UNUSABLE_PASSWORD
Alex Dehnert [Mon, 24 Dec 2012 08:39:49 +0000 (03:39 -0500)] 
Use API function instead of UNUSABLE_PASSWORD

Yay abstractions, or something.

7 years agoSet a password of UNUSABLE_PASSWORD
Alex Dehnert [Mon, 24 Dec 2012 08:28:00 +0000 (03:28 -0500)] 
Set a password of UNUSABLE_PASSWORD

* Changes ScriptsRemoteUserBackend's configure_user method to set the default
  password to UNUSABLE_PASSWORD instead of ScriptsSSLAuth. UNUSABLE_PASSWORD
  displays in the admin as "Password: None", instead of an ugly error message.
  This should fix "Unknown password hashing algorithm" errors for users
  correctly created in the future. (ASA-#132)

* Adds a migration to change current users with passwords of "" or
  "ScriptsSSLAuth" to a password of UNUSABLE_PASSWORD ("!"). This will fix
  ASA-#132 and the symptoms of ASA-#133 for already-existent users.

7 years agort/Scrips/zephyr.pl: Simplify installation
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>
7 years agoFix spelling of "Transaction" in zephyr scrip
Alex Dehnert [Wed, 5 Dec 2012 09:37:10 +0000 (04:37 -0500)] 
Fix spelling of "Transaction" in zephyr scrip

7 years agoCreate RT scrips directory
Alex Dehnert [Wed, 5 Dec 2012 09:34:27 +0000 (04:34 -0500)] 
Create RT scrips directory

8 years agokinit when creating a MoiraList object
Alex Dehnert [Mon, 17 Sep 2012 06:08:56 +0000 (02:08 -0400)] 
kinit when creating a MoiraList object

This allows group/diffs.py to work without kinit'ing outside the script, fixing
the key deficiency in ac9b167bcf85a9f723e27967649c2c033f2259da.

8 years agoWrappers for safely calling commands in a new PAG
Alex Dehnert [Sun, 16 Sep 2012 01:53:40 +0000 (21:53 -0400)] 
Wrappers for safely calling commands in a new PAG

The usual mechanism for starting a new PAG is pagsh(1). Unfortunately, because
it basically just execvp(3) /bin/sh passing the appropriate arguments, it isn't
immediately obvious how to safely pass arguments that may contain shell
metacharacters. By using the shell's exec and taking advantage of the fact that
later arguments to /bin/sh end up in $@ we can safely avoid shell
metacharacters. We wrap subprocess.check_{call,output} in
pag_check_{call,output}, which perform appropriate contortions to establish the
PAG before safely executing the passed commands without evaluating any
metacharacters.

8 years agoValidate constitution_url (ASA-#76)
Alex Dehnert [Mon, 10 Sep 2012 08:50:40 +0000 (04:50 -0400)] 
Validate constitution_url (ASA-#76)

8 years agoprogramming: Sync gccrun and disasm from my locker (oops)
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.

8 years agozephyr-post-receive: Abort after 10 zephyrs to prevent zwrite flood
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>
8 years agoClose RT process when done
Paul D Weaver [Tue, 6 Mar 2012 19:36:21 +0000 (14:36 -0500)] 
Close RT process when done

8 years agoBarnowl-RT readable source
Paul D Weaver [Mon, 27 Feb 2012 22:11:59 +0000 (17:11 -0500)] 
Barnowl-RT readable source

8 years agort barnowl source location
Paul D Weaver [Mon, 27 Feb 2012 22:02:17 +0000 (17:02 -0500)] 
rt barnowl source location

8 years agoBarnowl RT module
Paul D Weaver [Mon, 27 Feb 2012 21:55:18 +0000 (16:55 -0500)] 
Barnowl RT module

8 years agoDjango MIT plugin: Don't crash on users with hidden emails (ASA Trac: #63)
Geoffrey Thomas [Tue, 24 Jan 2012 06:57:01 +0000 (01:57 -0500)] 
Django MIT plugin: Don't crash on users with hidden emails (ASA Trac: #63)

8 years agoFunction to create an MIT user with LDAP data
Alex Dehnert [Sun, 18 Dec 2011 05:49:59 +0000 (00:49 -0500)] 
Function to create an MIT user with LDAP data

This adds a function get_or_create_mit_user. As with the "get_or_create"
methods on managers, this returns an object satisfying some conditions,
creating it if necessary. In this case, we return a User object that's
populated using data from MIT's LDAP. If the user does not exist and
cannot be found in LDAP, we raise an exception.

9 years agoScripts auth: Use ldap-too for LDAP server
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.

9 years agoScripts auth: Use ldap-too for LDAP server
Alex Dehnert [Tue, 25 Oct 2011 16:25:33 +0000 (12:25 -0400)] 
Scripts auth: Use ldap-too for LDAP server

Apparently it includes email addresses for people who have suppressed it,
unlike ldap.mit.edu.

9 years agoMerge "upstream" fixes from SIPB's snippets
Alex Dehnert [Mon, 6 Jun 2011 07:10:15 +0000 (03:10 -0400)] 
Merge "upstream" fixes from SIPB's snippets

9 years agoAdd README and COPYING for django/mit/
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.

9 years agoMore sensible defaults for a library's zephyr()
Alex Dehnert [Mon, 6 Jun 2011 06:55:11 +0000 (02:55 -0400)] 
More sensible defaults for a library's zephyr()

9 years agoMerge remote branch 'django-mit/master'
Alex Dehnert [Mon, 6 Jun 2011 06:37:44 +0000 (02:37 -0400)] 
Merge remote branch 'django-mit/master'

9 years agoMerge branch 'asa-db-mods'
Alex Dehnert [Mon, 6 Jun 2011 06:34:19 +0000 (02:34 -0400)] 
Merge branch 'asa-db-mods'

9 years agolocalhost check needs to use portless-HTTP_HOST
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.

9 years agoAdd scripts_login, to do cert login if possible
Alex Dehnert [Sun, 30 May 2010 01:10:59 +0000 (21:10 -0400)] 
Add scripts_login, to do cert login if possible

9 years agoShamelessly lift MIT-specific code from Remit
Alex Dehnert [Thu, 13 May 2010 09:58:47 +0000 (05:58 -0400)] 
Shamelessly lift MIT-specific code from Remit

9 years agoFix issues with user setup in the scripts backend
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.

9 years agoAuto-apply 'mit' and 'autocreated' groups
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.

9 years agoProperly escape the zwrite command line
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.

9 years agoLookup users in LDAP while auto-creating
Alex Dehnert [Tue, 9 Mar 2010 09:41:43 +0000 (04:41 -0500)] 
Lookup users in LDAP while auto-creating

9 years agoGive autocreated users a fake password (Trac: #38)
Alex Dehnert [Thu, 27 May 2010 00:15:03 +0000 (20:15 -0400)] 
Give autocreated users a fake password (Trac: #38)

9 years agoCert auth works!
Alex Dehnert [Tue, 2 Feb 2010 16:38:15 +0000 (11:38 -0500)] 
Cert auth works!

9 years agoCertificate auth start
Alex Dehnert [Tue, 2 Feb 2010 15:55:36 +0000 (10:55 -0500)] 
Certificate auth start

9 years agoRoot commit
Alex Dehnert [Tue, 5 Jan 2010 02:18:56 +0000 (21:18 -0500)] 
Root commit

9 years agoRelease TracZephyrPlugin under the MIT license.
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>
9 years agoSupport a configurable signature for zephyrs
Jonathan Reed [Fri, 1 Apr 2011 20:19:05 +0000 (16:19 -0400)] 
Support a configurable signature for zephyrs

9 years agoBump version number
Jonathan Reed [Wed, 2 Mar 2011 19:20:27 +0000 (14:20 -0500)] 
Bump version number

9 years agoMerge branch 'master' of /mit/snippets
Jonathan Reed [Wed, 2 Mar 2011 19:17:54 +0000 (14:17 -0500)] 
Merge branch 'master' of /mit/snippets

9 years agoRemove sipbmp3-itunes. See the mac branch of github.com/jhamrick/gutenbach
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

9 years agoInclude ticket type in zephyrs for non-defects
Jonathan Reed [Wed, 23 Feb 2011 18:29:03 +0000 (13:29 -0500)] 
Include ticket type in zephyrs for non-defects

9 years agogit-hooks/zephyr-post-receive: Portability improvements
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>
10 years agodisasm: Disassemble hex bytes given on the command line as x86
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>
10 years agogccrun: Run tiny programs from the command line.
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>
10 years agoAdd noroot hook script for Git repositories.
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>
10 years agonewline-fix.bash: Force the bash prompt to start after a newline
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>
10 years agolocalhost check needs to use portless-HTTP_HOST
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.

10 years agoAdd scripts_login, to do cert login if possible
Alex Dehnert [Sun, 30 May 2010 01:10:59 +0000 (21:10 -0400)] 
Add scripts_login, to do cert login if possible

10 years agort/zephyr-scrip.pl: Display the correct ticket for merge notifications.
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>
10 years agoShamelessly lift MIT-specific code from Remit
Alex Dehnert [Thu, 13 May 2010 09:58:47 +0000 (05:58 -0400)] 
Shamelessly lift MIT-specific code from Remit

10 years agoUpdated sipbmp3-itunes to point at github repo
Jessica Hamrick [Wed, 12 May 2010 23:50:37 +0000 (19:50 -0400)] 
Updated sipbmp3-itunes to point at github repo

10 years agort/zephyr-scrip.pl: Oops, fix URL.
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>
10 years agoAdd RT-to-Zephyr notification scrip.
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>
10 years agobarnowl/zcrypt.pl: BarnOwl::quote the editwin prompt.
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>
10 years agobarnowl/zcrypt.pl: Use zcrypt from the barnowl locker.
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>
10 years agobarnowl/zcrypt.pl: Fix a syntax error.
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>
10 years agoTracZephyrPlugin: Bump version number.
Evan Broder [Mon, 26 Apr 2010 19:27:16 +0000 (15:27 -0400)] 
TracZephyrPlugin: Bump version number.

10 years agoTracZephyrPlugin: Allow setting an opcode on outgoing zephyrs.
Evan Broder [Mon, 26 Apr 2010 19:24:57 +0000 (15:24 -0400)] 
TracZephyrPlugin: Allow setting an opcode on outgoing zephyrs.

10 years agoUpdate the git post-receive hook for git's new default description.
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.

10 years agozephyr-post-receive: Don’t truncate a branch name containing /.
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>
10 years agoapt-zephyr: Send a “Done.” zephyr when dpkg finishes running.
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>
10 years agoapt-zephyr: Make pre_install_pkgs a function.
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>
10 years agoapt-zephyr: Don’t send empty zephyrs for no changes.
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>
10 years agoapt-zephyr: Make parse_v2 a function.
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>
10 years agoapt-zephyr: Make parse_v1 a function.
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>
10 years agoapt-zephyr: Make send_zephyr a function.
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>
10 years agokrbroot: Don't get renewable tickets
Nelson Elhage [Sat, 13 Mar 2010 19:58:18 +0000 (14:58 -0500)] 
krbroot: Don't get renewable tickets

10 years agoTracZephyrPlugin: Display the priority of new 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>
10 years agobarnowl/zcrypt.pl: Pass the unencrypted message to zcrypt
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>
10 years agocommit-zephyr, zephyr-post-revprop-change: Run in UTF-8 locale.
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>
10 years agoTracZephyrPlugin: Smarter quoted text regex.
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>
10 years agosvn-hooks: Add a zephyr revprop hook and comment commit-zephyr a bit.
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.

10 years agogit-rcsimport: Fix a typo with the use of mktemp.
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>
10 years agozephyr-post-receive: Respect zephyr.instance on new branch creation.
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>
10 years agozephyr-post-receive: Give defaults for zephyr.zsig.
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>
10 years agoRemove sipbmp3-itunes.bak, now that /mit/snippets supports submodules.
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>
10 years agoChanged the sipbmp3-itunes folder into a submodule, so that the repo can reside in...
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.

10 years agoAdded additional scripts for volume control, muting, viewing the queue, and removing...
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.

11 years agopkcs2pem: Handle quoting properly.
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>
11 years agopkcs2pem: Output an absolute path again.
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>
11 years agopkcs2pem: Output a single file with the private key and certificate.
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>
11 years agoIn kdo, reverse the order of the output of kcaches, calculate it more
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.

11 years agozephyr-post-receive: Detect renames.
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>
11 years agoImport crondiff
Nelson Elhage [Sun, 20 Sep 2009 23:32:29 +0000 (19:32 -0400)] 
Import crondiff