Dimitri John Ledkov
47e7f8f50f
Add add_team_repo command.
2015-10-05 16:26:29 +01:00
Seth House
e319ff159d
Merge pull request #17 from whiteinge/dashisms
...
Fix dashisms; add test for jq filter with pipe
0.2.2
2015-09-30 00:25:20 -06:00
Seth House
36057afa5a
Add unit test for jq filters that contain a pipe character
2015-09-30 00:22:55 -06:00
Seth House
4e42ffe202
Fix dash-isms
...
Fixes #16 .
Dash does not like multiple assignments after a `local` keyword; each
must be a separate assignment otherwise the subsequent vars will be
globals.
Dash does not preserve whitespace or odd characters for direct
variable assignments in the context of the `local` keyword. I.e.,
`varname=$1` is fine but `local varname=$1` is not.
2015-09-30 00:11:34 -06:00
Seth House
879b665e8a
Merge pull request #15 from whiteinge/paginate-org-repos
...
Add pagination options to org_repos()
2015-09-20 15:22:16 -06:00
Seth House
3d71943dc1
Add pagination options to org_repos()
2015-09-20 15:00:41 -06:00
Seth House
6e150c8c23
Merge pull request #14 from whiteinge/shellcheck
...
Shellcheck
2015-09-20 15:00:22 -06:00
Seth House
e47201d189
Run shellcheck in addition to the tests
2015-09-20 14:59:22 -06:00
Seth House
57ca7eea83
Fix a few possible issues informed by Shellcheck
2015-09-20 14:59:22 -06:00
Seth House
589ac7c8bc
Merge pull request #13 from whiteinge/integration-tests
...
Add integration tests
2015-08-29 01:45:14 -06:00
Seth House
93c3f6e0cd
Add integration tests for pagination following on _get function
2015-08-29 01:43:55 -06:00
Seth House
2e94400633
Add function to mimic GitHub Link pagination header responses
2015-08-29 00:27:06 -06:00
Seth House
f5c6c9e5d2
Fix trap'd exit status code
2015-08-28 23:31:10 -06:00
Seth House
89715d415f
Add placeholder for GET requests
2015-08-28 22:07:01 -06:00
Seth House
0addcb300e
Add socat to travis deps
2015-08-28 22:00:54 -06:00
Seth House
af90039620
Add test for 500 responses
2015-08-28 21:51:33 -06:00
Seth House
f07812cf63
Allow special URLs for specific tests
2015-08-28 21:51:15 -06:00
Seth House
4d9ba6ac44
Add integration tests
2015-08-28 21:49:15 -06:00
Seth House
b74257cc83
Refactored unit_tests into a reusable test runner function
2015-08-28 20:57:37 -06:00
Seth House
479a76298a
Add mock server script that pretends to be GitHub for integration tests
2015-08-28 20:44:39 -06:00
Seth House
d9701b7647
Remove bash-ism conditional
0.2.1
2015-06-30 17:30:34 -06:00
Seth House
36d6b92b34
Add update_label()
2015-06-17 20:03:45 -06:00
Seth House
48de00eee1
Add create_milestone()
2015-06-16 17:07:56 -06:00
Seth House
ae523333c8
Add listing and adding labels
2015-06-15 21:24:17 -06:00
Seth House
a4d849c289
Revert "Move _helptext() functionality into help()"
...
This broke the `-h` output and isn't fully baked yet. Reverting
temporarily until it can be cleaned up.
This reverts commit 946b74c2f9 .
2015-06-15 15:17:55 -06:00
Seth House
946b74c2f9
Move _helptext() functionality into help()
...
This code is a little too scattered between several functions. I want to
be able to output the full help text, subsets of the help text, as well
as function names without having to reimplement the parsing logic each
time.
2015-06-15 01:52:36 -06:00
Seth House
70730e1e8e
Make section heading formatting consistent with contiguous comment hdrs
2015-06-15 00:49:56 -06:00
Seth House
76edc66eba
Move headings out of function definitions
...
A function shouldn't (need to) be aware of where it lives in the heading
hierarchy. That should be handled centrally.
2015-06-15 00:49:56 -06:00
Seth House
e4f515765e
Add notion of uncallable functions using double-underscore
...
The __main() function is not intended to be called directly. It should
not show up in any output.
2015-06-14 19:44:13 -06:00
Seth House
b2d1f02c0f
Change _helptext() to only accept stdin
...
No need for the (minor) added complexity here.
2015-06-14 19:06:41 -06:00
Seth House
439ac4cda6
Don't output a header for command-specific help
...
We don't need a header for a single command since we just typed the
command name to get the help text. This will be better done centrally
since the heading-level matters anyway.
2015-06-14 15:30:50 -06:00
Seth House
4ea47a214c
Update README
2015-06-14 15:22:12 -06:00
Seth House
c05ceff72a
Simplify main -h help text with less narration and more examples
2015-06-14 14:47:41 -06:00
Seth House
3601afbe92
Update README
2015-06-14 14:10:28 -06:00
Seth House
00662121ef
Add note to upload_asset() that jq is required for this command
...
This the only command that requires jq since it needs to fetch
information from GitHub before uploading the asset. Perhaps that means
it should be rethought and reimplemented as two separate commands...
2015-06-14 14:10:28 -06:00
Seth House
691764606a
Clarify main help() text; add public and private commands to output
2015-06-14 14:10:28 -06:00
Seth House
b3551bbe4c
Allow _all_funcs to more easily choose public or private to output
2015-06-14 14:10:28 -06:00
Seth House
43f85b08f2
Fix incorrect example for show_scopes()
2015-06-14 11:22:51 -06:00
Seth House
4e06dd148b
Clarified main help text on flags and args/kwargs
2015-06-14 11:22:41 -06:00
Seth House
25abb57a48
Fix incorrect docs about available querysting args when listing issues
2015-06-12 13:19:34 -06:00
Seth House
1dbaa352a9
Show the milestone number not id by default
...
Follow-up queries, like filtering issues by milestone are expecting this
value.
2015-06-12 13:18:50 -06:00
Seth House
5de54c00d9
Bump travis on the rename
2015-06-11 10:01:46 -06:00
Seth House
377873ff51
Merge pull request #8 from whiteinge/rename-ok-sh
...
Rename to ok.sh
2015-06-11 09:51:27 -06:00
Seth House
e004f084a4
Updated README for the rename
2015-06-11 09:49:03 -06:00
Seth House
4bc243cdd6
Rename the script to ok.sh
2015-06-11 09:47:18 -06:00
Seth House
0e6579853e
Rename octokit.sh to ok.sh
...
Only officially supported libs should use the 'Octokit' name.
2015-06-11 09:40:27 -06:00
Seth House
4c83e7468d
Fix md formatting around _opts_qs example usage
2015-06-11 02:31:33 -06:00
Seth House
e1b9d4a40f
Update README with issues additions
0.2.0
2015-06-11 01:34:14 -06:00
Seth House
24151f5730
Shorten the copy-and-pasted jq filter argument help text
2015-06-11 01:32:55 -06:00
Seth House
bfc6853ec5
Add functions for fetching issue information
2015-06-11 01:30:24 -06:00