Uploaded image for project: 'RH Developer Hub Planning'
  1. RH Developer Hub Planning
  2. RHDHPLAN-964

Support npm package publishing for ghost forking of dependencies

Create Doc EPIC from R...Prepare for Y ReleasePrepare for Z ReleasePrepare Test Plan (Y R...XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • Build, LTS, Upstream & Community
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDHPLAN-875Long Term Support for RHDH
    • M

      In order to open the door to LTS support of plugins which depend on chains of 3rd party deps which sometimes can't or won't be updated in a timely manner, we will need a process for "ghost forking" packages and delivering them to NRRC (https://npm.registry.redhat.com/ ).

      This will then open the door to customers being able to get our security/bugfix patched versions of dependencies by referring to the NRRC registry to resolve deps, instead of the unpatched ones in the wilderness (from yarn or npmjs registries).

      To achieve this we need to start using the charon-powered Konflux tasks that can take maven and npm packages and copy them to NRRC.

      Prelim information (to be fleshed out into epics/tasks):

      TL;DR

      We want to be able to

      • rebuild some upstream node packages from @backstage scope in case there's a CVE
      • that we have to fix outside the Backstage 6mo support agreement;
        We would then need a way to
      • publish that patched package to a RH-approved registry,
      • using ideally the SAME namespace (not under @redhat), but would
      • apply a patched version, eg., with -redhat suffix or something to
      • differentiate the original upstream from our security-patched version

      Also we'd want use

      • Yarn v4
      • hermeto
      • konflux snapshots and
      • release yamls

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: