pingcap / pingcap/tiup

tiup edit-config adds version control

Open
#1,308 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tiup edit-config adds version comparison, currently only ~/.tiup/storage/cluster/clusters//backup/

$ tiup --version && tiup cluster --version
1.4.1 tiup
Go Version: go1.16.3
Git Ref: v1.4.1
GitHash: cd19b75b6418f627d121d43d4b1e41af673526cf
Starting component cluster: /home/tidb/.tiup/components/cluster/v1.4.1/tiup-cluster --version
tiup version 1.4.1 tiup
Go Version: go1.16.3
Git Ref: v1.4.1
GitHash: cd19b75b6418f627d121d43d4b1e41af673526cf

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 with the tiup edit-config command and inspect how it currently uses ~/.tiup/storage/cluster/clusters//backup/. Compare this behavior with the issue's version-comparison request; the work is done when edit-config handles version control beyond the current backup location, but the exact expected behavior is not specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.