- created dsx and dsx_server in place of dsx-build
- dsx replaces dsx-build and is a build tool/package manager for the DSA ecosystem - dsx_server is the repository/server for dsx packages. dsx is a WIP.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
# Endpoints
|
||||
|
||||
let n be the repo name.
|
||||
|
||||
## Web view
|
||||
GET /packages/ # home page listing packages - simple search bar.
|
||||
GET /packages?q=<query> # search for a package
|
||||
GET /packages/<name> # main page for a repository, shows status, files, name etc.
|
||||
GET /packages/<name>/~repo/<path> # path for a file within a repo
|
||||
GET /packages/<name>/~repo?q=<query> # search within a package's files
|
||||
GET /packages/<name>/~artifact/ # page listing repo artifacts by date
|
||||
GET /packages/<name>/~artifact/<id> # page for a specific artifact and status/logs
|
||||
|
||||
POST /api/pkg # create repo
|
||||
GET /api/pkg/<name> # repo status/metadata
|
||||
POST /api/pkg/<name>/push # upload source tarball
|
||||
GET /api/pkg/<name>/pull # download source tarball
|
||||
GET /api/pkg/<name>/artifact # download compiled binary
|
||||
@@ -0,0 +1,15 @@
|
||||
# Folder structure
|
||||
|
||||
data/
|
||||
repos/
|
||||
<repo_name>/
|
||||
repo/
|
||||
Dsx.toml
|
||||
README.md
|
||||
src/
|
||||
artifacts/
|
||||
<repo_name>.dsb
|
||||
<repo_name-lib>.dsb
|
||||
docs/
|
||||
<repo_name-lib>.md
|
||||
index/
|
||||
Reference in New Issue
Block a user