This repository was archived by the owner on Apr 7, 2024. It is now read-only.
  
  
  
  
Replies: 3 comments
-
| 
         SGTM  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         This makes sense. LGTM.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         SGTM.  | 
  
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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
As proposed by oras-project/oras-go#413,
oras-credentials-gois developed fororas-goto fill the gap of being not able to login and logout. Let's recall the original concern of splittingoras-credentials-gofromoras-gofrom 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-gois 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-goSDK into two repositories.oras-go: Surprisingly, it was unseen thatoras-credentials-godepends onoras-go v2and 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-gowants to support two major versions oforas-go, then it will have two dependencies, and thus burdensoras-gousers. If we want to have multiple versions oforas-credentias-goto support multiple versions oforas-go, it further increases the maintenance cost.oras-credentials-goproject from theoras-goproject. No one will use it if no one knows it.Proposal
It will improve the situation if we merge
oras-credentials-goback tooras-gowhenoras-credentials-goreaches a fairly stable version likev1.0.0-rc.1so that we cancredentialspackage inoras-goas an incremental feature with no dependency penaltyoras-goThe
oras-credentials-gopackage can be put atoras.land/oras-go/v2/registry/remote/credentialsand / orgithub.com/oras-project/oras-go/v2/registry/remote/credentials.Once the
oras-credentials-gopackage is merged tooras-go, we can archive theoras-credentials-gorepository. Since we will encourage developers to use thecredentialspackage underoras-go, we will not release a stable version likev1.0.0forgithub.com/oras-project/oras-credentials-go.References
oras-credentials-gorepository community#24/cc @Wwwsylvia @TerryHowe @sabre1041 @FeynmanZhou @wangxiaoxuan273 @sajayantony @qweeah for discussions
Beta Was this translation helpful? Give feedback.
All reactions