Skip to content

Fix broken and stale build instructions in README - #2058

Merged
farmdawgnation merged 2 commits into
mainfrom
claude/framework-readme-build-r2cf6l
Jul 26, 2026
Merged

Fix broken and stale build instructions in README#2058
farmdawgnation merged 2 commits into
mainfrom
claude/framework-readme-build-r2cf6l

Conversation

@farmdawgnation

@farmdawgnation farmdawgnation commented Jul 26, 2026

Copy link
Copy Markdown
Member

Mailing List thread:
N/A — this addresses an already-filed, publicly-discussed issue (#1996) rather than opening new discussion; happy to start a thread if a committer prefers that first.

Summary

Closes #1996, whose underlying problem has gotten worse since it was filed: the liftsh script the README tells readers to run doesn't just have a stale download URL anymore — it has been removed from the repository entirely. Following the current README literally now fails immediately with "no such file," rather than failing partway through a download.

While verifying the fix I found several other README claims that no longer match the state of the repository, so I corrected those too since the goal is for the README to be accurate, not just for the one broken command to be replaced:

  • liftsh is gone. Replaced the ./liftsh +update +publish instructions with the actual sbt-based workflow this repo's own CI uses (.github/workflows/ci.yaml): sbt test / sbt publishLocal, using the sbt version pinned in project/build.properties. Also dropped the link to the Assembla "Building Lift" wiki page — I checked it, and it still documents the removed liftsh script too, so linking to it just hands readers the same dead end.
  • Travis CI badge is dead. The repo hasn't built on Travis in a long time (the badge endpoint 404s) — it builds via the GitHub Actions workflow in .github/workflows/ci.yaml. Swapped the badge/link for that, and filled in the previously-empty "Continuous Integration" section at the bottom of the README with a short, accurate description.
  • mastermain. The default branch was renamed at some point; the CI badge and the SUPPORT.md/CONTRIBUTING.md/contributors.md reference links at the bottom of the README still pointed at the no-longer-existent master branch.
  • Stale 3.3.0 version in the dependency examples. Bumped the sbt and Maven snippets to 4.0.0, the actual latest release, and noted the Scala 3 cross-build support that shipped with it (build.sbt cross-builds 2.13.18 and 3.3.7).
  • "Project Organization" described a component that no longer exists. The README still listed a persistence component (Mapper/Record) as part of this repo; Lift 4.0 removed persistence entirely (confirmed against the 4.0.0 release notes and the actual directory layout, which has no persistence folder). Replaced that bullet with a note that persistence was removed as of 4.0 and pointing users who need it at 3.x.

What I didn't touch

CONTRIBUTING.md has its own stale master-branch link back to SUPPORT.md, and the g8 template links (lift/basic-app.g8, lift/blank-app.g8) reference master on repos outside this one that I couldn't verify from here — left both alone rather than guess.

Test plan

  • Cross-checked every changed claim against the actual repository state (project/build.properties, build.sbt, .github/workflows/ci.yaml, directory layout, git branch/git remote) rather than against the old README text.
  • Confirmed liftsh does not exist anywhere in the repo (grep -ri liftsh only matches the README itself, pre-fix).
  • Confirmed the Travis badge endpoint 404s and that GitHub Actions is the actual CI system in use.
  • Confirmed the default branch is main via git remote show origin.
  • Confirmed the latest release is 4.0.0 and that it removed the persistence components, via the GitHub release notes and the current directory layout.
  • Have not run a full sbt test build in this environment (sbt isn't installed here and bootstrapping it would need Maven Central access); the commands documented mirror .github/workflows/ci.yaml exactly, so CI on this PR will exercise the same build.

Generated by Claude Code

The build instructions from issue #1996 have gotten worse since it was
filed: the liftsh script they reference no longer exists in this
repository at all (the project now builds with plain sbt, per
project/build.properties and .github/workflows/ci.yaml), so the
documented `./liftsh +update +publish` command fails outright rather
than just hitting a bad download URL.

- Replace the liftsh build instructions with the actual sbt workflow
  used by CI (`sbt test` / `sbt publishLocal`), and drop the pointer to
  the Assembla wiki page, which still documents the removed liftsh
  script.
- Swap the dead Travis CI badge/link for the GitHub Actions workflow
  that actually builds this repo, and fill in the previously-empty
  "Continuous Integration" section describing it.
- Update `master` branch references (badge, SUPPORT.md/CONTRIBUTING.md/
  contributors.md links) to `main`, the repository's actual default
  branch.
- Bump the stale 3.3.0 version used in the sbt/Maven dependency
  examples to the current 4.0.0 release, and note Scala 3 cross-build
  support alongside 2.13.
- Correct the "Project Organization" section: the persistence
  components (Mapper/Record) were removed from this repository as of
  Lift 4.0 and no longer exist here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GjZjf9sgANRdtg2WMcxba2
Copilot AI review requested due to automatic review settings July 26, 2026 02:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the root README to reflect the current build/CI and repository structure, replacing removed or stale instructions (e.g., liftsh, Travis badge, master links) with the sbt- and GitHub Actions–based workflow actually used by the project.

Changes:

  • Replace Travis CI badge with GitHub Actions badge and add a short CI description/link.
  • Update dependency examples and Maven/Scala version guidance for the Lift 4.x line.
  • Remove/replace stale repo references (e.g., master links, persistence component mention, liftsh build steps).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md Outdated
sbt test only runs against the default scalaVersion, not across
crossScalaVersions like the earlier text claimed. Use sbt +test /
+publishLocal (sbt's built-in cross-build alias) so the documented
commands actually match the described behavior. Also fix a pre-existing
"Repostories" typo in the section heading this PR already touches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GjZjf9sgANRdtg2WMcxba2
@farmdawgnation
farmdawgnation merged commit 7ea53e8 into main Jul 26, 2026
6 checks passed
@farmdawgnation
farmdawgnation deleted the claude/framework-readme-build-r2cf6l branch July 26, 2026 11:58
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.

The build lift instructions in Readme don't work

3 participants