Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support registry #7

Closed
suzuki-shunsuke opened this issue Aug 25, 2021 · 4 comments · Fixed by #152
Closed

support registry #7

suzuki-shunsuke opened this issue Aug 25, 2021 · 4 comments · Fixed by #152
Labels
enhancement New feature or request
Projects
Milestone

Comments

@suzuki-shunsuke
Copy link
Member

No description provided.

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Aug 25, 2021
@suzuki-shunsuke suzuki-shunsuke added this to To do in main Aug 25, 2021
@suzuki-shunsuke suzuki-shunsuke moved this from To do to Nice to have in main Aug 25, 2021
@suzuki-shunsuke suzuki-shunsuke changed the title support repository support registry Aug 28, 2021
@suzuki-shunsuke suzuki-shunsuke moved this from Nice to have to To do in main Aug 28, 2021
@suzuki-shunsuke
Copy link
Member Author

suzuki-shunsuke commented Sep 1, 2021

type: github_content

packages:
- name: golangci-lint
  registry: my-aqua-config
  version: v1.42.0 # renovate: depName=golangci/golangci-lint
registries:
- name: my-aqua-config
  type: github_content
  repo_owner: suzuki-shunsuke
  repo_name: my-aqua-config
  ref: v0.1.0
  path: aqua.yaml

https://pkg.go.dev/github.com/google/go-github/v38/github#RepositoriesService.GetContents

@suzuki-shunsuke
Copy link
Member Author

type: local

packages:
- name: golangci-lint
  registry: golang
  version: v1.42.0 # renovate: depName=golangci/golangci-lint
registries:
- name: golang
  type: local
  path: aqua/golang.yaml

@suzuki-shunsuke
Copy link
Member Author

type: http

packages:
- name: golangci-lint
  registry: golang
  version: v1.42.0 # renovate: depName=golangci/golangci-lint
registries:
- name: golang
  type: http
  url: https://example.com

@suzuki-shunsuke
Copy link
Member Author

Directory Structure

~/.aqua/
  registries/
    github_content/
      github.com/
        suzuki-shunsuke/
          my-aqua-config/
            v0.1.0/
              aqua.yaml

@suzuki-shunsuke suzuki-shunsuke moved this from To do to In progress in main Sep 2, 2021
main automation moved this from In progress to Done Sep 2, 2021
@suzuki-shunsuke suzuki-shunsuke added this to the v0.4.0 milestone Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
main
Done
Development

Successfully merging a pull request may close this issue.

1 participant