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

sonatype nexus - quirks modes #782

Merged
merged 24 commits into from
May 29, 2024
Merged

sonatype nexus - quirks modes #782

merged 24 commits into from
May 29, 2024

Conversation

hilmarf
Copy link
Member

@hilmarf hilmarf commented May 28, 2024

Description

Two step token auth doesn't work with Nexus and the REST endpoint for a dedicated version doesn't exist. With this PR, Read-Access is done only via Basic-Auth and in case the specified version endpoint is not found, it will now try to load the complete package description from one level above. That should contain ALL existing versions, incl. the requested one.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🎇 Restructuring
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help
  • Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Added to documentation?

  • 📜 README.md
  • 🙅 no documentation needed

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added the size/m Medium label May 28, 2024
@hilmarf hilmarf linked an issue May 28, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented May 28, 2024

Mend Scan Summary: ❌

Repository: open-component-model/ocm

VIOLATION DESCRIPTION NUMBER OF VIOLATIONS
HIGH/CRITICAL SECURITY VULNERABILITIES 0
MAJOR UPDATES AVAILABLE 0
LICENSE REQUIRES REVIEW 4
HIGH RISK LICENSES 9
RESTRICTIED LICENSE FOR ON-PREMISE DELIVERY 0

Detailed Logs: mend-scan-> Generate Report
Mend UI

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

@hilmarf hilmarf marked this pull request as ready for review May 28, 2024 10:28
Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

pkg/iotools/digests.go Outdated Show resolved Hide resolved
@hilmarf hilmarf requested a review from Skarlso May 28, 2024 14:29
Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 28, 2024

Integration Tests for ab463b2 run with result: Success ✅!

@hilmarf hilmarf requested a review from Skarlso May 28, 2024 15:44
Copy link
Contributor

ocmbot bot commented May 29, 2024

Integration Tests for 509ba89 run with result: Success ✅!

@hilmarf hilmarf requested a review from mandelsoft May 29, 2024 07:40
Copy link
Contributor

ocmbot bot commented May 29, 2024

Integration Tests for 509ba89 run with result: Success ✅!

Copy link
Contributor

ocmbot bot commented May 29, 2024

Integration Tests for ba23b9f run with result: Success ✅!

@hilmarf hilmarf merged commit 862458c into main May 29, 2024
15 checks passed
@hilmarf hilmarf deleted the npm/nexus branch May 29, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/m Medium
Projects
Status: 🔒Closed
Development

Successfully merging this pull request may close these issues.

npm support does not work with nexus Credentials for npm repositories have no effect
3 participants