Lock file enhancement: Add unique tag to modules

Open
#1,172 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Domain
tooling

Research direction

Start by reviewing the initial IPM lock-file module definition and the work tracked in blocked issue #281. Determine the repository-backed unique tag required for a module artifact and how lock-file installation should use it; done means replacing an artifact no longer produces an identical-looking but different installation.

Written by the indexing model from the issue text.

Description

enhancement security

In the initial implementation of the IPM lock file, the module definition has name, version, repository, and dependencies properties. We should add some sort of unique tag that goes along with the module that lives on the repository. The reason for this being is a scenario that a module gets replaced in a repository with a new artifact. This would lead to installing from a lock file using a different module artifact than what was on the environment the lock file was created from.

Example:

  • my-module v5.1.0 from my-repository is installed on instance-1
  • Lock file gets created
  • For some undefined reason, my-module v5.1.0 has its artifact replaced on my-repository that has differences from the original my-module v5.1.0
  • Lock file gets installed on instance-2

In this example, nothing would explicitly error, but our expectation would be for instance-1 and instance-2 to be identical when they are not

Blocked by #281

Dominant language
ObjectScript
Stars
41
Forks
33
Avg merge
23h 20m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intersystems/ipm

All issues in intersystems/ipm

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.