tiup icon indicating copy to clipboard operation
tiup copied to clipboard

Can not use nightly in offline mirror

Open xhebox opened this issue 9 months ago • 0 comments

Bug Report

https://github.com/pingcap/tiup/blob/e8c63c6cea9e4af5f5c59cc5a1186f21aac65f77/pkg/repository/clone_mirror.go#L284-L287

When clone offline without --full flag, and the version itself is not identical to nightly, the manifest will lack nightly setting. Thus any nightly-version-related operations to repository will fail.

  1. What did you do?
tiup mirror clone test -o xx -a xx xxx-nightly
  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiUP are you using (tiup --version)?

xhebox avatar Mar 26 '25 02:03 xhebox