Update to latest repo-template and uv
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, github-actions, python
調査の方向性
リポジトリの dependabot.yml、requirements.* ファイル、pyproject.toml、justfile、Dockerfiles、.dockerignore、pre-commit 設定、DEVELOPERS.md、および GHA ワークフローを repo-template と比較します。まず参照されているテンプレートと現在のプロジェクトファイルを確認し、その後、変更を加えながら一覧にある just コマンドを実行します。完了とは、チェックリストがすべて完了し、uv.lock が生成され、依存関係の更新と Docker ビルドが機能し、checks が成功することを意味します。
索引モデルが issue の本文から書いたものです。
説明
Refer to https://github.com/opensafely-core/repo-template
Note: you probably want to commit with --no-verify until the justfile is updated and committed; otherwise pre-commit hooks will use old justfile commands and fail confusingly.
- Update dependabot.yml for github actions to include 7 day cooldown
- Move dependencies from requirements.prod.in into pyproject.toml
[project] - Copy tool.uv section from repo-template and move dev dependencies from requirements.dev.in into pyproject.toml
[dependency groups](remove pip and pip-tools if they're in the dependencies) - Delete requirements.* files
- Add a .python-version file (if there isn't one already)
- Update justfile with repo-template recipes; note that
devenvis not required for most recipes anymore (but recipes that require a .env file may need_dotenvsetup). In addition to adding the new recipes/versions of recipes for uv, update any extra ones that do e.g.python ...touv run python ... - Run
just cleanto remove any old venv - Run
just devenv,just check/test/runto make sure things work and generate a uv.lock - Run
just update-dependenciesand check that works too, and theexclude-newertimestamp in pyproject.toml and uv.lock has been correctly updated to 7 days ago - Update pre-commit config if necessary (compare with repo-template)
- Update Dockerfiles to use uv (following repo-template Dockerfile)
- Ensure that .python-version and pyproject.toml are not ignored in the .dockerignore file
- Run just docker/build to check it's working
- Update DEVELOPERS.md to include sections from repo-template on using uv and updating dependencies
- Update GHA workflows; any jobs that use setup-action will need to add:
install-uv: true
cache: uv
But you can remove the python version unless you have anything in a workflow job that runs python without using uv.
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 9
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opensafely-core/osgithub のほかの issue
-
dependency-management
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
opensafely-core/osgithub#289 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
opensafely-core/osgithub#269 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
opensafely-core/osgithub#242 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
opensafely-core/osgithub#230 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
opensafely-core/osgithub#142 ·
opensafely-core/osgithub の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100