Skip to content

0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:50
· 59 commits to main since this release
Immutable release. Only release title and notes can be modified.
1977758

Pushes no longer touch your local repository folder.

Changed

  • New push pipeline. Each export is committed with Git plumbing in a
    temporary index, on top of the branch's latest version on GitHub, then
    pushed with a plain fast-forward push. The add-in no longer stashes, pulls,
    switches branches, creates local branches or copies exports into the local
    folder. Your uncommitted work, other branches and stashes are untouched
    whether a push succeeds, fails or is cancelled.
  • Snapshot branches start from GitHub's main, not from whatever branch
    the local folder had checked out, so unpushed local commits can never be
    published by accident.
  • If someone pushes at the same moment, the export is rebuilt on their
    latest version and pushed again (up to 3 attempts) instead of failing. Their
    commits are always kept.
  • Branch Name Override checks the branch on GitHub, not locally, and asks a
    distinct question when the branch is the repository's main branch.
  • Empty repositories get a first commit on main with a .gitattributes
    file, so text-based CAD formats are never line-ending converted.
  • Setup no longer re-points a folder that is already connected to a
    different GitHub repository without asking, and no longer creates an empty
    local commit.
  • push_cli.py gains --mode single (one running history on one branch) and
    --target-branch. The add-in's dialog still uses snapshot branches; choosing
    the mode in the dialog comes in a later release.

Fixed

  • No more indefinite freezes. Every Git call has a time limit (10 minutes
    for network steps, including a GitHub sign-in window; 1 minute for local
    ones) and never waits for terminal input. A stopped call ends the whole
    process tree, including credential helpers and hooks.
  • Non-ASCII names (for example "Łukasz" or "Halterung für Motor") no
    longer break Git output on Windows: output is always read as UTF-8.
  • Size limits: exports of 100 MB or more are refused before anything is
    pushed; exports over 50 MB need confirmation.
  • Option-like and invalid branch names (-n, a..b, x.lock) are cleaned up
    or refused, and export paths can't point outside the repository.
  • The history file (CHANGELOG.md in the repository) keeps its existing line
    endings and bytes.

Security and privacy

  • Stored token, scoped. A token saved with Manage Token… is now
    offered only to the repository's own server, only over https, and only to
    the Git commands that talk to it. Git's other credential helpers (including
    Git Credential Manager) are switched off for those commands, so they can't
    save a copy or answer with an old credential. This replaces the askpass
    script.
  • Masked token entry. Manage Token… shows a password field in the
    dialog instead of a box that displayed the token.
  • No tokens in addresses. Setup refuses a repository address with a
    password or token in it, and a push warns if an existing repository's
    address contains one. Passwords and GitHub tokens are hidden in the log and
    in error messages.
  • Privacy policy (PRIVACY.md): no telemetry; what is sent to
    the repository and stored locally; how to delete it. Linked from the new
    Logging & Privacy section, which also has Clear Log.
  • First-push notice. Before the first push to each repository, the add-in
    explains that the design is published there and is public if the
    repository is.
  • On macOS, the settings file and logs are readable only by your account.
  • push_cli.py no longer takes a token on the command line; use the
    FUSION_TO_GITHUB_TOKEN environment variable or --pat-prompt.
  • SECURITY.md is rewritten to match the code.

Install: download Push_To_GitHub-0.4.0.zip and unzip it into Fusion's AddIns folder,
so that you get AddIns/Push_To_GitHub/Push_To_GitHub.manifest. See the README for the full steps.

Verify the download: gh attestation verify Push_To_GitHub-0.4.0.zip -R zcohen-nerd/FusionToGitHub
or compare its SHA-256 with Push_To_GitHub-0.4.0.zip.sha256.