Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Reorganize GitHub modules

Đang mở
#1,092 4 bình luận 0 reaction 1 người được giao Xem trên GitHub

@begedin đang làm issue này rồi.

Từ ngày 9/1/2018.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

in progress needs estimate

Problem

Much of the GitHub syncing can be reorganized as follows:

  • CommentSyncer and TaskSyncer need to move out of Event; structure could be like:
    • sync/issue/issue.ex Sync.Issue (main entry point for handling the syncing of an issue)
    • sync/issue/body_parser.ex Sync.Issue.BodyParser (parses issue body)
    • sync/issue/task/task.ex Sync.Issue.Task (syncs the issue to a Task)
    • sync/issue/task/changeset.ex Sync.Issue.Task.Changeset (deals with changesets)
    • sync/issue/github_issue/github_issue.ex Sync.Issue.GithubIssue (syncs the issue to a GithubIssue)
    • etc.
  • ChangesetBuilders
    • need to move out event to wherever syncing goes
    • map can be removed
    • naming needs to be rethought to reflect that these are changesets for Code Corps models (Task, Comment, etc)
  • GithubRepo installation events need to have common/repo_finder (renamed to repo_linker)
  • CommentDeleter needs to move out of Event
  • CommentDeleter needs to delete GithubComment
  • ChangesetBuilders need create_ and update_ functions made public, build_ fns removed, unit tests added
  • Replace instances of find_or_init and commit with insert_or_update and find
Ngôn ngữ chính
Elixir
Star
234
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của code-corps/code-corps-api

Tất cả issue của code-corps/code-corps-api

Issue tương tự

Thêm issue về Elixir

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.