Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Update to latest repo-template and uv

オープン
#236 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 devenv is not required for most recipes anymore (but recipes that require a .env file may need _dotenv setup). In addition to adding the new recipes/versions of recipes for uv, update any extra ones that do e.g. python ... to uv run python ...
  • Run just clean to remove any old venv
  • Run just devenv, just check/test/run to make sure things work and generate a uv.lock
  • Run just update-dependencies and check that works too, and the exclude-newer timestamp 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opensafely-core/osgithub のほかの issue

opensafely-core/osgithub の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。