sapling/eden/scm/ghstack
Zhaolong Zhu 20d26bcab9 github: eliminate github_gh_cli.Result in favor of edenscm.Result
Summary: as mentioned in D42078459 (ef9830b244), we in favor of `edenscm.Result` since it's more generic and feature complete.

Reviewed By: bolinfest

Differential Revision: D42122290

fbshipit-source-id: 6750818aa8bbd3c81fd9a8e40c43f999848db949
2022-12-21 08:54:56 -08:00
..
__init__.py rename ghstack.eden_shell to ghstack.sapling_shell 2022-10-26 16:53:42 -07:00
action.py github: rename 'GitHubCLIEndpoint.graphql' to 'GitHubCLIEndpoint.graphql_sync' 2022-12-09 08:58:10 -08:00
cache.py ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
checkout.py github: rename 'GitHubCLIEndpoint.graphql' to 'GitHubCLIEndpoint.graphql_sync' 2022-12-09 08:58:10 -08:00
circleci.py ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
config.py use the GitHub CLI to make requests for ghstack 2022-10-26 16:53:42 -07:00
diff.py ghstack: rename types.py to ghs_types.py 2022-10-13 09:59:21 -07:00
ghs_types.py ghstack: rename types.py to ghs_types.py 2022-10-13 09:59:21 -07:00
git.py ghstack: rename types.py to ghs_types.py 2022-10-13 09:59:21 -07:00
github_cli_endpoint.py github: eliminate github_gh_cli.Result in favor of edenscm.Result 2022-12-21 08:54:56 -08:00
github_gh_cli.py github: eliminate github_gh_cli.Result in favor of edenscm.Result 2022-12-21 08:54:56 -08:00
github_schema.graphql ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
github_utils.py github: rename 'GitHubCLIEndpoint.graphql' to 'GitHubCLIEndpoint.graphql_sync' 2022-12-09 08:58:10 -08:00
github.py pr_status: use GitHubEndpoint instead of make_request 2022-12-09 09:50:49 -08:00
land.py rename ghstack.eden_shell to ghstack.sapling_shell 2022-10-26 16:53:42 -07:00
LICENSE ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
logs.py ghstack: use SL_AUTOMATION instead of HGPLAIN 2022-10-13 09:59:21 -07:00
py.typed ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
rage.py ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
README.md update README 2022-10-13 23:30:33 -07:00
sapling_land.py ghstack: fix stdout check in sapling_land 2022-11-09 16:23:53 -08:00
sapling_shell.py run ghstack from the current commit instead of the branch tip 2022-12-21 00:30:52 -08:00
shell.py honor signed commits in ghstack 2022-12-12 14:26:34 -08:00
stackheader.py introduce sl pr pull PULL_REQUEST function 2022-12-21 00:30:52 -08:00
submit.py introduce sl pr pull PULL_REQUEST function 2022-12-21 00:30:52 -08:00
unlink.py move git commit-tree calls behind a common API 2022-12-08 18:32:50 -08:00

sapling-ghstack

This is a fork of https://github.com/ezyang/ghstack that includes changes to support Sapling.

Building and Running the Code

Unlike upstream ghstack, this does not rely on poetry or any third-party Python libraries (though it does require Python 3.8 or later whereas upstream works with Python 3.6+). By avoiding third-party deps, the code can be run directly via:

PYTHONPATH=path/to/ghstack python3 -m ghstack.__main__