Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,895
    • Issues 34,895
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,230
    • Merge Requests 1,230
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #36853

Closed (duplicated)
Open
Opened Nov 20, 2019 by Steve Abrams@sabrams🔴Maintainer

Scope npm packages at the project level

Problem to solve

NPM is not following the convention laid out by Maven in implementing project, group, and instance-level endpoints for uploading and downloading/installing packages. This can lead to confusion when trying to understand the rules working with multiple repository types.

Intended users

  • Software Developer
  • DevOps Engineer

Further details

Project and group level endpoints should enjoy the ability to have open naming restrictions. Instance level endpoint should use the pattern @my-top-namespace/my-subgroup+myother-subgroup+my-package.

Proposal

Add appropriate endpoints to implement group-level uploads and refactor the existing project and instance-level endpoints to be consistent with our other package managers.

Permissions and Security

Action Guest Reporter Developer Maintainer Owner
Pull from Maven repository or NPM registry or Conan Repository x x x x
Publish to Maven repository or NPM registry or Conan Repository x x x

Documentation

Update the NPM documentation to be consistent with Maven in describing each of these endpoints (remotes) to users.

Testing

  • Test permissions work as expected at instance/group/project level
  • Ensure there are no issues for instances that have the repository turned on at each level.
  • Ensure no existing packages will be adversely affected by these changes.

What does success look like, and how can we measure that?

What is the type of buyer?

This feature will be focused on Director and Executives, as it is a Premium/Ultimate feature. https://about.gitlab.com/handbook/ceo/pricing/#four-tiers

Links / references

Edited Apr 10, 2020 by Tim Rizzi
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#36853