pingcap / pingcap/tiup

Old version of alertmanager

Open
#1,744 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
$ curl -s 'https://api.github.com/repos/prometheus/alertmanager/releases?per_page=1' | jq '.[0].name'
"0.23.0 / 2021-08-25"
[dvaneeden@dve-carbon tiup]$ tiup list alertmanager 
Available versions for alertmanager:
Version  Installed  Release                    Platforms
-------  ---------  -------                    ---------
v0.17.0             2020-05-28T18:49:09+08:00  linux/arm64,darwin/amd64,linux/amd64
  1. What did you expect to see?

Versions that match

  1. What did you see instead?

There is a big gap between the version that tiup offers and the one on GitHub

  1. What version of TiUP are you using (tiup --version)?
1.8.2 tiup
Go Version: go1.17.5
Git Ref: v1.8.2
GitHash: a2912cf0470d651ce724e6c4e79871ec772abe38

The problem with this is that the old version is missing newer features like slack integration and may not have all security updates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mismatch with tiup list alertmanager and compare it with the GitHub releases API command shown in the report. Trace where TiUP's available Alertmanager versions and platform data are defined, then update the catalog and verify that the newer releases appear in the listing.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.