Open etanot opened 3 years ago
Something like this seems to work with golang-github-xanzy-go-gitlab-dev (0.22.2-1) (though outdated):
var gitLab *gitlab.Client
func main() {
gitLab = gitlab.NewClient(nil, "")
gitLab.SetBaseURL("https://salsa.debian.org/api/v4")
opt := &gitlab.ListProjectsOptions{Search: gitlab.String("golang-golang-x-sys")}
projects, _, err := gitLab.Projects.ListProjects(opt)
if err == nil {
fmt.Println(projects)
}
}
Worth experimenting bit by bit.
Sample debian/watch file:
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \
https://salsa.debian.org/mdosch/xmppsrv/-/tags \
archive/v?@ANY_VERSION@/xmppsrv-v?\d\S*\.tar\.gz debian
Type: Feature request
Description
When I was trying to pack Gitlab's labkit library, I get following warning messages:
It would be nice, if
dh-make-golang
also has support forGitlab
, just like it has forGithub
.