AMP-31192 : Fix external buildability (HTTPS submodules/deps, remove proprietary headers) - #4504
Open
fferreyra wants to merge 2 commits into
Open
AMP-31192 : Fix external buildability (HTTPS submodules/deps, remove proprietary headers)#4504fferreyra wants to merge 2 commits into
fferreyra wants to merge 2 commits into
Conversation
…proprietary headers)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to make the repository buildable for external contributors by removing SSH-only/proprietary access requirements: switching git references to HTTPS and removing legacy proprietary headers that conflict with GPLv3.
Changes:
- Converted git submodule URLs from SSH (
git@github.com:) to HTTPS in.gitmodules. - Rewrote npm git dependency specifiers away from
github:shorthand /git:///git+ssh://to HTTPS-based URLs and updated corresponding lockfiles. - Removed legacy “Confidential and Proprietary / Unauthorized Disclosure Prohibited” header blocks from a set of Java files (delete-only).
Reviewed changes
Copilot reviewed 22 out of 26 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
.gitmodules |
Switches submodule URLs from SSH to HTTPS. |
amp/TEMPLATE/reampv2/packages/user-manager/package.json |
Updates amp-boilerplate dependency to git+https. |
amp/TEMPLATE/reampv2/packages/reampv2-app/package.json |
Updates multiple devgateway git dependencies to git+https. |
amp/TEMPLATE/reampv2/packages/container/package.json |
Updates amp-boilerplate dependency to git+https. |
amp/TEMPLATE/reampv2/packages/ampoffline/package.json |
Updates amp-boilerplate dependency to git+https. |
amp/TEMPLATE/reampv2/package-lock.json |
Updates resolved git URLs to HTTPS for devgateway deps and amp-translate. |
amp/TEMPLATE/reamp/package.json |
Updates amp-ui git dependency to git+https. |
amp/TEMPLATE/reamp/package-lock.json |
Updates resolved/spec git URLs to HTTPS for amp-ui and related git deps. |
amp/TEMPLATE/ampTemplate/dashboard/dev/package.json |
Replaces git:// dependency URL with git+https. |
amp/TEMPLATE/ampTemplate/dashboard/dev/package-lock.json |
Updates resolved git URL to HTTPS for nvd3. |
amp/TEMPLATE/ampTemplate/amp-settings/package-lock.json |
Updates amp-translate resolution to HTTPS. |
amp/src/main/java/org/digijava/module/um/util/DbUtil.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/um/form/UserRegisterForm.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/um/form/AddUserForm.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/editor/taglib/EditTag.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/util/ModuleUtil.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/util/ModuleEmailManager.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/util/DateTimeUtil.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/util/BBCodeParser.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/exception/BBCodeException.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/dbentity/ModuleTeaser.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/dbentity/ItemStatus.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/action/PaginationForm.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/module/common/action/PaginationAction.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/kernel/viewmanager/reposimpl/ViewConfigImpl.java |
Removes legacy proprietary header block. |
amp/src/main/java/org/digijava/kernel/viewmanager/reposimpl/TemplateViewConfigImpl.java |
Removes legacy proprietary header block. |
Files not reviewed (4)
- amp/TEMPLATE/ampTemplate/amp-settings/package-lock.json: Generated file
- amp/TEMPLATE/ampTemplate/dashboard/dev/package-lock.json: Generated file
- amp/TEMPLATE/reamp/package-lock.json: Generated file
- amp/TEMPLATE/reampv2/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
11
to
13
| "dependencies": { | ||
| "amp-translate": "github:devgateway/amp-translate" | ||
| "amp-translate": "https://github.com/devgateway/amp-translate.git" | ||
| }, |
| "amp-translate": { | ||
| "version": "git+ssh://git@github.com/devgateway/amp-translate.git#c169447fb1cfd728259830ac5564d6dbf31a5380", | ||
| "version": "git+https://github.com/devgateway/amp-translate.git#c169447fb1cfd728259830ac5564d6dbf31a5380", | ||
| "from": "amp-translate@github:devgateway/amp-translate", |
Update the legacy npm-v6-compat "from" fields and one inconsistent package spec that were missed when converting git dependencies to git+https:// — flagged by review on PR #4504.
jdeanquin-dg
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enables external contributors to clone and build the project without SSH keys or privileged access (AMP-31192).
Changes
.gitmodules— converted the three submodule URLs (amp-boilerplate, amp-translate, amp-filter) from SSH (git@github.com:) to HTTPS; the repos are public now.github:shorthand and deadgit://specifiers with explicitgit+https://URLs in 6 package.json files, and rewrotegit+ssh://resolved URLs in 4 package-lock.json files (reampv2, reamp, amp-settings, dashboard/dev). Pinned commit SHAs are unchanged — protocol swap only, zero version drift. Lockfile-recorded specs were updated in sync sonpm ciaccepts them.Verification
git ls-remote)npm ci --dry-runpasses for reampv2 (3122 packages) and amp-settings (737 packages)npm ci --dry-runfor reamp and dashboard/dev fails locally identically on pristine develop (legacy webpack-1 peer conflict; Linux-generated lockfiles under npm 11) — pre-existing, unrelated to this changeNotes for reviewers
git submodule syncafter mergegit clone --recurse-submodules+ Maven build as an outside user