Skip to content

The team layer's Darwin project installs GNU tar from MacPorts, and deploy always has a registry #1179

Closed

Description

@David-Noble-at-work

The task

The team layer's Darwin project installs GNU tar and coreutils from MacPorts, which make dist requires since #1163: GNU tar for --sort and --mtime, coreutils for GNU touch's --date. coreutils was added on the owner's ruling of 2026-10-25. The project is new: Home/common.Darwin/packages-manifest.yaml, holding two claims in the mapping form the loader accepts (#785 keeps bare strings unloadable).

packages:
  - name: pkg:port/coreutils
  - name: pkg:port/gnutar

The port scheme pins MacPorts and keeps the claim off the registry lookup.

There is always a registry

writ deploy builds its registry client from config.Load() and RegistryConfig.WithDefaults(), so the client is the devlore-registry at https://github.com/NobleFactor/devlore-registry.git on develop unless configuration names another. NewRegistry returns a client or an error, never nil.

planManifests in cmd/writ/writ/deploy/manifest.go still carries a branch for a nil Registry that skips every manifest with the note "Skipping N packages-manifest file(s): no registry configured". No production caller reaches it. Only the integration tests of upgrade, reconcile, decommission and adopt build a deploy.Config without a registry. The branch is a fallback for a state that does not exist, and it hides a missing registry as a skipped manifest.

The branch and its note are deleted. A nil Registry is a programming error: deploy.Execute refuses it, and the integration tests pass a registry.

Done when

docs/plans/task/1151-narration-bytes.md: Phase 4, which this task's live run closes
docs/guides/writ/packages-manifest.md: the manifest guide: platform variants and the MacPorts preference

Plan and design documents

Kind Document
Plan docs/plans/task/1179-gnutar-manifest.md

Activity

  1. David-Noble-at-work commented on Nov 8, 2026

    @David-Noble-at-work
    ContributorAuthor

    Closed on 2026-11-07 by the owner's word, in the Area review of NobleFactor/noblefactor-engprod#452, as completed. Area Product: writ's deploy refusing a nil registry is product code.

    Its work merged on 2026-10-25 in #1180: the team layer's Darwin manifest claiming GNU tar and coreutils, and deploy.BuildGraphs refusing a nil registry, with TestBuildGraphs_ANilRegistryRefusesTheDeploy. Its last box, the live run of a deploy that reinstalls a package with MacPorts' progress shown and nothing under --silent, moved to shellcheck in #1184, and Task #1181 now carries it, as its title says: its deploy is the live run of #1151 and #1179.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions