mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
732d512647
Summary:
Historically, we avoided running the Black autoformatter on our
fork of ghstack so that the code would be easier to diff with
upstream. Now that Black is run on upstream ghstack:
|
||
---|---|---|
.. | ||
__init__.py | ||
action.py | ||
cache.py | ||
checkout.py | ||
circleci.py | ||
config.py | ||
diff.py | ||
ghs_types.py | ||
git.py | ||
github_cli_endpoint.py | ||
github_gh_cli.py | ||
github_utils.py | ||
github.py | ||
land.py | ||
LICENSE | ||
logs.py | ||
py.typed | ||
query.py | ||
rage.py | ||
README.md | ||
sapling_land.py | ||
sapling_shell.py | ||
shell.py | ||
stackheader.py | ||
submit.py | ||
unlink.py |
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__