The one interface to a Git host, GitHostClient, for GitHub (public and private repositories), GitLab (groups to any depth, gitlab.com or a self-managed host) and plain Git, held to the same conformance tests so that a check of change control and a workspace never name a host's own word; the table of what each kind of host offers; and the reading of a remote written as a person writes it (github.com/owner/repo, owner/repo, git@host:path.git, an https address, the address of a branch's page). A token is read only from the environment it is handed and sent only to the host it serves. It depends on core, net and system. Published to npm as compiled modules with their declarations.
| Fact | Value |
|---|
| Version | 0.2.7 |
| Conformance level | L1 |
| Distributed | github, npm |
| License | PolyForm-Noncommercial-1.0.0, source-available: free for noncommercial use, commercial use needs a license from the owner (see Licensing in Start here) |
| Import it as | @intellectual-frontiers/githost |
#Areas
#Imports
Core, Net, System
#Imported by
Ergonex, Libraries, Mizan, Planning
#Specifications
| Number | Specification | Requirements |
|---|
0001 | Git hosts | 10 |
#Folders
| Folder | What it is | May import |
|---|
spec-kit/ | The library's own specifications, numbered from 0001. | nothing: Markdown and TSV |
src/ | The types, the table of capabilities and the reader of a remote (pure), the three adapters (github.ts, gitlab.ts, git.ts), and mod.ts, which makes a client for a reference and reads a token. | node: builtins; src/; core, net and system, by package name (the types, the table and the reader import core alone) |
suite/ | The tests: the shared conformance tests run on each adapter, recorded exchanges, a real plain Git repository, a live transport against a local server, and the reading of every spelling of a remote. | src/; core, net, system and test, by package name; the ontology of change control, for the table of what each kind offers |
tools/ | The trace check and the packer bun run verify runs. | the kernel, the runtime and the packer of commons, by package name |
#Quality
Quality: 19 tests: 19 passed, 0 failed, 0 skipped, 9 of 10 requirements proved, 0 open issues, 0 open tickets. The tests and issues of the library