forked from astral-sh/rye
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mitsuhiko:main' into main
- Loading branch information
Showing
52 changed files
with
1,446 additions
and
968 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# For this action to work you must explicitly allow GitHub Actions to create pull requests. | ||
# This setting can be found in a repository's settings under Actions > General > Workflow permissions. | ||
# For repositories belonging to an organization, this setting can be managed by | ||
# admins in organization settings under Actions > General > Workflow permissions. | ||
name: Sync Python Releases | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
sync: | ||
if: github.repository == 'mitsuhiko/rye' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rye | ||
uses: eifinger/setup-rye@v1 | ||
with: | ||
enable-cache: true | ||
- name: Sync Python Releases | ||
run: make sync-python-releases | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create PR | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: "Sync latest Python releases" | ||
add-paths: "rye/src/downloads.inc" | ||
branch: "sync-python-releases" | ||
title: "Sync Python Releases" | ||
body: | | ||
- Synced latest Python releases | ||
<sup>Auto-generated by [sync-python-releases.yml](https://github.com/mitsuhiko/rye/blob/main/.github/workflows/sync-python-releases.yml)</sup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ Removed installed toolchain [email protected] | |
|
||
## Options | ||
|
||
* `-f, --force`: Force removal even if the toolchain is in use | ||
* `-h, --help`: Print help (see a summary with '-h') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# `list` | ||
|
||
Lists all already installed global tools. | ||
|
||
For more information see [Tools](/guide/tools/). | ||
|
||
## Example | ||
|
||
List installed tools: | ||
|
||
``` | ||
$ rye tools list | ||
pycowsay | ||
``` | ||
|
||
List installed tools with version: | ||
|
||
``` | ||
$ rye tools list --include-version | ||
pycowsay 0.0.0.2 ([email protected]) | ||
``` | ||
|
||
## Arguments | ||
|
||
*no arguments* | ||
|
||
## Options | ||
|
||
* `-s, --include-scripts`: Show all the scripts installed by the tools | ||
|
||
+/- 0.26.0 | ||
|
||
Renamed from `-i, --include-scripts` to `-s, --include-scripts`. | ||
|
||
* `-v, --include-version`: Show the version of tools | ||
|
||
+/- 0.26.0 | ||
|
||
Renamed from `-v, --version-show` to `-v, --include-version`. | ||
|
||
* `-h, --help`: Print help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.