Evaluate and remove frontend-specific repo_group special value

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, gitlab, python
領域
backend, databases

調査の方向性

Start with tasks/frontend.py lines 44–85 to trace how individually added GitLab and GitHub repositories are assigned to the frontend group, then read the migration application/schema/alembic/versions/9_add_repo_group_for_frontend_repos.py and the related discussion in #309. Determine how the roughly 3,000 repositories can move to user groups without breaking collection or the repo group fixes. Done means the special group is no longer needed and both repository sources work with the replacement.

索引モデルが issue の本文から書いたものです。

説明

tech debt
  • There is a FRONTEND_REPO_GROUP_NAME that is a deliberate catch-all: (both add_gitlab_repos and add_github_orgs_and_repos (tasks/frontend.py:44-85) assign individually-added repos to this group by default and only validate that the target group ID exists.
    • IMO that should be deprecated in favor of user groups (created in application/schema/alembic/versions/9_add_repo_group_for_frontend_repos.py i guess)

Originally posted by @MoralCode in #309

This frontend special repo_group is the only group with a mix of GH and GL repos (3k ish in total), meaning it (likely) at least a mild blocker to fully implementing fixes to repo_groups per #309

主要言語
Python
スター
18
フォーク
33
平均マージ
2日 16時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

chaoss/CollectOSS のほかの issue

chaoss/CollectOSS の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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