update: the old pill quiet ran through 0.1.4181, not 0.1.4179
Comments and docs only: v0.1.4180 and v0.1.4181 were tagged before 3f09b9ffc landed, so they still hold the pill for 3 days. No code changed; nothing run beyond gofmt -l (clean).
This commit is contained in:
@@ -908,7 +908,7 @@ channel's soak) across the releases out meanwhile (`quietAgain`,
|
||||
(`update.Behind.Hushed`, for the version running, so an update starts
|
||||
afresh). Settings › Update button says "Hidden for 3 days" while it holds,
|
||||
with Show again (`unhush`, `update.Unhush`, an empty `update-skip`).
|
||||
Nothing else holds the pill. From 0.1.3879 to 0.1.4179 a quiet was also
|
||||
Nothing else holds the pill. From 0.1.3879 to 0.1.4181 a quiet was also
|
||||
counted from the first newer version seen; with a release every few
|
||||
minutes it started over on each update, so a downloaded update waited
|
||||
with no pill for days (visamzh and normalcoder_ on X, 11-14). Those
|
||||
|
||||
@@ -31,7 +31,7 @@ const Quiet = 72 * time.Hour
|
||||
type Behind struct {
|
||||
Base string `json:"base"`
|
||||
// Hushed is when the pill was last dismissed: the quiet runs from it.
|
||||
// (0.1.3879 to 0.1.4179 kept "since", the first newer version seen,
|
||||
// (0.1.3879 to 0.1.4181 kept "since", the first newer version seen,
|
||||
// and held the pill for it; a note of theirs is for their own version,
|
||||
// so it is never read as a dismissal.)
|
||||
Hushed time.Time `json:"hushed,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ func TestPillLightsWhenANewerVersionIsOut(t *testing.T) {
|
||||
if !b.Lit("0.1.4174", t0.Add(time.Minute)) || !ReadBehind("0.1.4174").Lit("0.1.4174", t0.Add(time.Minute)) {
|
||||
t.Error("newer versions seen again put the pill out")
|
||||
}
|
||||
// a note an older magpie (0.1.3879 to 0.1.4179) kept, "since" the first
|
||||
// a note an older magpie (0.1.3879 to 0.1.4181) kept, "since" the first
|
||||
// newer version: it was never a dismissal
|
||||
if err := os.MkdirAll(filepath.Dir(behindFile()), 0o755); err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user