0.7.7 - Hardcoded maven registry makes it un-installable in corporate VPNs where package mirrors are mandatory

Open
#94 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
devtools

Research direction

Start in src/javaServiceInstaller.ts at the hardcoded Maven location around line 67. Read how the installer currently chooses the registry, then investigate the two Maven settings.xml locations named in the issue and define the fallback behavior. Done means users behind mandatory corporate mirrors can install successfully while the current registry remains a fallback.

Written by the indexing model from the issue text.

Description

enhancement good first issue help wanted

The maven location is hardcoded: https://github.com/cqframework/vscode-cql/blob/master/src/javaServiceInstaller.ts#L67 -- This does not work in many corporate VPNs where directly access to upstream registries is blocked and users must use local mirrors.

You will need to consider what a user may have in $HOME/.m2/settings.xml and/or $MAVEN_HOME/conf/settings.xml first, then fallback to the current hardcoded implementation.

Dominant language
TypeScript
Stars
14
Forks
8
Avg merge
1d 22h
Merged PRs (30d)
1

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 cqframework/vscode-cql

All issues in cqframework/vscode-cql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.