commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\207" [require auth-source cl-lib json let-alist url url-auth url-http] 2) |
|
16 |
#@58 The default host that is used if `ghub.host' is not set. |
|
17 |
(defconst ghub-default-host "api.github.com" (#$ . 582)) |
|
18 |
#@882 The Github API scopes that your private tools need. |
|
19 |
|
|
20 |
The token that is created based on the value of this variable |
|
21 |
is used when `ghub-request' (or one of its wrappers) is called |
|
22 |
without providing a value for AUTH. Packages should always |
|
23 |
identify themselves using that argument, but when you use Ghub |
|
24 |
directly in private tools, then that is not necessary and the |
|
25 |
request is made on behalf of the `ghub' package itself, aka on |
|
26 |
behalf of some private tool. |
|
27 |
|
|
28 |
By default the only requested scope is `repo' because that is |
|
29 |
sufficient as well as required for most common uses. This and |
|
30 |
other scopes are documented at URL `https://magit.vc/goto/2e586d36'. |
|
31 |
|
|
32 |
If your private tools need other scopes, then you have to add |
|
33 |
them here *before* creating the token. Alternatively you can |
|
34 |
edit the scopes of an existing token using the web interface |
|
35 |
at URL `https://github.com/settings/tokens'. |
|
36 |
(defvar ghub-github-token-scopes '(repo) (#$ . 703)) |
|
37 |
#@134 If non-nil, the string used to identify the local machine. |
|
38 |
If this is nil, then the value returned by `system-name' is |
|
39 |
used instead. |
|
40 |
(defvar ghub-override-system-name nil (#$ . 1644)) |
|
41 |
#@68 compiler-macro for inlining `ghub--req-p'. |
|
42 |
|
|
43 |
(fn CL-WHOLE-ARG CL-X) |
|
44 |
(defalias 'ghub--req-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ghub--req-p (and (memq (type-of cl-x) cl-struct-ghub--req-tags) t)) nil] 9 (#$ . 1834)]) |
|
45 |
(put 'ghub--req-p 'compiler-macro 'ghub--req-p--cmacro) |
|
46 |
#@13 |
|
47 |
|
|
48 |
(fn CL-X) |
|
49 |
(defalias 'ghub--req-p #[257 "\301!>\205 |