.gitbay/wiki/Parity.org

4a511e42574ead9c92dc73fd320f296cc4dbea07
gitbay/.gitbay/wiki/Parity.org

577 lines · 29939 bytes

10 symbols in this file
  1#+title: Parity
  2
  3Which surface can do what. The CLI is meant to be the complete
  4interface: every capability exists over SSH, and the other surfaces
  5dispatch the same control commands rather than reimplementing them, so
  6they cannot drift. This page is updated in the merge request that
  7changes a row.
  8
  9Three surfaces now: the CLI over SSH, the web, and the iOS client
 10(krz/gitbay-ios). A =no= in the cli column is a defect, not a
 11preference — it means some surface reached around the registry and
 12stranded a capability where only it can reach.
 13
 14* Rule
 15
 16A capability lands over SSH first. If it belongs to the
 17triage/review/respond loop, it lands on the web in the same merge
 18request. Nothing is held back from a surface any more (#234): the
 19registry has no flag for it, and what a caller may do is the account's
 20rights narrowed by the scope of the key or token it arrived with,
 21decided in one place. A =no= in the web or ios column is a page nobody
 22has built yet, not a refusal.
 23
 24Rows are one page or one action each. Grouped rows hide gaps, twice
 25now: "browse, log, blame, search" read as covered while blame had no
 26command at all, and "build list, log" read as covered while the job
 27list a trigger can name had none (krz/gitbay#50), leaving the picker
 28browser-only and the iOS build screen unable to say more than the log.
 29
 30* Merge requests
 31
 32| capability             | cli | web | ios |
 33|------------------------+-----+-----+-----|
 34| read, diff, commits    | yes | yes | yes |
 35| review and check times | yes | yes | yes |
 36| who resolved it, when  | yes | yes | yes |
 37| comment                | yes | yes | yes |
 38| react to it or a comment | yes | yes | yes |
 39| edit title and body    | yes | yes | yes |
 40| review (approve etc.)  | yes | yes | yes |
 41| resolve a thread       | yes | yes | yes |
 42| comment on a diff line | yes | yes | yes |
 43| suggest a change       | yes | yes | yes |
 44| apply a suggestion     | yes | yes | yes |
 45| merge (all strategies) | yes | yes | yes |
 46| merge when ready, cancel | yes | yes | yes |
 47| close                  | yes | yes | yes |
 48| close in favour of another | yes | yes | yes |
 49| create                 | yes | yes | yes |
 50| draft, ready           | yes | yes | yes |
 51| search title and body  | yes | yes | yes |
 52| create from a fork     | yes | yes | yes |
 53| retarget               | yes | yes | yes |
 54| milestone              | yes | yes | yes |
 55| labels                 | yes | yes | yes |
 56| filter by label        | yes | yes | yes |
 57| request a review       | yes | yes | yes |
 58| choose body markup     | yes | yes | yes |
 59| preview body markup    | n/a | yes | yes |
 60| TeX math as MathML     | n/a | yes | yes |
 61| stacked merge requests | yes | yes | yes |
 62| revisions              | yes | yes | yes |
 63| range-diff             | yes | yes | yes |
 64| merge gates            | yes | yes | yes |
 65
 66Reviews and checks carry the time they last said something, and a
 67=ci/<job>= check carries how long its build ran, so a merge request
 68reads without opening the build. Statuses posted through =status set=
 69have no build and report only the time. A merged or closed merge
 70request names who resolved it and when; a row without that stamp — a
 71=migrate= import, or one merged before krz/gitbay!137 with no
 72=mr.merged= event to backfill from — says neither rather than
 73inventing a time.
 74
 75A merge request whose target is another open merge request's source
 76branch is stacked on it: =mr show= and the page say so both ways, and
 77when the lower one merges, everything stacked on it is retargeted onto
 78what it merged into with its reviews kept. A squash or rebase merge is
 79refused while anything is stacked on the merge request, since it would
 80rewrite the commits the stack builds on. All three surfaces show the
 81stack both ways.
 82
 83A draft merge request is open but not asking: it does not merge, and it
 84does not appear in anyone's review queue. Draft is a flag rather than a
 85fifth state, so every =state = 'open'= rule still means what it did.
 86=mr revisions= lists the heads a merge request has had; the web page
 87lists them beside the reviews they staled, and the iOS client has a
 88Revisions section. =mr range-diff= compares two heads: the iOS client shows it from a
 89revision to the one before, as text; the web renders the same view, with
 90a "compare to previous" link on each revision after the first. Batched
 91review — draft diff comments held with =mr comment --pending= and sent
 92together with =--comment=/=--discard= or a verdict — is built and the
 93web uses it: composing review comments before publishing them is the same
 94round trip as the CLI's =--pending= flag.
 95
 96=mr review request --add <user>= asks a *particular* person, who then
 97carries the merge request in their queue and is notified; =--remove=
 98withdraws the ask. Without one the queue is computed from involvement —
 99what you own, are granted, or reach through an org or team — so a
100collaborator with write access who has not touched a thread hears
101nothing until they do (krz/gitbay#145).
102
103Creating from a fork works anywhere the source can be typed as
104=owner/name:branch=. The web's source picker offers the branches of
105every fork the viewer can push to in that form, and the repository
106header has the fork control, so the whole path — fork, edit a file,
107propose — runs in a browser. Retargeting moves an open
108merge request onto another branch of the same repository and stales the
109reviews, since an approval was of the diff against the old branch.
110
111* Issues
112
113| capability          | cli | web | ios |
114|---------------------+-----+-----+-----|
115| read, list, filter  | yes | yes | yes |
116| filter by label, assignee, author, milestone | yes | yes | yes |
117| search title and body | yes | yes | yes |
118| create              | yes | yes | yes |
119| comment             | yes | yes | yes |
120| react to it or a comment | yes | yes | yes |
121| edit title and body | yes | yes | yes |
122| close and reopen    | yes | yes | yes |
123| labels, assignees   | yes | yes | yes |
124| milestone           | yes | yes | yes |
125| milestone list      | yes | yes | yes |
126| labels: list, colour | yes | yes | yes |
127| choose body markup  | yes | yes | yes |
128| preview body markup | n/a | yes | yes |
129| TeX math as MathML  | n/a | yes | yes |
130| issue templates     | yes | yes | yes |
131| milestone create, close, reopen | yes | yes | yes |
132| org labels: set, list, remove | yes | yes | yes |
133| org milestones: create, list, close, reopen | yes | yes | yes |
134| closes across repositories | yes | yes | yes |
135
136Labels are created on the fly by =issue label --add= and =mr label
137--add=, and managed by =label list=, =label set <label> --color rrggbb=
138and =label remove=, which takes the label off every issue and merge
139request. One set serves both. The web paints the stored colour on every
140chip and derives one from the name when none is set. The set itself is
141at =/<owner>/<repo>/labels=, linked from the issue list: create,
142recolour and remove, dispatching the same commands.
143
144Org labels and milestones are managed at =/<org>/-/labels= and
145=/<org>/-/milestones=, where org admins see the create, colour, remove,
146close and reopen forms and everyone else sees the list. The repository
147milestones page carries create, close and reopen for writers; a
148milestone the org holds shows no buttons there. Uploading a release
149asset from the releases page streams the file to =release asset add= on
150stdin, capped at =max_asset_bytes=.
151
152Issue, MR and release bodies, and their comments, carry the markup they
153were written in — =--format md|org= on create, comment and edit, stored
154alongside the text so changing a preference later cannot reinterpret
155prose that already exists. Every surface *renders* the stored format, and
156every surface now offers the choice: the web's create forms, and the iOS
157composer on create, edit and comment. An edit starts on the format its
158body was stored in, since starting elsewhere would silently reinterpret
159it on the next save. Diff-line comments have no format column and are
160always markdown. TeX math in either format renders as MathML on the
161web (#294) and is typeset natively in the iOS app, by the same delimiter
162rules and with the same refusals shown as source; the terminal shows the
163source, so the CLI row is =n/a=.
164
165Every web form that takes markup has a Preview button beside its own
166submit: issue and merge request create, their edit and comment boxes,
167release create and edit, and the file editor on
168a path the forge renders. It posts to the form's own action, which
169renders the draft and hands the page back without writing, so what you
170see is the rendering the thread will show, autolinks included. It is a
171round trip rather than a live preview because the instance serves no
172JavaScript, the same way the blob page's rendered/source toggle works.
173The row is =n/a= on the CLI: a terminal has no form to preview, and
174=issue show= already renders. Diff-line comments are left out — they
175sit inside the diff, where a page-level preview has nowhere to go.
176
177The iOS client previews a draft under the editor with the renderer its
178threads use. It links =#N=, =!N= and =owner/name#N= itself, so a preview
179there shows the app's rendering rather than the one the web page shows.
180
181* Repositories
182
183| capability                  | cli | web | ios |
184|-----------------------------+-----+-----+-----|
185| browse files                | yes | yes | yes |
186| read a file                 | yes | yes | yes |
187| render a README             | yes | yes | yes |
188| commit log                  | yes | yes | yes |
189| commit log at a ref         | yes | yes | yes |
190| one commit with its patch   | yes | yes | yes |
191| blame                       | yes | yes | yes |
192| search file contents        | yes | yes | yes |
193| find a definition (symbols) | yes | yes | yes |
194| jump to definition from a file | yes | yes | yes |
195| compare two refs            | yes | yes | yes |
196| branches and tags           | yes | yes | yes |
197| wiki (read)                 | yes | yes | yes |
198| download an archive         | yes | yes | n/a |
199| edit a file                 | yes | yes | yes |
200| preview an edited markup file | n/a | yes | yes |
201| create                      | yes | yes | yes |
202| fork                        | yes | yes | yes |
203| pin                         | yes | yes | yes |
204| bookmark                    | yes | yes | yes |
205| bookmark list               | yes | yes | yes |
206| bookmarks on your profile   | n/a | yes | yes |
207| watch, unwatch              | yes | yes | yes |
208| mute                        | yes | yes | yes |
209| settings, protection        | yes | yes | yes |
210| default branch              | yes | yes | yes |
211| merge requests only         | yes | yes | yes |
212| protected tags              | yes | yes | yes |
213| require codeowners          | yes | yes | yes |
214| require contexts            | yes | yes | yes |
215| access grants               | yes | yes | yes |
216| effective access            | yes | yes | yes |
217| webhooks                    | yes | yes | yes |
218| build secrets               | yes | yes | yes |
219| deploy keys                 | yes | yes | yes |
220| mirrors                     | yes | yes | yes |
221| custom pages domains        | yes | yes | yes |
222| runners attach, list, detach | yes | yes | n/a |
223| runner attached for some jobs | yes | yes | n/a |
224| import from a remote        | yes | yes | yes |
225| topics, website             | yes | yes | yes |
226| visibility                  | yes | yes | yes |
227| archive (read-only flag)    | yes | yes | yes |
228| release list, show          | yes | yes | yes |
229| atom feeds                  | n/a | yes | n/a |
230| release create, edit        | yes | yes | yes |
231| preview release notes       | n/a | yes | yes |
232| summarize changes since the previous release | yes | yes | yes |
233| build list                  | yes | yes | yes |
234| build list paging (limit, cursor) | yes | yes | yes |
235| build row names its commit  | yes | yes | yes |
236| build list filters (ref, status, job) | yes | yes | yes |
237| build show (one build)      | yes | yes | yes |
238| build log                   | yes | yes | yes |
239| build log follow (until it ends) | yes | yes | yes |
240| build failed step, duration | yes | yes | yes |
241| build log one step          | yes | yes | yes |
242| build log tail              | yes | no  | yes |
243| build jobs                  | yes | yes | yes |
244| build trigger               | yes | yes | yes |
245| build cancel                | yes | yes | yes |
246| job image (ci.yml)          | yes | n/a | n/a |
247| secret scan mode, allowlist | yes | yes | yes |
248| secret scan of the history  | yes | no  | yes |
249| code scanning on/off        | yes | yes | yes |
250| code scanning status        | yes | yes | yes |
251| code scan now               | yes | no  | yes |
252| code scan dismiss, reopen   | yes | yes | no  |
253| code scan ignores, rules    | yes | yes | no  |
254| code scan frequency         | yes | yes | no  |
255| dependency checks on/off    | yes | yes | yes |
256| dependency status           | yes | yes | yes |
257| advisory dismiss, reopen    | yes | yes | no  |
258| delete, transfer            | yes | yes | yes |
259| rename                      | yes | yes | yes |
260| release delete              | yes | yes | yes |
261| release asset add           | yes | yes | n/a |
262| release asset remove        | yes | yes | yes |
263| snippet create, edit, delete  | yes | yes | yes |
264| snippet show, list            | yes | yes | yes |
265| snippet file set, get, remove | yes | yes | yes |
266
267No row is web-only any more. Blame, file editing, log at a ref,
268archive, the public listing and the wiki were all in that state — a
269handler reading git or the store directly instead of dispatching a
270command — until krz/gitbay!99, !101 and !102 gave them commands.
271
272=build cancel= withdraws a queued build, or ends a running one: the
273server closes the runner's log session and the runner kills the step
274within a couple of seconds. Cancelling a duplicate of a commit that
275already passed the job puts that result back on the commit. The build
276page carries the button while a build is still cancellable.
277
278A pin and a bookmark are different things and are stored separately. A
279pin is private quick access to what you are working on, and drives the
280rail; a bookmark is public, says a repository is worth coming back to,
281and its count is the only popularity signal on the instance. Bookmarking
282needs read access only — it is something you do to someone else's
283repository — and a repository bookmarked while public and since made
284private drops out of the listing rather than leaking that it exists
285(krz/gitbay#146).
286
287The web's watch and pin controls dispatch =repo pin=/=repo unpin= and
288=repo watch=/=repo mute=/=repo unwatch=, the same commands the CLI runs
289(krz/gitbay#261). The single watch button cycles default, watching and
290muted.
291
292Dependency checks are off until a repository's admin turns them on: the
293check tells a public registry and OSV what the repository depends on.
294=repo deps status= lists what is behind and which advisories match the
295resolved set; the repository's settings page renders the same report
296under the toggle — last check, last error, the two tracking issues, and
297the rows. The issues the worker opens, rewrites and closes are still the
298copies every other surface reads.
299
300A Go advisory whose OSV record names packages counts only when a Go
301file at the checked commit (tests included, =vendor= and =testdata=
302left out) imports one of them; the rest are listed as not imported.
303Imports through another module are not seen, which =govulncheck=
304covers. A writer can dismiss an advisory (=repo deps dismiss=, reason
305=not-affected=, =wont-fix= or =dev-only=) and reopen it; the issue
306lists open advisories only and closes when none are left.
307
308The wiki row covers reading. A wiki lives at =.gitbay/wiki/= on the
309default branch, so editing one is editing a file in the repository —
310a push, or =repo commit-file= — and there is no wiki-specific edit row
311to have parity on. The web editor reaches it on any repository that
312permits server-authored commits; one requiring verified signatures
313does not, because the server signs nothing on a user's behalf, so
314those wikis are push-only.
315
316=n/a= marks a capability deliberately absent from a surface rather than
317missing from it. Archive download is =n/a= on iOS: the read API carries
318a command's stdout as a JSON string, so a gzip stream cannot survive it,
319and the app has nowhere useful to put a tarball — the brief rules out
320local git, so there is no clone, checkout or build to feed. The web's
321route stays the way to get one. =release asset add= is =n/a= on iOS for
322the same reason from the other direction: the file arrives on stdin,
323which the API carries as a JSON string. Attaching a runner is =n/a= on
324iOS for a plainer reason: the key is generated by =gitbay-runner init=
325on the machine that will run builds, and that machine's terminal (the
326command =init= prints) or the settings page is where the paste happens.
327A phone has neither the key nor the runner.
328
329A README or wiki page's org renders per surface: the web through
330go-org, the iOS client through the shared OrgSwift package
331(=krz/org-swift=). OrgSwift is held to orgo's output by the
332=krz/org-conformance= corpus — golden renderings from orgo, itself
333diffed against Emacs =ox-html= — so constructs the iOS client used to
334approximate (tables, footnotes, timestamps, heading tags, nested lists)
335now render the way the reference does. go-org is not yet on the corpus.
336
337* Discovery
338
339| capability                       | cli | web | ios |
340|----------------------------------+-----+-----+-----|
341| search repositories              | yes | yes | yes |
342| search issues and merge requests | yes | yes | yes |
343| saved query save, remove, pin    | yes | yes | yes |
344| saved query list and results     | yes | yes | yes |
345| pinned queries on the dashboard  | yes | yes | yes |
346| browse all public repositories   | yes | yes | yes |
347| profile page                     | yes | yes | yes |
348| profile sections as tabs         | n/a | yes | n/a |
349| profile about and links          | yes | yes | yes |
350| profile about as a file          | yes | yes | yes |
351| activity feed                    | yes | yes | yes |
352| command reference                | yes | no  | n/a |
353
354=repo symbols= and =/{owner}/{repo}/symbols= answer from the same
355store query and ranking. Jumping to a definition is a link on a name in
356the blob view, which a terminal has no place for; =repo symbols= with
357the name is its CLI form.
358
359=explore= is the listing without a query; =repo search= is the one with.
360=search= is both plus the title and body of every issue and merge
361request the caller can read, over FTS5; the web serves it at =/search=
362with a field in the rail, and an anonymous visitor gets the public rows
363from the same query. =issue list --search= and =mr list --search= narrow
364one repository. What someone types is quoted term by term, so an FTS5
365operator — =c++=, =AND=, a lone quote — is a word to match and never a
366syntax error. =repo grep= remains the per-repository file-contents
367search.
368
369A saved query is a named query over issues and merge requests across
370every repository the caller can read (#292): =query save <name>
371<query>= (=--force= replaces), =query list=, =query show= with its
372count, =query run= for the rows, =query remove=, =query pin= and
373=unpin=. =issue list --query <name>= and =mr list --query <name>= run
374one narrowed to their kind, and =--q '<query>'= takes one written out;
375=query run --q '<query>'= runs one over both, which is what the web's
376unsaved query on =/<owner>/-/queries?q== dispatches.
377Results are newest first, always paged with ={items, next}= and fifty
378rows by default, each naming its repository. Readability is the
379search rule, decided in the SQL, so a private repository someone else
380owns is neither a row nor part of a count. =dashboard= carries each
381pinned query's count and first five rows under =queries=; the web
382shows them on the dashboard and serves =/<owner>/-/queries= and
383=/<owner>/-/queries/<name>=, which are a 404 under anyone else's name.
384Saving, removing and pinning have no web form yet.
385
386The about text is =profile/README.{md,org,markdown}= on the default
387branch of =<owner>/.gitbay=, resolved in that order, so the extension
388picks the renderer rather than a stored format. =profile show= reports
389it as =about=, =about_format= and =about_path=. It reads with the
390repository's own access, so a private =.gitbay= is a profile with no
391about text to anyone but its owner and the admins. A repository whose
392name starts with a dot stays out of =explore= and off the profile's
393repository list. On the web a profile is tabs: =/<owner>= is About —
394the text, the year of squares and a log of the newest thirty events —
395then =/<owner>/-/repositories=, =/<owner>/-/bookmarks=,
396=/<owner>/-/snippets=, and =/<owner>/-/people= for an organization's
397members and teams. A tab nobody may open is not offered and its URL is
398a 404: bookmarks are the viewer's own, only a user has snippets, and
399people is the org admin panel. The log counts what the graph over it
400counts — a user's own events, an organization's repositories' — on
401public repositories only; =activity.atom= is the feed that goes back
402further. The CLI's =profile show= is unchanged and still returns all of
403it at once. The iOS client decodes and renders both formats,
404through the same OrgSwift path a README takes.
405
406=help= lists the command registry. Bare it is an index, one line per
407command, sorted. With a prefix (=help mr=) it adds each command's
408argument syntax, which is the only place flags are written down;
409=gitbay <cmd> --help= asks the server for the same thing, and =--json=
410returns ={path, summary, usage}=. No web page renders it, and a native
411client has no use for one (krz/gitbay#57).
412
413* Accounts
414
415| capability                  | cli | web | ios |
416|-----------------------------+-----+-----+-----|
417| SSH keys: list, add, remove | yes | yes | yes |
418| SSH key label               | yes | yes | yes |
419| SSH key expiry and last use | yes | yes | yes |
420| PGP keys: list, add, remove | yes | yes | yes |
421| email add and verify        | yes | yes | yes |
422| email list, remove, primary | yes | yes | yes |
423| dashboard aggregate         | yes | yes | yes |
424| notification inbox          | yes | yes | yes |
425| activity mail on, off       | yes | yes | yes |
426| reply by mail on, off       | yes | yes | yes |
427| watch writable repos        | yes | yes | yes |
428| push device add             | yes | yes | yes |
429| push device list            | yes | yes | yes |
430| push device remove          | yes | yes | yes |
431| activity push on, off       | yes | yes | yes |
432| web colour scheme           | yes | yes | n/a |
433| web diff layout             | yes | yes | n/a |
434| API token mint              | yes | yes | yes |
435| API token list, revoke      | yes | yes | yes |
436| API token revoke with what it created | yes | no  | yes |
437| browser sessions: list, end | yes | yes | yes |
438| account export bundle       | yes | yes | n/a |
439| delete your own account     | yes | yes | yes |
440| profile set                 | yes | yes | yes |
441| write the profile about     | yes | yes | yes |
442| request a login link        | n/a | yes | n/a |
443| account import bundle       | yes | no  | n/a |
444
445Notifications land in an inbox row per recipient whether or not the
446instance sends mail, and mail is the second half when SMTP is
447configured. =notifications list= reads it, unread by default;
448=notifications read <id>... | --all= clears it; the dashboard and the
449web rail carry the unread count. =repo watch= adds you to a
450repository's notifications, =repo mute= silences it, and =repo unwatch=
451returns you to the default from either — told about work you are part
452of, nothing more. =notifications settings watch on= widens that default
453to every repository you can write to, without a row per repository. A
454mute wins over owning the repository, having written the thread, or the
455preference.
456
457Push is the third leg beside inbox and mail, delivered to Apple devices
458an account has registered. =notifications device add= runs on every
459surface like every other command, but no web page offers a form for
460it, because only the iOS app can produce an APNs device token — a
461browser has no way to ask Apple for one. =device list= and =device
462remove= have no such limit and are yes on the web like the rest.
463
464Replying to issue and merge request mail posts a comment (#295) when
465the instance reads a reply mailbox (=[mail.inbound]=) and the account
466ran =notifications settings reply on=. The account page shows the
467switch only on such an instance. The reply is itself a fourth surface
468for =issue comment= and =mr comment= and nothing else: it is dispatched
469as that command, so it cannot do what the command would refuse.
470=admin mail inbound check= has no page, like the rest of instance
471administration.
472
473A login link is requested from the login page by username or verified
474address, and arrives by mail: it works once and expires in fifteen
475minutes. The row is =n/a= for the CLI because a terminal with a
476registered key runs =web login=, which mints a link directly and needs
477no mail. It exists because an account with no SSH key had no way into
478the web at all (krz/gitbay#155). The page offers the form only when the
479instance has SMTP configured; there is no separate switch. The response
480never says whether the account exists. It is =n/a= on iOS for the same
481reason it is on the CLI, from the other end: the app authenticates with
482a bearer token pasted at sign-in, so a one-time link into the web
483unlocks nothing it can use.
484
485The account export bundle is =n/a= on iOS on the archive-download
486argument above — a JSON bundle has nowhere useful to land on a phone,
487and the web route stays the way to get one.
488
489=profile set= carries description, website and links; the JSON API runs
490it like any other write. The account settings page has the form, and so
491does the iOS client: =--link= replaces the whole set rather than
492appending, so a client sends every link it keeps on every save, and
493=--link ''= is how they are cleared.
494
495The about text is not among those flags. It is a file, written by a push
496or =repo commit-file= like any other file, which is why writing it is
497yes on every surface: anything that can commit a file can write it. The
498settings page points at the file and offers to create =<owner>/.gitbay=
499when there is none.
500
501* Administration
502
503| capability                      | cli | web | ios |
504|---------------------------------+-----+-----+-----|
505| account list, filter by state   | yes | yes | yes |
506| account show                    | yes | no  | yes |
507| promote, demote                 | yes | yes | yes |
508| disable, enable                 | yes | yes | yes |
509| account create, delete          | yes | no  | yes |
510| invite                          | yes | no  | yes |
511| account and org quotas          | yes | no  | yes |
512| worker queues                   | yes | yes | yes |
513| runners                         | yes | no  | yes |
514| repository list, archive, visibility | yes | no | yes|
515| rebuild a symbol index          | yes | no  | yes |
516| audit log                       | yes | no  | yes |
517| instance statistics             | yes | no  | yes |
518| inbound mail check              | yes | no  | yes |
519| prune merge request heads       | yes | no  | yes |
520
521=/admin/users= carries the account list with the command's state
522filter and cursor, and promote, demote, disable and enable per row;
523demote and disable ask for the username to be typed. The rest is a
524page nobody has built yet rather than a refusal — see below. Account
525creation and deletion stay on the command line on purpose: one takes a
526key, the other cannot be undone.
527
528* Organizations
529
530| capability                | cli | web | ios |
531|---------------------------+-----+-----+-----|
532| read members and teams    | yes | yes | yes |
533| members add, remove, role | yes | yes | yes |
534| teams create, delete      | yes | yes | yes |
535| team members              | yes | yes | yes |
536| team repo grants          | yes | yes | yes |
537| create, rename            | yes | yes | yes |
538| delete                    | yes | no  | yes |
539| profile                   | yes | no  | yes |
540
541* Pagination
542
543=issue list=, =mr list=, =repo list=, =feed=, =build list= and =repo
544symbols= take
545=--limit <n>= and =--cursor <c>=. Cursors are opaque; each page carries
546the next one. Without the flags a list stays as it was, so existing
547scripts are unchanged — for =build list= that means the newest fifty
548matching builds, which is what the cursor now reaches past. The web
549pages the issue and merge request lists at fifty and the builds list at
550thirty with the same cursors; iOS pages with them too.
551
552* CLI only, for now
553
554Build secrets, mirror configuration and tokens, custom domain claims,
555web session listing and revocation, deploy keys, and most of instance
556administration have no web page yet; the iOS client has each of them
557(krz/gitbay-ios 1.14.0). Until #234 these were refused outright on the
558other surfaces; the refusal is gone, so each is now a page waiting to
559be built rather than a rule. A credential still
560travels on stdin wherever it is set, since argv is world-readable in
561/proc and the audit log keeps flag values.
562
563Applying a suggestion on a repository that requires signed commits is
564CLI-only by mechanism: the server has no key to sign the commit with,
565so =gitbay mr apply-suggestion= makes and signs it in a clone with the
566user's own git signing configuration and pushes it. The web shows that
567command in place of the button.
568
569Deleting an organization and pruning merge request heads (=admin mr
570prune=) have no web page yet; the iOS client asks for the
571organization's name to be typed before the one, and confirms the
572other on a merged or closed merge request. Deleting or transferring a repository is a
573settings section on the web and asks for the repository's path to be
574typed first.
575
576=n/a= means a surface cannot usefully carry the capability at all —
577see the archive note above.
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form