Repository navigation
Conversation
β¦, repo stats - GithubIssues: github_issues β v_github_issues (Spring github_issue JOIN) - GithubPulls: github_pulls β v_github_pulls (Spring github_pull_request JOIN) - GithubRepoStats: github_repo_stats β v_github_repo_stats (Spring github_repository) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: replace Scrapy tables with Spring MySQL VIEWs for issues, pullsβ¦
GithubRepoStatsμ db_tableμ v_github_repo_statsλ‘ λ³κ²½ν μ΄ν extra(where=...) μ μ νλμ½λ©λ ν μ΄λΈλͺ μ΄ λ§μ§ μμ λμ보λ API 500 μλ¬ λ°μνλ λ¬Έμ μμ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Scrapy μμ§ λ°μ΄ν°(github_stats_yymm) λμ Spring λ°°μΉ μ§κ³ λ°μ΄ν°(github_monthly_stats)λ₯Ό μ½λλ‘ λ³κ²½ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
β¦syymm Feat/spring scrapy replace statsyymm
Scrapy github_repo_commits ν μ΄λΈ λμ Spring github_commit κΈ°λ° VIEW μ¬μ© Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
v_github_issues, v_github_pulls, v_github_repo_commits, v_github_repo_statsλ Spring github_account.github_login_username JOINμΌλ‘ μλ λ°μλλ―λ‘ λ³λ UPDATE λΆνμ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
β¦commits Feat/spring scrapy replace repocommits
- repository/models.py: GithubRepoCommitsμ owner_name νλ μΆκ° (v_github_repo_commits VIEWμ μΆκ°λ owner_name 컬λΌκ³Ό λ§€ν) - user/views.py: get_commit_repos()μμ owner_name ν¬ν¨νμ¬ μ‘°ν, ProfileRepoView/ProfileActivityViewμμ repo pairλ₯Ό (owner_name, repo_name)μΌλ‘ λ³κ²½ (κΈ°μ‘΄ github_id κΈ°λ° λ§€νμμ μ€μ owner_name κΈ°λ°μΌλ‘ μμ ) - user/update_act.py: time_to_seconds()μ +9 UTC λ³ν μ κ±° (Springμ΄ KSTλ‘ μ»€λ° μκ°μ μ μ₯νλ―λ‘ μΆκ° λ³ν λΆνμ) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
β¦it-time fix: Spring λ°±μλ νΈνμ μν owner_name μΆκ° λ° μ»€λ° μκ° KST λ³ν μ κ±°
- repository/models.py: GithubRepoContributor db_tableμ github_repo_contributor β v_github_repo_contributorλ‘ λ³κ²½ (Spring github_account_repository κΈ°λ° VIEWλ‘ λ체) - rank/views.py: GithubRepoCommits νν°λ₯Ό github_id β owner_nameμΌλ‘ μμ (v_github_repo_commitsμ github_idλ μ»€λ° μμ±μμ΄λ―λ‘ λ ν¬ μμ μ κΈ°μ€ μ‘°νλ owner_name μ¬μ©) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
β¦compat fix: github_repo_contributor Spring VIEW λ체 λ° μ»€λ° μ νν° μμ
github_id λ³κ²½ μ OSP ν μ΄λΈλ§ μ λ°μ΄νΈνλ©΄ Spring DBμ λΆμΌμΉκ° λ°μνμ¬ VIEW(v_github_repo_commits λ±) κΈ°λ° νλ©΄μμ λ°μ΄ν° λλ½μ΄ μκΈ°λ λ¬Έμ μμ . OSP μ λ°μ΄νΈ μλ£ ν Spring PATCH APIλ₯Ό νΈμΆνμ¬ github_account.github_login_usernameλ ν¨κ» λ³κ²½. Spring API νΈμΆ μ€ν¨ μ κ²½κ³ λ‘κ·Έλ§ λ¨κΈ°κ³ OSP μ λ°μ΄νΈλ μ μ μλ£λλλ‘ κ²©λ¦¬. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: GithubIdChange μ Spring API νΈμΆνμ¬ github_login_username λκΈ°ν
μ κ· κ°μ μκ° GitHub λ°μ΄ν° μμ§ λμμμ λλ½λλ λ¬Έμ μμ . OSP SignUpView μλ£ ν GitHub APIλ‘ numeric ID/node ID μ‘°ν ν Spring /api/auth/signup νΈμΆνμ¬ Spring DBμ λκΈ°ν. Spring λ±λ‘ μ€ν¨ μμλ OSP κ°μ μ μ μ μ²λ¦¬. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: OSP νμκ°μ μ Spring DBμ μ μ μλ λ±λ‘
Curamy
approved these changes
Apr 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π PR κ°μ
OSP μ κ· νμκ°μ μ Spring DBμ μ μ κ° λ±λ‘λμ§ μμ GitHub λ°μ΄ν° μμ§ λμμμ λλ½λλ λ¬Έμ λ₯Ό μμ νμ΅λλ€.
π μμ λ΄μ©
common/views.py SignUpView.post() μλ£ ν _register_to_spring() νΈμΆ μΆκ°
_register_to_spring() ν¨μ ꡬν: GitHub APIλ‘ numeric ID / node_id μ‘°ν ν Spring /api/auth/signup νΈμΆνμ¬ Spring student_account / github_account ν μ΄λΈμ λκΈ°ν
Spring λ±λ‘ μ€ν¨ μμλ OSP κ°μ μ μ μ μ²λ¦¬ (best-effort, μμΈ λ¬΄μ)
π λ¬Έμ μμΈ
Spring μμ§κΈ°λ μ체 student_account / github_account ν μ΄λΈμ κΈ°μ€μΌλ‘ 6μκ°λ§λ€ GitHub λ°μ΄ν°λ₯Ό μμ§ν©λλ€. OSP νμκ°μ μ μ΄ ν μ΄λΈμ μ μ κ° μΆκ°λμ§ μμ, μ κ· κ°μ μμ GitHub νλμ΄ λμ보λμ μꡬμ μΌλ‘ λ°μλμ§ μλ λ¬Έμ κ° μμμ΅λλ€.
β κΈ°ν μ견
μ΄λ―Έ κ°μ λμ΄ μμΌλ Spring DBμ λλ½λ κΈ°μ‘΄ μ μ λ μλμΌλ‘ Spring API(POST /api/auth/signup)λ₯Ό νΈμΆνμ¬ λ±λ‘ν΄μΌ ν©λλ€.