Bradley M. Kuhn
34e00ca5f0
Create rt-helper.pl and move one function to it.
...
Move function to rt-helper.pl that might be used in other Perl scripts.
2018-07-25 13:57:02 -07:00
Bradley M. Kuhn
c9c3b8b01e
I forgot map returns the last item in its block.
...
I want what $_ became, not the "1" returned from the s/// :)
2018-07-25 09:49:50 -07:00
Bradley M. Kuhn
e11ceab5dd
Do not be so strict on this regex.
2018-07-25 09:49:34 -07:00
Bradley M. Kuhn
2e8f9c42d1
Correct rt show output; add verbosity there.
...
Note that "rt show ticket/NUMBER" does not give the entire ticket traffic,
whereas "rt show NUMBER" does.
2018-07-25 09:44:19 -07:00
Bradley M. Kuhn
c1fdf916d9
Fix typo.
2018-07-25 09:44:14 -07:00
Bradley M. Kuhn
7ec2c7a291
First draft of the bulk-prep-pay script.
2018-07-25 09:40:30 -07:00
Bradley M. Kuhn
052d32fc5e
Add Travel notice ticket link, and fix RT commands.
2018-07-25 09:40:19 -07:00
Bradley M. Kuhn
5697b6beee
Add --round CLI argument; use that round for search criterion.
2018-07-22 19:25:49 -07:00
Bradley M. Kuhn
8aa05bff6d
Allow FIXME_INVOICE_DATE in document templates.
2018-07-22 19:25:42 -07:00
Bradley M. Kuhn
9cb57fe776
Complete script, improving error messages.
2018-07-22 18:49:06 -07:00
Bradley M. Kuhn
421dd769cb
Match better what is typical in the ticket subject
2018-07-22 18:05:23 -07:00
Bradley M. Kuhn
5c28767692
Remove unnecessary my
2018-07-22 16:36:07 -07:00
Bradley M. Kuhn
c0e328dccf
Add files for correspondence.
2018-07-22 16:35:55 -07:00
Bradley M. Kuhn
48ec393a01
Support lookup of reimbursement ticket
2018-07-22 16:35:35 -07:00
Bradley M. Kuhn
dcbf4bac2c
autodie on everything.
2018-07-22 16:02:13 -07:00
Bradley M. Kuhn
5936b5eec5
Improve output.
2018-07-22 16:02:07 -07:00
Bradley M. Kuhn
ace578089c
count old interns.
2018-07-22 15:31:18 -07:00
Bradley M. Kuhn
467522f331
Add pay date to error output.
2018-07-22 15:22:25 -07:00
Bradley M. Kuhn
f00819a174
Correct tax ticket processing.
2018-07-22 15:22:16 -07:00
Bradley M. Kuhn
2598a6f739
Additional issues with CF matching.
2018-07-22 15:21:59 -07:00
Bradley M. Kuhn
54cd914e47
LedgerTagFromTicket: handle that CF line might be first
...
The 'CF.{ledger-tags}: ' portion appears on the first line of output, so that
must be handled.
2018-07-22 15:13:03 -07:00
Bradley M. Kuhn
def7498189
newline should be on output.
2018-07-22 15:09:36 -07:00
Bradley M. Kuhn
eb52743036
Fix Regex.
2018-07-22 15:09:13 -07:00
Bradley M. Kuhn
cdf9526b3d
More processing work.
2018-07-22 15:08:59 -07:00
Bradley M. Kuhn
cebb1d813b
Move Entity lookup until after ticket is found.
2018-07-22 15:08:45 -07:00
Bradley M. Kuhn
cb49fb5c3e
Add command line option.
2018-07-22 15:08:31 -07:00
Bradley M. Kuhn
fc1c35c25c
Skip even if they did not pass.
2018-07-22 14:35:32 -07:00
Bradley M. Kuhn
0170039053
Add lines of #'s between functions.
2018-07-22 14:35:20 -07:00
Bradley M. Kuhn
0f0b60eada
Lookup previous payment and verify all is good.
2018-07-22 14:34:04 -07:00
Bradley M. Kuhn
9b7858843b
Add Entity lookup.
2018-07-22 14:33:02 -07:00
Bradley M. Kuhn
81b6fcefc1
Don't die on any failure; just move on to next file.
...
I'm going to leave the files as is if I can't really validly process them at
all, so the indicator that I finished the operation is renaming the file.
2018-07-15 09:07:54 -07:00
Bradley M. Kuhn
b48b6b3945
A few more ticket lookup subs.
2018-07-15 09:05:58 -07:00
Bradley M. Kuhn
7685bfc61a
More command line options.
2018-07-15 09:05:33 -07:00
Bradley M. Kuhn
aa5e41555e
Set $pass to binary value; rename $date to $mentorDate.
2018-07-15 09:04:31 -07:00
Bradley M. Kuhn
0d564dd4fd
Add Emacs variables.
2018-07-15 08:34:14 -07:00
Bradley M. Kuhn
5ca9c0c0b3
Outreachy Payment Next script for RT
...
The Outreachy tickets have to move in some semi-automated fashion when
Conservancy receives approval from the Outreachy PLC that mentors have
approved Outreachy payments.
This script will likely be too specific that it can't be used outside of
Conservancy, but the details of what it does might be useful to learn how to
glue together RT operations from the RT CLI.
This first pass simply finds the tickets via the file names of the approval
files as sent by Outreachy PLC.
2018-07-15 08:30:36 -07:00
Brett Smith
3c4bf92c5f
rt-bulk-send: Make info the default loglevel.
2018-06-07 08:53:32 -04:00
Brett Smith
b1249cc40f
rt-auto-remind: Avoid <= or >= operands for date searches.
...
RT doesn't seem to support these well.
See the comment for details.
2018-05-16 16:36:18 -04:00
Brett Smith
ddf525f0c5
rt-send-all-reminders: Support extra args for rt
in the YAML file.
2018-05-16 15:59:09 -04:00
Brett Smith
de60b9ed56
rt-send-all-reminders: Add --dry-run flag.
2018-05-16 09:33:18 -04:00
Brett Smith
01b132a208
rt-auto-remind: Remove unused imports.
2018-05-16 09:13:23 -04:00
Brett Smith
7282ba1199
rt-send-all-reminders: Make template search directory configurable.
2018-05-15 09:07:23 -04:00
Brett Smith
e55397d0f6
rt-auto-remind: Remove stray debug logging.
...
Left over during development.
2018-05-15 09:07:05 -04:00
Brett Smith
bf088c5f15
README: Initial commit.
2018-05-15 06:58:06 -04:00
Brett Smith
50fd55482d
scripts: Initial commit.
2018-05-15 06:43:22 -04:00
Brett Smith
aea9fc0536
LICENSE: Initial commit.
2018-05-15 06:39:46 -04:00