This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
Replies: 3 comments
-
This makes sense. LGTM. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
As proposed by oras-project/oras-go#413,
oras-credentials-go
is developed fororas-go
to fill the gap of being not able to login and logout. Let's recall the original concern of splittingoras-credentials-go
fromoras-go
from the FAQ section of oras-project/oras-go#413.However, it is not the case anymore as we have completely removed the dependencies on the docker go module since
v0.2.0
. Meanwhile, theoras-credentials-go
is backward and forward compatible with the docker config files used by various docker CLI versions.During the development and integration with various CLIs, we found the following drawbacks of splitting the
oras-go
SDK into two repositories.oras-go
: Surprisingly, it was unseen thatoras-credentials-go
depends onoras-go v2
and thus becomes a downstream project oforas-go
. It becomes a problem if there is a version update inoras-go
, especially when it upgrades tooras-go v3
. If a single version oforas-credentials-go
wants to support two major versions oforas-go
, then it will have two dependencies, and thus burdensoras-go
users. If we want to have multiple versions oforas-credentias-go
to support multiple versions oforas-go
, it further increases the maintenance cost.oras-credentials-go
project from theoras-go
project. No one will use it if no one knows it.Proposal
It will improve the situation if we merge
oras-credentials-go
back tooras-go
whenoras-credentials-go
reaches a fairly stable version likev1.0.0-rc.1
so that we cancredentials
package inoras-go
as an incremental feature with no dependency penaltyoras-go
The
oras-credentials-go
package can be put atoras.land/oras-go/v2/registry/remote/credentials
and / orgithub.com/oras-project/oras-go/v2/registry/remote/credentials
.Once the
oras-credentials-go
package is merged tooras-go
, we can archive theoras-credentials-go
repository. Since we will encourage developers to use thecredentials
package underoras-go
, we will not release a stable version likev1.0.0
forgithub.com/oras-project/oras-credentials-go
.References
oras-credentials-go
repository community#24/cc @Wwwsylvia @TerryHowe @sabre1041 @FeynmanZhou @wangxiaoxuan273 @sajayantony @qweeah for discussions
Beta Was this translation helpful? Give feedback.
All reactions