Skip to content

Releases: facebook/sapling

0.2.20221222-152408-ha6a66d09

23 Dec 01:47
Compare
Choose a tag to compare

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 for sl pr, but s can be used as an alias for submit: 56b5e3e
    • The sl pr submit command now supports a --draft flag: 6e9c3d7
    • New sl pr pull subcommand: if you use sl pr submit to create a stack of pull requests, now you can use sl pr pull to import the stack back into your working copy: d09d598
    • New sl pr list subcommand that mirrors the functionality of gh 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
  • Improvements to commands involving remote names and bookmarks:
    • SCP-style URIs (such as [email protected]: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: 9804c66
    • sl rebase -b was reworked for better selecting branching points by avoiding public commits (reverse rebase now works): 96b767e
    • sl bookmark --remote can be used to list remote branches. Further, sl bookmark --remote-path myfork --remote tags will list tags from remote myfork:
    • e8f57d7
  • 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 <[email protected]>" amend would update the committer for the current commit to User <[email protected]>. Though note that if git.committer is not set, the value defaults to the ui.username config. This means that sl metaedit --user IDENTITY will not update the committer to IDENTITY if the git.committer config is not set, but sl 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

14 Dec 01:28
Compare
Choose a tag to compare
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

12 Dec 22:49
Compare
Choose a tag to compare
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

09 Dec 06:20
Compare
Choose a tag to compare
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

08 Dec 19:51
Compare
Choose a tag to compare
Pre-release
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

01 Dec 18:39
Compare
Choose a tag to compare
Updating submodules

Summary:
GitHub commits:

https://github.com/facebook/fbthrift/commit/053bb0dee96cdbe5cd008b42e155514f07d13f24

Reviewed By: apiri

fbshipit-source-id: b594498c18cf0727143603859f3bb463cb2fac6f

0.1.20221118-210929-cfbb68aa

19 Nov 05:44
Compare
Choose a tag to compare
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

17 Nov 05:17
Compare
Choose a tag to compare
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

16 Nov 21:50
Compare
Choose a tag to compare
Pre-release
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

16 Nov 16:17
Compare
Choose a tag to compare
Pre-release
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