Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Reorganize GitHub modules

Aberta
#1,092 4 comentários 0 reações 1 responsável Ver no GitHub

@begedin já está trabalhando nisso.

Desde 9/1/2018.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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
Linguagem predominante
Elixir
Estrelas
234
Forks
82
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de code-corps/code-corps-api

Todas as issues de code-corps/code-corps-api

Issues semelhantes

Mais issues de Elixir

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.