Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Specify superstring as a tarball URL, not a git URL #6

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

DeeDeeG
Copy link
Member

@DeeDeeG DeeDeeG commented Nov 10, 2023

Specified the superstring dependency as as a tarball URL in package.json, not as a git URL.

Motivation:

Tarballs are the simpler format for package managers to handle.

(Git URLs are cloned into a temp dir, installed there, then the result is copied. Tarballs are simply fetched and extracted.)

In my opinion, for reasons of performance and simplicity, tarballs should be preferred over git URLs in package.json, where possible.

(Note: I forgot to do it this way in #5, but I remembered while I was going over to update *this* package as a dependency in the github package repo. I figured I can circle back and do it now.)

Tarballs are the simpler format for package managers to handle.

Git URLs are cloned into a temp dir, installed there,
then the result is copied. Tarballs are simply fetched and extracted.

For performance and simplicity, tarballs should be preferred over
git URLs where possible.
Copy link
Member

@confused-Techie confused-Techie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I can't verify about this being simpler, I'll trust you there and confirm the sha specified is identical, so in any case this should be an exact change to something that's easier on a technical level for installation, which is always great. Lets get it merged!

Also love the amount of care and attention you and I have given to this repo recently, it's nice to go a bit overboard with one repo until there's zero other changes that should really occur anytime soon. Gives some level of completeness lol

@DeeDeeG
Copy link
Member Author

DeeDeeG commented Nov 11, 2023

Thanks! (Merging now!)

@DeeDeeG DeeDeeG merged commit cc7818a into master Nov 11, 2023
6 checks passed
@DeeDeeG DeeDeeG deleted the deps-superstring-as-tarball-URL-not-git-URL branch November 11, 2023 00:48
DeeDeeG added a commit that referenced this pull request Dec 13, 2023
…rball-URL-not-git-URL"

This reverts commit cc7818a, reversing
changes made to b828ad0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants