Repository navigation
agit-v0.2.15
·
50 commits
to main
since this release
Changed
- New repositories use ordinary publication by default again. Without
--encryptionor aprivacy.encryptionpreference,agit push,agit init,
agit repo createand the init wizard create repositories that publish original
history and need no viewing password. Encryption is an explicit opt-in chosen at
creation with--encryption=trueoragit config privacy.encryption true, after
whichagit privacy initsets the viewing password.agit privacy initstill
creates a missing repository encrypted unlessfalseis chosen, and existing
repositories keep the mode they were created with. A separateagit push --to
destination created from an encrypted repository stays encrypted unless
--encryption=falseor aprivacy.encryptionpreference chooses otherwise. - Local repositories set up by 0.2.13 or 0.2.14 without an explicit
--encryption
choice follow the new default. Ifpush.autois on and the repository does not
exist on the Hub yet, the next automatic push creates it as an ordinary repository,
private unlesspush.visibilitysays otherwise. To keep such a repository
encrypted, runagit privacy init OWNER/REPOfirst, or set
agit config --global privacy.encryption true. - A checkout initialized with
agit init --encryption=truerefuses its first push
to an existing repository that uses ordinary publication, instead of silently
publishing original history there; pass--encryption=falseto publish anyway,
or push to a new repository name to create an encrypted one. - Encrypted
agit sharelinks require an encrypted repository. Sharing from an
ordinary repository needs--public; without it the command now says so and
uploads nothing, instead of asking for a publication that cannot exist. Encrypted
links for ordinary repositories are not available in this release.
Fixed
- Ordinary pushes from scripts, CI and agent sessions no longer require
--yes;
a person at a terminal is still asked to confirm the destination, and declining
or cancelling that prompt publishes nothing. Secret findings still block
publication unless--allow-secretsis given, and encrypted publication keeps
its confirmation. - Automatic ordinary pushes after settlement, and Remote Control publication to an
ordinary repository, no longer need a prior explicit push.push.autoauthorizes
them and they pass the same identity, access and secret checks as a manual push.
Outside Remote Control, a missing repository is created with the visibility a
non-interactive first push uses. Encrypted repositories still require an explicit
push to confirm their policy and viewing recipient before automatic publication. - Remote Control retires temporary runtime sources automatically once their
directories disappear.
Full Changelog: agit-v0.2.14...agit-v0.2.15