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

1045 repo 4.0 #1087

Merged
merged 11 commits into from
Apr 20, 2023
Merged

1045 repo 4.0 #1087

merged 11 commits into from
Apr 20, 2023

Conversation

alnlarsen
Copy link
Collaborator

Use repo client and target repo 4.0 API to support authentication

Closes #1045

@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:29 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:35 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:35 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:35 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:36 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:37 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:37 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:37 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:38 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:43 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:44 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:44 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:45 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:45 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:45 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 14, 2023 13:45 — with GitHub Actions Inactive
Copy link
Collaborator

@StefanHolst StefanHolst left a comment

Choose a reason for hiding this comment

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

Looks great, just some minor comments.

Engine/Authentication/AuthenticationSettings.cs Outdated Show resolved Hide resolved
Package/Repositories/HttpPackageRepository.cs Outdated Show resolved Hide resolved
Package/IPackageRepository.cs Outdated Show resolved Hide resolved
Package/Image/PackageDependencyQuery.cs Outdated Show resolved Hide resolved
@@ -439,6 +321,25 @@ public void DownloadPackage(IPackageIdentifier package, string destination, Canc
}
}

private void Auth()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we call it something like, AttachAuthentication?

PackageDef.SaveManyTo(stream, ConvertToPackageDef(compatibleWith));
stream.Seek(0, 0);
string data = new StreamReader(stream).ReadToEnd();
["type"] = @class,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Type and class are not the same. It should just be class

Package/Repositories/HttpPackageRepository.cs Show resolved Hide resolved
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 12:47 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 12:47 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 12:53 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 12:53 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 12:56 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:31 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:38 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:38 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:38 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:39 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:41 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:41 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:41 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:46 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:46 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:46 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:46 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:46 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:47 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:47 — with GitHub Actions Inactive
@alnlarsen alnlarsen temporarily deployed to sign April 20, 2023 13:47 — with GitHub Actions Inactive
@AsgerIversen AsgerIversen merged commit ccbcf33 into main Apr 20, 2023
37 checks passed
@AsgerIversen AsgerIversen deleted the 1045-repo-4.0 branch April 20, 2023 15:01
@github-actions
Copy link

This change is part of OpenTAP version 9.21.0-beta.12+ccbcf336 or later.

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.

Support repo 4.0 API
3 participants