Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Sep 08:47
· 28 commits to main since this release

Fixed

  • The kdev up status board smeared across the terminal once the box was up:
    frames repeated and lines drifted right. kdev's background ssh calls asked
    for a tty (the ssh block sets RequestTTY yes), which put the terminal in
    raw mode under the board. They now pass -T.
  • kdev up right after a session was cancelled could build on the version
    before it and drop that session's work: Kaggle lists a cancelled version's
    files bit by bit while it says CANCEL_REQUESTED. up now waits for the
    save to finish.
  • A file whose name has a space or non-ASCII letters (notes ü.txt) could
    never be restored: Kaggle signs its URL unescaped and urllib refused it.
  • A project file named like one of the box's own (web/static/custom.css) was
    silently left out of every restore and backup. Only the top-level ones are
    skipped now.
  • A restore killed part-way could corrupt a large file on the next start: the
    half-downloaded .kdev-part it left was saved, restored as a user file, and
    landed on the real file's download. Leftovers are ignored, and a download
    cut short is retried instead of kept.
  • A restore killed part-way lost exec bits (e.g. .git/hooks) for the files it
    had already brought back. They are now recorded before the first download.
  • kdev up straight after kdev down found the box still saving (Kaggle says
    RUNNING until the upload ends, about 2 min per GB), tried to connect and
    failed. It now waits for the save and starts afresh. A second kdev down
    says the box is already stopping instead of cancelling it, and kdev status
    says "stopping".
  • VS Code and ssh kaggle failed with "Host key verification failed" on any
    machine that had not started the current box: every box has a new host key.
    The kaggle block no longer pins one.
  • kdev down removed the kaggle block, so that machine could not reach the
    next box another machine started. With a named tunnel it now stays, and
    status, backup, restore and setup write it when it is missing.
  • A file deleted in a session came back after a restore that had not finished:
    the version underneath was restored whole. Now it only fills in what that
    restore never delivered, which the box logs in .kdev/fetched.
  • kdev backup kept files deleted on the box, and files from other notebooks,
    and kdev restore --from-backup then overwrote what the session had written.
    The backup is now an exact copy, and pushing it only adds what is missing.
  • kdev restore --from v999 reported success for a version that does not
    exist, and --from changed the version the box records as its base.
  • kdev workspace said "0 file(s)" and workspace files "nothing saved yet"
    while a box was running: they read the running version, which has no files
    until it ends. Both now show the newest version with files.
  • kdev setup, and every other yes/no question, stopped with "interrupted"
    when run without a terminal. They now take the default answer.