You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
[email protected] was published to the npm package registry without the submodule files included.
Details
This occurs when running npm publish, after cloning this repository non-recursively (should be git clone --recurse-submodules (or git clone --recurse as a shorthand syntax)... or after cloning non-recursively, one should run git submodule update --init.
This brings in the submodule at deps/libgit2. Without these files included in the published tarball, the package lacks the library it is based around, and the package does not build or function -- the package is effectively broken if uploaded without the submodule included.
Steps to Reproduce
mkdir inspect_gitutils_tarball && cd inspect_gitutils_tarball
Please consider uploading a v5.7.1 with the submodule initialized. Also, consider #104 to make sure the submodule is automatically initialized before publishing this package. #104 or a similar approach would effectively prevent this issue from happening in the process of uploading future releases.
Prerequisites
Description
[email protected]was published to the npm package registry without the submodule files included.Details
This occurs when running
npm publish, after cloning this repository non-recursively (should begit clone --recurse-submodules(orgit clone --recurseas a shorthand syntax)... or after cloning non-recursively, one should rungit submodule update --init.This brings in the submodule at
deps/libgit2. Without these files included in the published tarball, the package lacks the library it is based around, and the package does not build or function -- the package is effectively broken if uploaded without the submodule included.Steps to Reproduce
mkdir inspect_gitutils_tarball && cd inspect_gitutils_tarballnpm pack [email protected](This downloads[email protected]from the npm package registry)tar xf git-utils-5.7.0.tgz(Unpack the tarball, wait for it to finish unpacking)ls ./package(inspect the contents of the tarball, looking for thedeps/libgit2submodule files to be present)Expected behavior:
Submodule should be included in the tarball; there should be files in
deps/libgit2Actual behavior:
Submodule is not included; there is no
depsfolder in the tarball.Reproduces how often:
100% with v5.7.0
Versions
[email protected]
Additional Information
Please consider uploading a v5.7.1 with the submodule initialized. Also, consider #104 to make sure the submodule is automatically initialized before publishing this package. #104 or a similar approach would effectively prevent this issue from happening in the process of uploading future releases.