domains update failure

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
clojure
Domain
cli

Research direction

Start with the garden domains update --env production command path and trace where it fetches the newest revision for a branch. Compare that behavior with the successful remove and add commands in the report. The issue gives no file or test location; it is done when updating a domain no longer fails to get the newest revision and the update behavior is covered.

Written by the indexing model from the issue text.

Description

I broke book.clerk.vision by trying to update it:

mk@mkair ~/d/book-of-clerk (main)> garden domains update --env production book.clerk.vision
Warning: Permanently added '172.16.227.70' (ED25519) to the list of known hosts.
Failed to get newest revision for branch

Was able to restore it by running

mk@mkair ~/d/book-of-clerk (main)> garden domains remove --env production book.clerk.vision
Warning: Permanently added '172.16.227.70' (ED25519) to the list of known hosts.
mk@mkair ~/d/book-of-clerk (main)> garden domains add --env production book.clerk.vision https://github.clerk.garden/nextjournal/book-of-clerk/commit/7097b690e91a3c5297db604546f8b538eef2f97f/
Warning: Permanently added '172.16.227.70' (ED25519) to the list of known hosts.

Would be good to fix this properly.

Dominant language
Clojure
Stars
16
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextjournal/garden-cli

All issues in nextjournal/garden-cli

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.