Releases: facebook/sapling
Releases · facebook/sapling
0.2.20221222-152408-ha6a66d09
This release focuses on correctness issues around handling submodules as well as various usability/workflow improvements.
- We made a number of improvements to working in repos with submodules:
- Rebasing past an update to a submodule no longer adds the submodule change to the bottom of the stack that was rebased: 2f0f0fd
- Rebasing a stack that contains a submodule change will preserve the change in the destination if the destination does not change the submodules: 1f5424d
- Rebasing a stack with a conflicting submodule change no longer crashes: 2b94b6f
- Improvements to the
sl pr
command:- You must now specify
sl pr submit
explicitly:submit
is no longer the default subcommand forsl pr
, buts
can be used as an alias forsubmit
: 56b5e3e - The
sl pr submit
command now supports a--draft
flag: 6e9c3d7 - New
sl pr pull
subcommand: if you usesl pr submit
to create a stack of pull requests, now you can usesl pr pull
to import the stack back into your working copy: d09d598 - New
sl pr list
subcommand that mirrors the functionality ofgh pr list
: 8f0a657 - Experimental new command for creating stacks:
sl --config github.pr_workflow=single pr submit
. See #302 and 166e264 for details. sl pr submit
now appends the stack information to the end of the pull request body instead of prepending it to the top: 8910d18- The branch name for a PR created by
sl pr submit
is now guaranteed to match the PR number: e77e67b
- You must now specify
- Improvements to commands involving remote names and bookmarks:
- SCP-style URIs (such as
git@github.com:git/git-reference
) are now supported for remote names: 67fa848 sl clone --git <URL> --updaterev <branch/commit>
can now be used to clone a specific branch or commit: 9804c66sl rebase -b
was reworked for better selecting branching points by avoiding public commits (reverse rebase now works): 96b767esl bookmark --remote
can be used to list remote branches. Further,sl bookmark --remote-path myfork --remote tags
will list tags from remotemyfork
:- e8f57d7
- SCP-style URIs (such as
- It is now possible to specify the Git committer for newly created commit objects by specifying the
git.committer
config option when running a command. For example,sl --config git.committer="User <user@example.com>" amend
would update the committer for the current commit toUser <user@example.com>
. Though note that ifgit.committer
is not set, the value defaults to theui.username
config. This means thatsl metaedit --user IDENTITY
will not update the committer toIDENTITY
if thegit.committer
config is not set, butsl metaedit --config ui.username=IDENTITY --user IDENTITY
would. See 7f88efd for details. - Removed a dependency on
gdbm
in the Python code, that was causing crashes for some users: cfbb6a2
0.1.20221213-150011-h9b0acf12
Updating submodules Summary: GitHub commits: https://github.com/facebook/fbthrift/commit/937d00c39b2862f1917ee792e9f5fff406d4e80d https://github.com/facebook/litho/commit/e0bb6f15264ddfd6e447c3583a7696e3236c78d3 https://github.com/facebook/proxygen/commit/0c5d06fc785a49c64a701015199b00cc1b8b8e23 https://github.com/facebookincubator/velox/commit/b06bf84f4df7ea21c1c54d1edb5e253ac765b3a5 Reviewed By: yns88 fbshipit-source-id: 8bb9476d603174fde43cfa7b79c6d72ca61a6f10
0.1.20221212-142634-r7ae28228
prepare Sapling VS Code extension for release (v0.1.7) Summary: This fixes a fairly annoying issue in the VS Code extension. Now outstanding issues fall more in the "feature request" than "bug" category. Reviewed By: ndmitchell Differential Revision: D41976202 fbshipit-source-id: 31e6a38df50d90e4e0df2b21450f9175ba57f680
0.1.20221208-212056-r520df27a
Updating submodules Summary: GitHub commits: https://github.com/facebook/fbthrift/commit/423efb1c2bc6f0f45d738bf2fe288d49d0828d9e https://github.com/facebook/proxygen/commit/0883fee9c8eb44173127d3469fe9fc221ff56a0d https://github.com/facebook/watchman/commit/c71641be98b35294be6586a7b943f8d76103b8a3 https://github.com/facebookincubator/katran/commit/a80b782e48b45cd2ca5f8233ff8af786b911fd4f Reviewed By: jailby fbshipit-source-id: 18cd08bd863e1907ebc799dd9cab1b42fff47d50
0.1.20221208-111736-r4b499bce
service: only allow takeover if all mounts are initialized Summary: The most common crash on macOS is when a graceful restart is performed while a mount is ongoing. In this case, an EDEN_BUG is raised in EdenFS leading to EdenFS to crash and restart. As a very easy solution, let's check prior to starting graceful restart if there are any ongoing mounts, and if so, just abort the graceful restart. Note that there is still a potential race if a mount occurs right after this check, but that should be significantly more rare and unlikely to happen in practice. Reviewed By: kmancini Differential Revision: D41640271 fbshipit-source-id: c0fd0cc0305cbcdd941aa0e2e422706af799d5b3
0.1.20221201-095354-r360873f1
Updating submodules Summary: GitHub commits: https://github.com/facebook/fbthrift/commit/053bb0dee96cdbe5cd008b42e155514f07d13f24 Reviewed By: apiri fbshipit-source-id: b594498c18cf0727143603859f3bb463cb2fac6f
0.1.20221118-210929-cfbb68aa
ci: change versioning scheme (#208) Summary: Stack created with [Sapling] * __->__ https://github.com/facebook/sapling/issues/208 [sl] ci: change versioning scheme This changes our versioning scheme to `VERSION-%Y%m%d-%H%M%S-HASH`, where `VERSION` is defined in the VERSION file, `%Y%m%d-%H%M%S` is the current date, hour, minutes, and seconds, and `HASH` is the hash of the current commit. Pull Request resolved: https://github.com/facebook/sapling/pull/208 Test Plan: Tested on my personal account Reviewed By: bolinfest Differential Revision: D41418387 Pulled By: sggutier fbshipit-source-id: f89bce7cc842c6ca77c3a8330565fa19d41e39cc
20221116-203146-2c1a971a
help: update "urls" help Summary: - get rid of insecure "http://" example - don't mention "#" fragment behavior - I don't think this works in normal cases - make clear that cacerts config doesn't apply to Git Reviewed By: quark-zju Differential Revision: D41347490 fbshipit-source-id: 95af879181ed9b3d201bdfa282524c18880e58cd
20221116-131242-1b09643f
Include `top` in `eden rage` Summary: There have been support requests where we needed to rule out high system load on the user's computer (rather than EdenFS) slowing down their experience. This adds a snapshot of `top` to the output of `eden rage` on Linux and macOS so we don't have to ask the user for this. We only include the top ten-ish processes in the output to avoid blowing up the `rage`. Reviewed By: chadaustin Differential Revision: D41351716 fbshipit-source-id: 5db170b1b83ff58ffce21769b379e9ad2b38738a
20221116-062901-64e95e85
deprecate logging of hg_infinitepush_destinations Summary: deprecate logging of hg_infinitepush_destinations this table is no longer needed since this information is available in mononoke Reviewed By: YousefSalama Differential Revision: D41335647 fbshipit-source-id: 745f92d90809be5b560822b8f92ca6bf42c9f3d6