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

profclems/glab moved to GitLab #8444

Closed
mikutas opened this issue Dec 13, 2022 · 3 comments
Closed

profclems/glab moved to GitLab #8444

mikutas opened this issue Dec 13, 2022 · 3 comments
Labels

Comments

@mikutas
Copy link
Contributor

mikutas commented Dec 13, 2022

https://github.com/profclems/glab

FOLLOWING THE EARLIER ANNOUNCEMENT ABOUT ITS OFFICIAL ADOPTION BY AND TRANSITION TO GITLAB (SEE profclems/glab#983), THIS PROJECT IS NO LONGER MAINTAINED IN THIS REPOSITORY . THE NEW HOME OF THIS PROJECT IS https://gitlab.com/gitlab-org/cli. ALL NEW CONTRIBUTIONS (INCLUDING FEATURE REQUESTS AND BUG REPORTS) SHOULD BE SENT TO THE OFFICIAL REPOSITORY ON GITLAB.

https://gitlab.com/gitlab-org/cli

@suzuki-shunsuke
Copy link
Member

Thank you for your report.

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Dec 13, 2022

You can install glab from GitLab by defining the following local (or github_content) registry.

registry.yaml

packages:
  - name: "gitlab:gitlab-org/cli"
    type: http
    link: https://gitlab.com/gitlab-org/cli
    description: A GitLab CLI tool bringing GitLab to your command line
    url: https://gitlab.com/gitlab-org/cli/-/releases/{{.Version}}/downloads/glab_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz
    files:
      - name: glab
        src: bin/glab
    replacements:
      linux: Linux
      windows: Windows
      darwin: macOS
    supported_envs:
      - linux
      - darwin
      - amd64

aqua.yaml

registries:
- name: local
  type: local
  path: registry.yaml
packages:
- name: gitlab:gitlab-org/cli
  registry: local
  version: v1.24.1

Renovate Configuration

{
  "extends": [
    "config:base",
    "github>aquaproj/aqua-renovate-config#1.3.0"
  ],
  "packageRules": [
    {
      "matchPackagePatterns": ["^gitlab:"],
      "matchManagers": ["regex"],
      "matchDatasources": ["github-releases"],
      "enabled": false
    }
  ],
  "regexManagers": [
    {
      "fileMatch": ["\\.?aqua\\.ya?ml"],
      "matchStrings": [
        " +['\"]?name['\"]? *: +['\"]?gitlab:(?<depName>[^'\" .@/\\n]+/[^'\" @/\\n]+)(/[^'\" /@\\n]+)*@(?<currentValue>[^'\" \\n]+)['\"]?"
      ],
      "datasourceTemplate": "gitlab-releases"
    }
  ]
}

@suzuki-shunsuke
Copy link
Member

v4.128.0 is out 🎉

https://github.com/aquaproj/aqua-registry/releases/tag/v4.128.0

The package profclems/glab was moved to gitlab.com/gitlab-org/cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants