You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/migrations
Chongyi Zheng 2d9249b6d9
Replace deprecated `elliptic.Marshal` (#26800)
In PR #26786, the Go version for golangci-lint is bumped to 1.21. This
causes the following error:

```
models/migrations/v1_16/v210.go:132:23: SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck)
                                        PublicKey:       elliptic.Marshal(elliptic.P256(), parsed.PubKey.X, parsed.PubKey.Y),
```

The change now uses [func (*PublicKey)
ECDH](https://pkg.go.dev/crypto/ecdsa#PublicKey.ECDH), which is added in
Go 1.20.
10 months ago
..
base Rename `Sync2` -> `Sync` (#26479) 11 months ago
fixtures Remove wrongly added column on migration test fixtures (#23456) 1 year ago
v1_6 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_7 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_8 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_9 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_10 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_11 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_12 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_13 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_14 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_15 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_16 Replace deprecated `elliptic.Marshal` (#26800) 10 months ago
v1_17 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_18 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_19 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_20 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_21 chore(actions): support cron schedule task (#26655) 11 months ago
migrations.go chore(actions): support cron schedule task (#26655) 11 months ago