msg555 / aioregistry Goto Github PK
View Code? Open in Web Editor NEWThis project forked from clinc/pyregistry
License: Other
This project forked from clinc/pyregistry
License: Other
Attempting to access any image stored on AWS' public registry fails attempting to acquire an access token.
Reproduce:
$ aioregistry public.ecr.aws/lambda/python:3.10
Traceback (most recent call last):
File "/home/msg/proj/aioregistry/.venv/bin/aioregistry", line 8, in <module>
sys.exit(sync_main())
File "/home/msg/proj/aioregistry/aioregistry/cli.py", line 249, in sync_main
return asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/msg/proj/aioregistry/aioregistry/cli.py", line 133, in main
return await _main(args)
File "/home/msg/proj/aioregistry/aioregistry/cli.py", line 219, in _main
result = _convert_object(await get_object(src_ref))
File "/home/msg/proj/aioregistry/aioregistry/client.py", line 305, in manifest_download
async with await self._request("GET", registry, ref.url) as response:
File "/home/msg/proj/aioregistry/aioregistry/client.py", line 217, in _request
self.access_tokens[auth_key] = (await auth_resp.json())["access_token"]
KeyError: 'access_token'
If a registry presents a manifest in a non-canonical format we should still support correctly copying data. We'll need to do one of the following:
My preference is probably to do the former. We maybe should still support the latter, however, in case the destination registry attempts to reformat the digest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.