Go to file
Кирилл Горбунов ec5c6c591d #8 implement interface Source and methods for gitea without Update (#9)
Прикинул метод Open и Delete, Update пока не до делал.

Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #9
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
2024-03-24 20:52:32 +03:00
cmd #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
internal #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
proto regen proto 2023-10-18 00:39:27 +03:00
ui updates 2023-09-23 21:16:26 +03:00
.gitignore #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
generate.go initial rewrite, use micro v4 and not cms-xxx stuff 2023-08-11 21:27:38 +03:00
generate.sh init ui 2023-08-12 16:24:50 +03:00
go.mod #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
go.sum #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
LICENSE #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
local.yaml use worker 2023-08-18 23:59:15 +03:00
Makefile #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00
README.md #8 implement interface Source and methods for gitea without Update (#9) 2024-03-24 20:52:32 +03:00

pkgdash

pkgdashcli

Installation

Use any of the following for a pain-free installation:

  • If you have go installed, you can run:
    go install git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli@latest
    

Config

Before starting, you should fill out the configuration file. The file must be located in the .gitea, .gitlab, .github directory according to the git type you are using.

  • branches - array of main branches
  • source - information about the version control system
  • source.type - type of version control system
  • source.apiurl - path to the version control system api
  • source.repository - repository name
  • source.owner - username of the repository owner
  • update_opt - dependency update options
  • update_opt.pre - update to pre-release versions
  • update_opt.major - compare only major versions in modules
  • update_opt.up_major - raise the version according to major
  • update_opt.cached - caching

Config.Example

# .gitea/pkgdashcli.yaml
branches: [master]
source:
  type: gitea
  apiurl: https://git.unistack.org/api/v1
  repository: pkgdash
  owner: unistack
update_opt:
  pre: false
  major: false
  up_major: false
  cached: true