Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added delete image & get digest logic for Generic V2 #182

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

alexyaang
Copy link
Member

This PR mainly addressed adding delete image & get digest logic for Generic V2

I also refactored some of the naming in GenericV2DP since the names I previously gave things didn't really make sense.

Related to microsoft/vscode-docker#4026

@alexyaang alexyaang marked this pull request as ready for review August 24, 2023 15:45
@alexyaang alexyaang requested a review from a team as a code owner August 24, 2023 15:45
});
}

public async getImageDigest(item: CommonTag): Promise<string> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and deleteTag can probably be in RegistryV2DataProvider (the base class)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah you're right

Copy link
Member Author

@alexyaang alexyaang Aug 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that reminds me, I should look at if that protocol would work with GitHub, theoretically, it would right? but regardless, i think moving it to RegistryV2DataProvider would make sense

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub is fully v2 compliant, or at least, it's supposed to be.

@alexyaang alexyaang merged commit c982ac3 into bmw/registries Aug 24, 2023
1 check passed
@alexyaang alexyaang deleted the yangalex/deleteGenericV2Image branch August 24, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants