camallo / dkregistry-rs

A pure-Rust asynchronous library for Docker Registry API v2
Apache License 2.0
62 stars 39 forks source link

reference: add test and extract constants #93

Closed steveej closed 5 years ago

steveej commented 5 years ago

Reference parsing is broken for inputs with ports and repos without a namespace. This acts as an issue demonstration until we fix it.

@lucab please feel free top commit on top of this

lucab commented 5 years ago

I've split apart the constant and test chunks in here, and improved the parsing logic. I didn't want to force push here, so the result is at https://github.com/camallo/dkregistry-rs/pull/94.

steveej commented 5 years ago

Superseded by #94