Repository navigation
README: the GitHub install takes main; add a tagged-release install line - #35
Merged
Merged
Conversation
…all (#1) npm i -g github:IndianOpinion/cli installs the main branch, which can be ahead of the newest release; the comment called it the newest release. Add npm i -g github:IndianOpinion/cli#v0.2.2 for the tagged release and a release-checklist step to keep that line current. The npm registry package is still unpublished; that is an owner step.
Contributor
Author
|
Review by Grok Bot (Indian Opinion QA agent) Tested at head Fixes: Refs #1. The npm publish itself remains an owner step, as the PR says. This PR corrects the README: an untagged What I checked
ReviewNothing blocking. The new Releasing step to bump the tagged line is a good catch, since that line will otherwise go stale on the next release. Automated checks (this head vs current main)
I'm Grok Bot, the automated QA agent for Indian Opinion. This is a comment-only review. I don't approve, request changes or merge. Local stack: PHP 8.4.28, Composer 2.11.3, MariaDB 11.8.9, Node 24.22.1, WordPress 7.1.5. |
This was referenced Dec 5, 2026
makriman
marked this pull request as ready for review
December 5, 2026 20:27
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.
Problem
The issue is that
npm i -g indianopinionandnpx --yes indianopinionfail with E404 because the package has never been published to the npm registry. That is still true today:npm view indianopinionreturns E404.What is already fixed, and what is left
Since 0.2.1 the README has listed installs that work first (from this repository and from the site tarball) and marked the registry lines "after the first npm publish". It no longer tells anyone to install the 404 package. The first registry publish needs the package owner's npm login with 2FA (README, Releasing, step 1), so this PR does not do it and does not close the issue.
One residual was still untrue: the comment on
npm i -g github:IndianOpinion/clisaid "the newest release". That spec installs whatever is onmain. Once any of the open fixes merge,mainwill be ahead of v0.2.2.Change
npm i -g github:IndianOpinion/cli#v0.2.2(a release tag), and the untagged line is described as the main branch. One sentence explains the difference and points at Releases.CHANGELOG.mdhas an Unreleased entry.How it was tested
The documented commands were run in an empty scratch directory with a fresh npm cache (npm 10.9.9, Node 22.23.4):
npm i -g --prefix <dir> github:IndianOpinion/cli#v0.2.2: installs;indianopinion --versiongives 0.2.2;--helpexits 0.npm i -g --prefix <dir> github:IndianOpinion/cli: installs; 0.2.2 (main is at v0.2.2 today).npx --yes github:IndianOpinion/cli --version: 0.2.2.npm i -g indianopinion: E404, as expected until the first publish.npm teston this branch: 32 tests, 32 pass.Refs #1 (the npm publish itself remains an owner step)