gitea/modules
hiifong 276f43330c
Do not display attestation-manifest and use short sha256 instead of full sha256 (#32851)
Related: #24973

Before:

![image](https://github.com/user-attachments/assets/bca17900-5075-4d15-af7a-c71bf8979c04)

After:

![image](https://github.com/user-attachments/assets/c5a24e3b-763b-4463-80db-d4dbd89f7dc4)

Index:
```json
{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e",
      "size": 672,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0",
      "size": 672,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:d70ad19d00c19e40691045cbddc3e8a5a4454c31cc454d1132b13bcaf35b6d46",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:73bc233bf4eac96a404ce3e0430b698831a4ea7050c878d5f76d1d1f133751dd",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    }
  ]
}
```

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-12-16 10:22:49 +08:00
..
actions
activitypub Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
analyze
assetfs Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
auth Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
avatar
badge
base Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
cache
charset
container
csv
dump Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
emoji
eventsource
generate
git Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
gitgraph
gitrepo
globallock Make API "compare" accept commit IDs (#32801) 2024-12-12 08:10:09 +00:00
graceful Update golangci-lint to v1.62.2, fix issues (#32845) 2024-12-15 02:31:07 +00:00
hcaptcha
highlight
hostmatcher
htmlutil
httpcache
httplib
indexer Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
issue/template
json
label
lfs Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
lfstransfer
log Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
markup Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
mcaptcha
metrics
migration
nosql
optional
options
packages Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
paginator
pprof
private
process
proxy
proxyprotocol
public
queue Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
recaptcha
references Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
regexplru
repository Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
secret
session
setting Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
sitemap
ssh Fine tune ssh related comments and code (#32846) 2024-12-15 06:07:50 +00:00
storage
structs Implement update branch API (#32433) 2024-12-12 05:02:35 +00:00
svg
sync
system
templates Do not display attestation-manifest and use short sha256 instead of full sha256 (#32851) 2024-12-16 10:22:49 +08:00
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
uri
user Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
util Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
validation
web Refactor markdown editor and use it for milestone description editor (#32688) 2024-12-04 02:11:34 +00:00
webhook
zstd