1
0
mirror of https://github.com/containers/skopeo.git synced 2025-05-04 22:16:43 +00:00
skopeo/integration
Colin Walters f7dc084799 proxy: Change the imgid to uint64
In PR review for a different issue, the question of what happens
if we hit overflow for the imageid serial was hit.  This feels
pretty unlikely; if I did the math right, it'd require opening
an average of 136 images per second to overflow it in a year.
Nevertheless, in practice what we're sending on the wire is just a JSON
number, and if we extend this to the "max safe JSON number" of 2^53,
it'd take 285,616,414 images per second to overflow in a year, going
from implausible to probably impossible.

With a bit more work of course, we could make this a sparse mapping
and reuse freed numbers, but eh.

Signed-off-by: Colin Walters <walters@verbum.org>
2023-07-13 00:24:55 +02:00
..
fixtures Update for the renames of sigstore to lookaside 2022-07-12 13:47:35 +02:00
blocked_test.go Replace gopkg.in/check.v1 by github.com/stretchr/testify/suite/ 2023-02-17 02:35:51 +01:00
check_test.go Fix some warnings 2023-02-23 16:08:45 +01:00
copy_test.go Fix some warnings 2023-02-23 16:08:45 +01:00
decompress-dirs.sh copy: add a --all/-a flag 2019-10-22 11:05:42 -04:00
fixtures_info_test.go Remove signature/fixtures subpackage 2016-05-21 21:21:58 +02:00
openshift_shell_test.go Replace gopkg.in/check.v1 by github.com/stretchr/testify/suite/ 2023-02-17 02:35:51 +01:00
openshift.go Replace gopkg.in/check.v1 by github.com/stretchr/testify/suite/ 2023-02-17 02:35:51 +01:00
procutils_linux.go tests: Add new "procutils" that exposes PDEATHSIG 2021-11-15 21:02:14 -05:00
procutils.go Add missing comment punctuation 2023-02-03 17:48:16 +01:00
proxy_test.go proxy: Change the imgid to uint64 2023-07-13 00:24:55 +02:00
registry.go Fix some warnings 2023-02-23 16:08:45 +01:00
signing_test.go Verify signatures from a trust store 2023-04-01 11:51:57 +01:00
sync_test.go Fix some warnings 2023-02-23 16:08:45 +01:00
utils.go Use io.WriteString 2023-02-27 18:15:47 +01:00