]> source.dussan.org Git - gitea.git/commit
Add CRAN package registry (#22331)
authorKN4CK3R <admin@oldschoolhack.me>
Mon, 22 May 2023 02:57:49 +0000 (04:57 +0200)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 02:57:49 +0000 (10:57 +0800)
commitcdb088cec288a20e14240f86a689dd14f4cd603b
tree0a491ea8dcffa22b5b1033d04f5402425fbeb73c
parentec2a01d1e20c0d33c1ea7e362a7dfd5b653dd15f
Add CRAN package registry (#22331)

This PR adds a [CRAN](https://cran.r-project.org/) package registry.

![grafik](https://user-images.githubusercontent.com/1666336/210450039-d6fa6f77-20cd-4741-89a8-1624def267f7.png)
23 files changed:
custom/conf/app.example.ini
docs/content/doc/administration/config-cheat-sheet.en-us.md
docs/content/doc/usage/packages/cran.en-us.md [new file with mode: 0644]
docs/content/doc/usage/packages/overview.en-us.md
models/packages/cran/search.go [new file with mode: 0644]
models/packages/descriptor.go
models/packages/package.go
modules/packages/cran/metadata.go [new file with mode: 0644]
modules/packages/cran/metadata_test.go [new file with mode: 0644]
modules/setting/packages.go
options/locale/locale_en-US.ini
public/img/svg/gitea-cran.svg [new file with mode: 0644]
routers/api/packages/api.go
routers/api/packages/cran/cran.go [new file with mode: 0644]
routers/api/v1/packages/package.go
services/forms/package_form.go
services/packages/packages.go
templates/package/content/cran.tmpl [new file with mode: 0644]
templates/package/metadata/cran.tmpl [new file with mode: 0644]
templates/package/view.tmpl
templates/swagger/v1_json.tmpl
tests/integration/api_packages_cran_test.go [new file with mode: 0644]
web_src/svg/gitea-cran.svg [new file with mode: 0644]