├── .circleci ├── config.yml └── lock.sh ├── .dockerignore ├── .gitignore ├── .golangci.yml ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── Procfile ├── README.md ├── cmd ├── buildrunner │ └── main.go ├── containers_orchestrator │ └── main.go ├── ensuredeps │ └── main.go ├── genservices │ └── main.go ├── getrepoinfo │ └── main.go ├── gocodescore │ └── main.go ├── goenvbuild │ └── main.go ├── golangci-api │ └── main.go └── golangci-worker │ └── main.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── internal ├── api │ ├── apierrors │ │ └── errors.go │ ├── endpointutil │ │ ├── context.go │ │ └── handler.go │ ├── events │ │ ├── amplitude.go │ │ ├── mixpanel.go │ │ └── tracker.go │ ├── paymentproviders │ │ ├── factory.go │ │ ├── implementations │ │ │ ├── paddle │ │ │ │ ├── const.go │ │ │ │ ├── event_processor.go │ │ │ │ ├── events.go │ │ │ │ ├── form_util.go │ │ │ │ ├── provider.go │ │ │ │ └── request.go │ │ │ ├── securionpay.go │ │ │ └── stable.go │ │ └── paymentprovider │ │ │ ├── errors.go │ │ │ ├── event_processor.go │ │ │ ├── models.go │ │ │ └── provider.go │ ├── score │ │ └── calculator.go │ ├── session │ │ ├── factory.go │ │ ├── request_context.go │ │ ├── saver.go │ │ └── session.go │ ├── transportutil │ │ ├── context.go │ │ ├── decode.go │ │ ├── encode.go │ │ ├── errors.go │ │ ├── log.go │ │ └── session.go │ └── util │ │ └── random.go └── shared │ ├── apperrors │ ├── log.go │ ├── nop_tracker.go │ ├── rollbar_tracker.go │ ├── sentry_tracker.go │ ├── tracker.go │ └── tracker_builder.go │ ├── cache │ ├── cache.go │ └── redis.go │ ├── config │ ├── config.go │ └── env.go │ ├── db │ ├── gormdb │ │ ├── gormdb.go │ │ ├── logger.go │ │ ├── sql.go │ │ └── tx.go │ ├── migrations │ │ └── runner.go │ └── redis │ │ └── pool.go │ ├── fsutil │ └── wd.go │ ├── logutil │ ├── context.go │ ├── log.go │ └── stderr_log.go │ ├── providers │ ├── factory.go │ ├── implementations │ │ ├── github.go │ │ └── stable.go │ └── provider │ │ ├── errors.go │ │ ├── models.go │ │ └── provider.go │ └── queue │ ├── aws │ ├── consumer │ │ └── consumer.go │ └── sqs │ │ └── queue.go │ ├── consumers │ ├── consumer.go │ ├── errors.go │ ├── multiplexer.go │ └── reflect_consumer.go │ ├── message.go │ └── producers │ ├── base.go │ ├── multiplexer.go │ └── queue.go ├── migrations ├── 10_add_github_hook_id_to_github_repos.down.sql ├── 10_add_github_hook_id_to_github_repos.up.sql ├── 11_create_github_analyzes.down.sql ├── 11_create_github_analyzes.up.sql ├── 12_add_reported_issues_count_to_github_analyzes.down.sql ├── 12_add_reported_issues_count_to_github_analyzes.up.sql ├── 13_add_commit_sha_to_github_analyzes.down.sql ├── 13_add_commit_sha_to_github_analyzes.up.sql ├── 14_add_private_access_token_to_github_auths.down.sql ├── 14_add_private_access_token_to_github_auths.up.sql ├── 15_drop_commit_sha_and_repo_uniq_index_from_github_analyzes.down.sql ├── 15_drop_commit_sha_and_repo_uniq_index_from_github_analyzes.up.sql ├── 16_add_result_json_to_github_analyzes.down.sql ├── 16_add_result_json_to_github_analyzes.up.sql ├── 17_add_index_on_github_pull_request_number_to_github_analyzes.down.sql ├── 17_add_index_on_github_pull_request_number_to_github_analyzes.up.sql ├── 18_create_repo_analysis_statuses.down.sql ├── 18_create_repo_analysis_statuses.up.sql ├── 19_create_repo_analyzes.down.sql ├── 19_create_repo_analyzes.up.sql ├── 1_add_users.down.sql ├── 1_add_users.up.sql ├── 20_add_fields_to_repo_analysis_statuses.down.sql ├── 20_add_fields_to_repo_analysis_statuses.up.sql ├── 21_add_default_branch_to_repo_analysis_statuses.down.sql ├── 21_add_default_branch_to_repo_analysis_statuses.up.sql ├── 22_add_commit_sha_to_repo_analyzes.down.sql ├── 22_add_commit_sha_to_repo_analyzes.up.sql ├── 23_add_index_on_status_to_repo_analyzes.down.sql ├── 23_add_index_on_status_to_repo_analyzes.up.sql ├── 24_add_attempt_number_repo_analyzes.down.sql ├── 24_add_attempt_number_repo_analyzes.up.sql ├── 25_add_linters_version_to_repo_analyzes.down.sql ├── 25_add_linters_version_to_repo_analyzes.up.sql ├── 26_add_last_analyzed_linters_version_to_repo_analysis_statuses.down.sql ├── 26_add_last_analyzed_linters_version_to_repo_analysis_statuses.up.sql ├── 27_add_active_to_repo_analysis_statuses.down.sql ├── 27_add_active_to_repo_analysis_statuses.up.sql ├── 28_add_display_name_to_github_repos.down.sql ├── 28_add_display_name_to_github_repos.up.sql ├── 29_lowercase_names_in_github_repos.down.sql ├── 29_lowercase_names_in_github_repos.up.sql ├── 2_add_github_auths.down.sql ├── 2_add_github_auths.up.sql ├── 30_add_github_user_id_to_github_auths.down.sql ├── 30_add_github_user_id_to_github_auths.up.sql ├── 31_add_index_on_github_user_id_to_github_auths.down.sql ├── 31_add_index_on_github_user_id_to_github_auths.up.sql ├── 32_drop_uniq_login_index_from_github_auths.down.sql ├── 32_drop_uniq_login_index_from_github_auths.up.sql ├── 33_add_github_id_to_github_repos.down.sql ├── 33_add_github_id_to_github_repos.up.sql ├── 34_rename_github_repos_to_repos.down.sql ├── 34_rename_github_repos_to_repos.up.sql ├── 35_rename_github_analyzes_to_pull_request_analyzes.down.sql ├── 35_rename_github_analyzes_to_pull_request_analyzes.up.sql ├── 36_remove_github_from_some_columns_in_pull_request_analyzes.down.sql ├── 36_remove_github_from_some_columns_in_pull_request_analyzes.up.sql ├── 37_add_provider_to_repos.down.sql ├── 37_add_provider_to_repos.up.sql ├── 38_add_repo_id_to_repo_analysis_statuses.down.sql ├── 38_add_repo_id_to_repo_analysis_statuses.up.sql ├── 39_add_index_on_repo_analysis_status_id_to_repo_analyzes.down.sql ├── 39_add_index_on_repo_analysis_status_id_to_repo_analyzes.up.sql ├── 3_add_index_on_nickname_to_users.down.sql ├── 3_add_index_on_nickname_to_users.up.sql ├── 40_make_repo_id_not_null_in_repo_analysis_statuses.down.sql ├── 40_make_repo_id_not_null_in_repo_analysis_statuses.up.sql ├── 41_rename_github_auths_to_auths.down.sql ├── 41_rename_github_auths_to_auths.up.sql ├── 42_rename_github_to_provider_in_auths.down.sql ├── 42_rename_github_to_provider_in_auths.up.sql ├── 43_rename_github_to_provider_in_repos.down.sql ├── 43_rename_github_to_provider_in_repos.up.sql ├── 44_add_commit_state_to_repos.down.sql ├── 44_add_commit_state_to_repos.up.sql ├── 45_add_stargazers_count_to_repos.down.sql ├── 45_add_stargazers_count_to_repos.up.sql ├── 46_add_orgs.down.sql ├── 46_add_orgs.up.sql ├── 47_add_org_subs.down.sql ├── 47_add_org_subs.up.sql ├── 48_add_idempotency_key_to_org_subs.down.sql ├── 48_add_idempotency_key_to_org_subs.up.sql ├── 49_add_payment_gateway_events.down.sql ├── 49_add_payment_gateway_events.up.sql ├── 4_add_avatar_url_to_users.down.sql ├── 4_add_avatar_url_to_users.up.sql ├── 50_add_user_id_to_payment_gateway_events.down.sql ├── 50_add_user_id_to_payment_gateway_events.up.sql ├── 51_add_index_to_org_subs.down.sql ├── 51_add_index_to_org_subs.up.sql ├── 52_add_payment_gateway_name_to_org_subs.down.sql ├── 52_add_payment_gateway_name_to_org_subs.up.sql ├── 53_add_version_to_org_and_org_subs.down.sql ├── 53_add_version_to_org_and_org_subs.up.sql ├── 54_add_price_per_seat_to_org_subs.down.sql ├── 54_add_price_per_seat_to_org_subs.up.sql ├── 55_add_cancel_url_to_org_subs.down.sql ├── 55_add_cancel_url_to_org_subs.up.sql ├── 56_add_is_private_to_repos.down.sql ├── 56_add_is_private_to_repos.up.sql ├── 57_add_create_fail_reason_to_repos.down.sql ├── 57_add_create_fail_reason_to_repos.up.sql ├── 58_add_is_empty_to_repo_analysis_statuses.down.sql ├── 58_add_is_empty_to_repo_analysis_statuses.up.sql ├── 59_add_index_to_pull_request_analyzes.down.sql ├── 59_add_index_to_pull_request_analyzes.up.sql ├── 5_add_login_to_github_auths.down.sql ├── 5_add_login_to_github_auths.up.sql ├── 6_drop_nickname_from_users.down.sql ├── 6_drop_nickname_from_users.up.sql ├── 7_fix_uniqs_int_github_auths.down.sql ├── 7_fix_uniqs_int_github_auths.up.sql ├── 8_add_github_repos.down.sql ├── 8_add_github_repos.up.sql ├── 9_add_hook_id_to_github_repos.down.sql └── 9_add_hook_id_to_github_repos.up.sql ├── pkg ├── api │ ├── app.go │ ├── app_modifiers.go │ ├── auth │ │ ├── authorizer.go │ │ └── oauth │ │ │ ├── factory.go │ │ │ └── oauth.go │ ├── crons │ │ ├── pranalyzes │ │ │ ├── reanalyzer.go │ │ │ └── staler.go │ │ └── repoinfo │ │ │ └── updater.go │ ├── hooks │ │ └── injector.go │ ├── models │ │ ├── auth.go │ │ ├── autogenerated_auth.go │ │ ├── autogenerated_org.go │ │ ├── autogenerated_org_sub.go │ │ ├── autogenerated_payment_gateway_event.go │ │ ├── autogenerated_pull_request_analysis.go │ │ ├── autogenerated_repo.go │ │ ├── autogenerated_repo_analysis.go │ │ ├── autogenerated_repo_analysis_status.go │ │ ├── autogenerated_user.go │ │ ├── org.go │ │ ├── org_sub.go │ │ ├── payment_gateway_event.go │ │ ├── pull_request_analysis.go │ │ ├── repo.go │ │ ├── repo_analysis.go │ │ ├── repo_analysis_status.go │ │ └── user.go │ ├── policy │ │ ├── active_subscription.go │ │ ├── errors.go │ │ ├── org_fetcher.go │ │ ├── organization.go │ │ └── repo.go │ ├── request │ │ ├── body.go │ │ ├── context.go │ │ ├── org.go │ │ └── repo.go │ ├── returntypes │ │ └── returntypes.go │ ├── services │ │ ├── auth │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── events │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── organization │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── pranalysis │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── repo │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── repoanalysis │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ ├── repohook │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ │ └── subscription │ │ │ ├── endpoint.go │ │ │ ├── service.go │ │ │ └── transport.go │ └── workers │ │ └── primaryqueue │ │ ├── config.go │ │ ├── helpers.go │ │ ├── invitations │ │ └── acceptor.go │ │ ├── paymentevents │ │ └── creator.go │ │ ├── repoanalyzes │ │ └── launcher.go │ │ ├── repos │ │ ├── collaborator_util.go │ │ ├── creator.go │ │ └── deleter.go │ │ └── subs │ │ ├── creator.go │ │ ├── deleter.go │ │ └── updater.go ├── buildagent │ ├── build │ │ └── runner.go │ └── containers │ │ └── orchestrator.go ├── goenvbuild │ ├── command │ │ └── runner.go │ ├── config │ │ └── config.go │ ├── ensuredeps │ │ └── ensure.go │ ├── logger │ │ └── logger.go │ ├── packages │ │ ├── exclude.go │ │ ├── package.go │ │ ├── program.go │ │ ├── resolver.go │ │ └── resolver_test.go │ ├── preparer.go │ ├── repoinfo │ │ ├── fetch.go │ │ └── info.go │ └── result │ │ ├── result.go │ │ └── run.go └── worker │ ├── analytics │ ├── amplitude.go │ ├── context.go │ ├── errors.go │ ├── logger.go │ ├── mixpanel.go │ └── track.go │ ├── analyze │ ├── analyzequeue │ │ ├── consumers │ │ │ ├── analyze_pr.go │ │ │ ├── analyze_pr_test.go │ │ │ ├── analyze_repo.go │ │ │ ├── base_consumer.go │ │ │ └── errors.go │ │ └── task │ │ │ └── task.go │ ├── analyzesqueue │ │ ├── config.go │ │ ├── helpers.go │ │ ├── pullanalyzesqueue │ │ │ ├── config.go │ │ │ ├── consumer.go │ │ │ └── producer.go │ │ └── repoanalyzesqueue │ │ │ ├── config.go │ │ │ ├── consumer.go │ │ │ └── producer.go │ ├── linters │ │ ├── golinters │ │ │ └── golangci_lint.go │ │ ├── linter.go │ │ ├── linter_mock.go │ │ ├── result │ │ │ ├── issue.go │ │ │ └── result.go │ │ └── runner.go │ ├── logger │ │ └── logger.go │ ├── processors │ │ ├── basic_pull_processor.go │ │ ├── basic_pull_processor_factory.go │ │ ├── basic_pull_processor_test.go │ │ ├── def.go │ │ ├── errors.go │ │ ├── escape.go │ │ ├── executor.go │ │ ├── nop_processor.go │ │ ├── pull_processor.go │ │ ├── pull_processor_factory.go │ │ ├── repo_processor.go │ │ ├── repo_processor_factory.go │ │ ├── result.go │ │ └── test │ │ │ ├── 1.patch │ │ │ ├── main0.go │ │ │ └── main1.go │ ├── prstate │ │ ├── api_storage.go │ │ ├── storage.go │ │ └── storage_mock.go │ ├── reporters │ │ ├── github_reviewer.go │ │ ├── reporter.go │ │ └── reporter_mock.go │ ├── repostate │ │ ├── api_storage.go │ │ ├── storage.go │ │ └── storage_mock.go │ └── resources │ │ └── requirements.go │ ├── app │ ├── app.go │ ├── app_modifiers.go │ └── app_test.go │ ├── lib │ ├── errorutils │ │ └── errors.go │ ├── executors │ │ ├── container.go │ │ ├── env.go │ │ ├── executor.go │ │ ├── executor_mock.go │ │ ├── fargate.go │ │ ├── shell.go │ │ ├── temp_dir_shell.go │ │ └── temp_dir_shell_test.go │ ├── experiments │ │ └── checker.go │ ├── fetchers │ │ ├── fetcher.go │ │ ├── fetcher_mock.go │ │ ├── git.go │ │ ├── git_test.go │ │ └── repo.go │ ├── github │ │ ├── client.go │ │ ├── client_mock.go │ │ └── context.go │ ├── goutils │ │ ├── environments │ │ │ ├── environment.go │ │ │ └── golang.go │ │ └── workspaces │ │ │ ├── go.go │ │ │ └── workspace.go │ ├── httputils │ │ ├── client.go │ │ └── client_mock.go │ ├── runmode │ │ └── runmode.go │ └── timeutils │ │ └── track.go │ ├── scripts │ └── cleanup.sh │ └── test │ ├── env.go │ └── linters.go ├── scripts ├── build_email_campaign │ └── main.go ├── consume_dlq │ └── main.go ├── decode_cookie │ └── main.go ├── emulate_webhook │ └── main.go ├── import_amplitude │ └── main.go ├── print_last_reported_issues │ └── main.go ├── reanalyze_repo │ └── main.go └── recover_pull_analyzes │ └── main.go └── test ├── activate_test.go ├── data └── github_fake_response │ ├── add_hook.json │ ├── get_branch │ └── golangci │ │ └── golangci-api │ │ └── master.json │ ├── get_profile.json │ ├── get_repo │ └── golangci │ │ └── golangci-api.json │ ├── get_repo_hooks │ └── golangci │ │ └── golangci-api.json │ ├── list_repo_page1.json │ └── list_repo_page2.json ├── events_test.go ├── github_login_test.go ├── hooks_test.go ├── list_test.go ├── prepare_env.sh └── sharedtest ├── app.go ├── auth.go ├── common_deps.go ├── default_app.go ├── github_fake.go ├── mocks └── provider_factory.go └── repos.go /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.circleci/lock.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/.circleci/lock.sh -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /vendor/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/Makefile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/README.md -------------------------------------------------------------------------------- /cmd/buildrunner/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/buildrunner/main.go -------------------------------------------------------------------------------- /cmd/containers_orchestrator/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/containers_orchestrator/main.go -------------------------------------------------------------------------------- /cmd/ensuredeps/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/ensuredeps/main.go -------------------------------------------------------------------------------- /cmd/genservices/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/genservices/main.go -------------------------------------------------------------------------------- /cmd/getrepoinfo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/getrepoinfo/main.go -------------------------------------------------------------------------------- /cmd/gocodescore/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/gocodescore/main.go -------------------------------------------------------------------------------- /cmd/goenvbuild/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/goenvbuild/main.go -------------------------------------------------------------------------------- /cmd/golangci-api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/golangci-api/main.go -------------------------------------------------------------------------------- /cmd/golangci-worker/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/cmd/golangci-worker/main.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/go.sum -------------------------------------------------------------------------------- /internal/api/apierrors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/apierrors/errors.go -------------------------------------------------------------------------------- /internal/api/endpointutil/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/endpointutil/context.go -------------------------------------------------------------------------------- /internal/api/endpointutil/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/endpointutil/handler.go -------------------------------------------------------------------------------- /internal/api/events/amplitude.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/events/amplitude.go -------------------------------------------------------------------------------- /internal/api/events/mixpanel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/events/mixpanel.go -------------------------------------------------------------------------------- /internal/api/events/tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/events/tracker.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/factory.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/const.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/event_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/event_processor.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/events.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/form_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/form_util.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/provider.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/paddle/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/paddle/request.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/securionpay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/securionpay.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/implementations/stable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/implementations/stable.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/paymentprovider/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/paymentprovider/errors.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/paymentprovider/event_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/paymentprovider/event_processor.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/paymentprovider/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/paymentprovider/models.go -------------------------------------------------------------------------------- /internal/api/paymentproviders/paymentprovider/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/paymentproviders/paymentprovider/provider.go -------------------------------------------------------------------------------- /internal/api/score/calculator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/score/calculator.go -------------------------------------------------------------------------------- /internal/api/session/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/session/factory.go -------------------------------------------------------------------------------- /internal/api/session/request_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/session/request_context.go -------------------------------------------------------------------------------- /internal/api/session/saver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/session/saver.go -------------------------------------------------------------------------------- /internal/api/session/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/session/session.go -------------------------------------------------------------------------------- /internal/api/transportutil/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/context.go -------------------------------------------------------------------------------- /internal/api/transportutil/decode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/decode.go -------------------------------------------------------------------------------- /internal/api/transportutil/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/encode.go -------------------------------------------------------------------------------- /internal/api/transportutil/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/errors.go -------------------------------------------------------------------------------- /internal/api/transportutil/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/log.go -------------------------------------------------------------------------------- /internal/api/transportutil/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/transportutil/session.go -------------------------------------------------------------------------------- /internal/api/util/random.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/api/util/random.go -------------------------------------------------------------------------------- /internal/shared/apperrors/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/log.go -------------------------------------------------------------------------------- /internal/shared/apperrors/nop_tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/nop_tracker.go -------------------------------------------------------------------------------- /internal/shared/apperrors/rollbar_tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/rollbar_tracker.go -------------------------------------------------------------------------------- /internal/shared/apperrors/sentry_tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/sentry_tracker.go -------------------------------------------------------------------------------- /internal/shared/apperrors/tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/tracker.go -------------------------------------------------------------------------------- /internal/shared/apperrors/tracker_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/apperrors/tracker_builder.go -------------------------------------------------------------------------------- /internal/shared/cache/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/cache/cache.go -------------------------------------------------------------------------------- /internal/shared/cache/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/cache/redis.go -------------------------------------------------------------------------------- /internal/shared/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/config/config.go -------------------------------------------------------------------------------- /internal/shared/config/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/config/env.go -------------------------------------------------------------------------------- /internal/shared/db/gormdb/gormdb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/gormdb/gormdb.go -------------------------------------------------------------------------------- /internal/shared/db/gormdb/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/gormdb/logger.go -------------------------------------------------------------------------------- /internal/shared/db/gormdb/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/gormdb/sql.go -------------------------------------------------------------------------------- /internal/shared/db/gormdb/tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/gormdb/tx.go -------------------------------------------------------------------------------- /internal/shared/db/migrations/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/migrations/runner.go -------------------------------------------------------------------------------- /internal/shared/db/redis/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/db/redis/pool.go -------------------------------------------------------------------------------- /internal/shared/fsutil/wd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/fsutil/wd.go -------------------------------------------------------------------------------- /internal/shared/logutil/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/logutil/context.go -------------------------------------------------------------------------------- /internal/shared/logutil/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/logutil/log.go -------------------------------------------------------------------------------- /internal/shared/logutil/stderr_log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/logutil/stderr_log.go -------------------------------------------------------------------------------- /internal/shared/providers/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/factory.go -------------------------------------------------------------------------------- /internal/shared/providers/implementations/github.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/implementations/github.go -------------------------------------------------------------------------------- /internal/shared/providers/implementations/stable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/implementations/stable.go -------------------------------------------------------------------------------- /internal/shared/providers/provider/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/provider/errors.go -------------------------------------------------------------------------------- /internal/shared/providers/provider/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/provider/models.go -------------------------------------------------------------------------------- /internal/shared/providers/provider/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/providers/provider/provider.go -------------------------------------------------------------------------------- /internal/shared/queue/aws/consumer/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/aws/consumer/consumer.go -------------------------------------------------------------------------------- /internal/shared/queue/aws/sqs/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/aws/sqs/queue.go -------------------------------------------------------------------------------- /internal/shared/queue/consumers/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/consumers/consumer.go -------------------------------------------------------------------------------- /internal/shared/queue/consumers/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/consumers/errors.go -------------------------------------------------------------------------------- /internal/shared/queue/consumers/multiplexer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/consumers/multiplexer.go -------------------------------------------------------------------------------- /internal/shared/queue/consumers/reflect_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/consumers/reflect_consumer.go -------------------------------------------------------------------------------- /internal/shared/queue/message.go: -------------------------------------------------------------------------------- 1 | package queue 2 | 3 | type Message interface { 4 | LockID() string 5 | } 6 | -------------------------------------------------------------------------------- /internal/shared/queue/producers/base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/producers/base.go -------------------------------------------------------------------------------- /internal/shared/queue/producers/multiplexer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/producers/multiplexer.go -------------------------------------------------------------------------------- /internal/shared/queue/producers/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/internal/shared/queue/producers/queue.go -------------------------------------------------------------------------------- /migrations/10_add_github_hook_id_to_github_repos.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/10_add_github_hook_id_to_github_repos.down.sql -------------------------------------------------------------------------------- /migrations/10_add_github_hook_id_to_github_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/10_add_github_hook_id_to_github_repos.up.sql -------------------------------------------------------------------------------- /migrations/11_create_github_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE github_analyzes; 2 | -------------------------------------------------------------------------------- /migrations/11_create_github_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/11_create_github_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/12_add_reported_issues_count_to_github_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_analyzes 2 | DROP COLUMN reported_issues_count; 3 | -------------------------------------------------------------------------------- /migrations/12_add_reported_issues_count_to_github_analyzes.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_analyzes 2 | ADD COLUMN reported_issues_count INTEGER NOT NULL DEFAULT -1; 3 | -------------------------------------------------------------------------------- /migrations/13_add_commit_sha_to_github_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/13_add_commit_sha_to_github_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/13_add_commit_sha_to_github_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/13_add_commit_sha_to_github_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/14_add_private_access_token_to_github_auths.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_auths 2 | DROP COLUMN private_access_token; 3 | -------------------------------------------------------------------------------- /migrations/14_add_private_access_token_to_github_auths.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_auths 2 | ADD COLUMN private_access_token VARCHAR(128); 3 | -------------------------------------------------------------------------------- /migrations/15_drop_commit_sha_and_repo_uniq_index_from_github_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/15_drop_commit_sha_and_repo_uniq_index_from_github_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/15_drop_commit_sha_and_repo_uniq_index_from_github_analyzes.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX github_analyzes_uniq_repo_and_commit_sha; 2 | -------------------------------------------------------------------------------- /migrations/16_add_result_json_to_github_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_analyzes 2 | DROP COLUMN result_json; -------------------------------------------------------------------------------- /migrations/16_add_result_json_to_github_analyzes.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_analyzes 2 | ADD COLUMN result_json JSONB; -------------------------------------------------------------------------------- /migrations/17_add_index_on_github_pull_request_number_to_github_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX github_pull_request_number_idx; 2 | -------------------------------------------------------------------------------- /migrations/17_add_index_on_github_pull_request_number_to_github_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/17_add_index_on_github_pull_request_number_to_github_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/18_create_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE repo_analysis_statuses; 2 | -------------------------------------------------------------------------------- /migrations/18_create_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/18_create_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/19_create_repo_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE repo_analyzes; -------------------------------------------------------------------------------- /migrations/19_create_repo_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/19_create_repo_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/1_add_users.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE users; 2 | -------------------------------------------------------------------------------- /migrations/1_add_users.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/1_add_users.up.sql -------------------------------------------------------------------------------- /migrations/20_add_fields_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses 2 | DROP COLUMN has_pending_changes; -------------------------------------------------------------------------------- /migrations/20_add_fields_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses 2 | ADD COLUMN has_pending_changes boolean; -------------------------------------------------------------------------------- /migrations/21_add_default_branch_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses 2 | DROP COLUMN default_branch; -------------------------------------------------------------------------------- /migrations/21_add_default_branch_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses 2 | ADD COLUMN default_branch VARCHAR(64); -------------------------------------------------------------------------------- /migrations/22_add_commit_sha_to_repo_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/22_add_commit_sha_to_repo_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/22_add_commit_sha_to_repo_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/22_add_commit_sha_to_repo_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/23_add_index_on_status_to_repo_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX repo_analyzes_status_idx; -------------------------------------------------------------------------------- /migrations/23_add_index_on_status_to_repo_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/23_add_index_on_status_to_repo_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/24_add_attempt_number_repo_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analyzes 2 | DROP COLUMN attempt_number; -------------------------------------------------------------------------------- /migrations/24_add_attempt_number_repo_analyzes.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analyzes 2 | ADD COLUMN attempt_number INTEGER NOT NULL DEFAULT 1; -------------------------------------------------------------------------------- /migrations/25_add_linters_version_to_repo_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/25_add_linters_version_to_repo_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/25_add_linters_version_to_repo_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/25_add_linters_version_to_repo_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/26_add_last_analyzed_linters_version_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/26_add_last_analyzed_linters_version_to_repo_analysis_statuses.down.sql -------------------------------------------------------------------------------- /migrations/26_add_last_analyzed_linters_version_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/26_add_last_analyzed_linters_version_to_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/27_add_active_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses 2 | DROP COLUMN active; -------------------------------------------------------------------------------- /migrations/27_add_active_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/27_add_active_to_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/28_add_display_name_to_github_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_repos 2 | DROP COLUMN display_name; -------------------------------------------------------------------------------- /migrations/28_add_display_name_to_github_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_repos 2 | ADD COLUMN display_name VARCHAR(256) NOT NULL DEFAULT ''; -------------------------------------------------------------------------------- /migrations/29_lowercase_names_in_github_repos.down.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/29_lowercase_names_in_github_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/29_lowercase_names_in_github_repos.up.sql -------------------------------------------------------------------------------- /migrations/2_add_github_auths.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE github_auths; 2 | -------------------------------------------------------------------------------- /migrations/2_add_github_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/2_add_github_auths.up.sql -------------------------------------------------------------------------------- /migrations/30_add_github_user_id_to_github_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/30_add_github_user_id_to_github_auths.down.sql -------------------------------------------------------------------------------- /migrations/30_add_github_user_id_to_github_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/30_add_github_user_id_to_github_auths.up.sql -------------------------------------------------------------------------------- /migrations/31_add_index_on_github_user_id_to_github_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/31_add_index_on_github_user_id_to_github_auths.down.sql -------------------------------------------------------------------------------- /migrations/31_add_index_on_github_user_id_to_github_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/31_add_index_on_github_user_id_to_github_auths.up.sql -------------------------------------------------------------------------------- /migrations/32_drop_uniq_login_index_from_github_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/32_drop_uniq_login_index_from_github_auths.down.sql -------------------------------------------------------------------------------- /migrations/32_drop_uniq_login_index_from_github_auths.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_auths DROP CONSTRAINT uniq_login; -------------------------------------------------------------------------------- /migrations/33_add_github_id_to_github_repos.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/33_add_github_id_to_github_repos.down.sql -------------------------------------------------------------------------------- /migrations/33_add_github_id_to_github_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/33_add_github_id_to_github_repos.up.sql -------------------------------------------------------------------------------- /migrations/34_rename_github_repos_to_repos.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/34_rename_github_repos_to_repos.down.sql -------------------------------------------------------------------------------- /migrations/34_rename_github_repos_to_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/34_rename_github_repos_to_repos.up.sql -------------------------------------------------------------------------------- /migrations/35_rename_github_analyzes_to_pull_request_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/35_rename_github_analyzes_to_pull_request_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/35_rename_github_analyzes_to_pull_request_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/35_rename_github_analyzes_to_pull_request_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/36_remove_github_from_some_columns_in_pull_request_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/36_remove_github_from_some_columns_in_pull_request_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/36_remove_github_from_some_columns_in_pull_request_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/36_remove_github_from_some_columns_in_pull_request_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/37_add_provider_to_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos 2 | DROP COLUMN provider; -------------------------------------------------------------------------------- /migrations/37_add_provider_to_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/37_add_provider_to_repos.up.sql -------------------------------------------------------------------------------- /migrations/38_add_repo_id_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/38_add_repo_id_to_repo_analysis_statuses.down.sql -------------------------------------------------------------------------------- /migrations/38_add_repo_id_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/38_add_repo_id_to_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/39_add_index_on_repo_analysis_status_id_to_repo_analyzes.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/39_add_index_on_repo_analysis_status_id_to_repo_analyzes.down.sql -------------------------------------------------------------------------------- /migrations/39_add_index_on_repo_analysis_status_id_to_repo_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/39_add_index_on_repo_analysis_status_id_to_repo_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/3_add_index_on_nickname_to_users.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX nickname_idx; 2 | -------------------------------------------------------------------------------- /migrations/3_add_index_on_nickname_to_users.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/3_add_index_on_nickname_to_users.up.sql -------------------------------------------------------------------------------- /migrations/40_make_repo_id_not_null_in_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/40_make_repo_id_not_null_in_repo_analysis_statuses.down.sql -------------------------------------------------------------------------------- /migrations/40_make_repo_id_not_null_in_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/40_make_repo_id_not_null_in_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/41_rename_github_auths_to_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/41_rename_github_auths_to_auths.down.sql -------------------------------------------------------------------------------- /migrations/41_rename_github_auths_to_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/41_rename_github_auths_to_auths.up.sql -------------------------------------------------------------------------------- /migrations/42_rename_github_to_provider_in_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/42_rename_github_to_provider_in_auths.down.sql -------------------------------------------------------------------------------- /migrations/42_rename_github_to_provider_in_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/42_rename_github_to_provider_in_auths.up.sql -------------------------------------------------------------------------------- /migrations/43_rename_github_to_provider_in_repos.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/43_rename_github_to_provider_in_repos.down.sql -------------------------------------------------------------------------------- /migrations/43_rename_github_to_provider_in_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/43_rename_github_to_provider_in_repos.up.sql -------------------------------------------------------------------------------- /migrations/44_add_commit_state_to_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos DROP COLUMN commit_state; -------------------------------------------------------------------------------- /migrations/44_add_commit_state_to_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos ADD COLUMN commit_state VARCHAR(64) NOT NULL DEFAULT 'done'; -------------------------------------------------------------------------------- /migrations/45_add_stargazers_count_to_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos DROP COLUMN stargazers_count; -------------------------------------------------------------------------------- /migrations/45_add_stargazers_count_to_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos ADD COLUMN stargazers_count INT NOT NULL DEFAULT -1; -------------------------------------------------------------------------------- /migrations/46_add_orgs.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE orgs; 2 | -------------------------------------------------------------------------------- /migrations/46_add_orgs.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/46_add_orgs.up.sql -------------------------------------------------------------------------------- /migrations/47_add_org_subs.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE org_subs; -------------------------------------------------------------------------------- /migrations/47_add_org_subs.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/47_add_org_subs.up.sql -------------------------------------------------------------------------------- /migrations/48_add_idempotency_key_to_org_subs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs DROP COLUMN idempotency_key; -------------------------------------------------------------------------------- /migrations/48_add_idempotency_key_to_org_subs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs ADD COLUMN idempotency_key VARCHAR(64) UNIQUE; -------------------------------------------------------------------------------- /migrations/49_add_payment_gateway_events.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE payment_gateway_events; -------------------------------------------------------------------------------- /migrations/49_add_payment_gateway_events.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/49_add_payment_gateway_events.up.sql -------------------------------------------------------------------------------- /migrations/4_add_avatar_url_to_users.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE users DROP COLUMN avatar_url; 2 | -------------------------------------------------------------------------------- /migrations/4_add_avatar_url_to_users.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE users ADD COLUMN avatar_url varchar(256); 2 | -------------------------------------------------------------------------------- /migrations/50_add_user_id_to_payment_gateway_events.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE payment_gateway_events DROP COLUMN user_id; -------------------------------------------------------------------------------- /migrations/50_add_user_id_to_payment_gateway_events.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/50_add_user_id_to_payment_gateway_events.up.sql -------------------------------------------------------------------------------- /migrations/51_add_index_to_org_subs.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/51_add_index_to_org_subs.down.sql -------------------------------------------------------------------------------- /migrations/51_add_index_to_org_subs.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/51_add_index_to_org_subs.up.sql -------------------------------------------------------------------------------- /migrations/52_add_payment_gateway_name_to_org_subs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs DROP COLUMN payment_gateway_name; -------------------------------------------------------------------------------- /migrations/52_add_payment_gateway_name_to_org_subs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs 2 | ADD COLUMN payment_gateway_name VARCHAR(64); -------------------------------------------------------------------------------- /migrations/53_add_version_to_org_and_org_subs.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/53_add_version_to_org_and_org_subs.down.sql -------------------------------------------------------------------------------- /migrations/53_add_version_to_org_and_org_subs.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/53_add_version_to_org_and_org_subs.up.sql -------------------------------------------------------------------------------- /migrations/54_add_price_per_seat_to_org_subs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs 2 | DROP COLUMN price_per_seat; -------------------------------------------------------------------------------- /migrations/54_add_price_per_seat_to_org_subs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs 2 | ADD COLUMN price_per_seat VARCHAR(64) NOT NULL; -------------------------------------------------------------------------------- /migrations/55_add_cancel_url_to_org_subs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs DROP COLUMN cancel_url; -------------------------------------------------------------------------------- /migrations/55_add_cancel_url_to_org_subs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE org_subs 2 | ADD COLUMN cancel_url TEXT NOT NULL; -------------------------------------------------------------------------------- /migrations/56_add_is_private_to_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos 2 | DROP COLUMN is_private; -------------------------------------------------------------------------------- /migrations/56_add_is_private_to_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos 2 | ADD COLUMN is_private BOOLEAN NOT NULL DEFAULT false; -------------------------------------------------------------------------------- /migrations/57_add_create_fail_reason_to_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos DROP COLUMN create_fail_reason; -------------------------------------------------------------------------------- /migrations/57_add_create_fail_reason_to_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repos ADD COLUMN create_fail_reason VARCHAR(128) NULL; -------------------------------------------------------------------------------- /migrations/58_add_is_empty_to_repo_analysis_statuses.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE repo_analysis_statuses DROP COLUMN is_empty; -------------------------------------------------------------------------------- /migrations/58_add_is_empty_to_repo_analysis_statuses.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/58_add_is_empty_to_repo_analysis_statuses.up.sql -------------------------------------------------------------------------------- /migrations/59_add_index_to_pull_request_analyzes.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX pull_request_analyzes_commit_sha_idx; -------------------------------------------------------------------------------- /migrations/59_add_index_to_pull_request_analyzes.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/59_add_index_to_pull_request_analyzes.up.sql -------------------------------------------------------------------------------- /migrations/5_add_login_to_github_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/5_add_login_to_github_auths.down.sql -------------------------------------------------------------------------------- /migrations/5_add_login_to_github_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/5_add_login_to_github_auths.up.sql -------------------------------------------------------------------------------- /migrations/6_drop_nickname_from_users.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE users ADD COLUMN nickname varchar(128) NOT NULL; 2 | -------------------------------------------------------------------------------- /migrations/6_drop_nickname_from_users.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE users DROP COLUMN nickname; 2 | -------------------------------------------------------------------------------- /migrations/7_fix_uniqs_int_github_auths.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/7_fix_uniqs_int_github_auths.down.sql -------------------------------------------------------------------------------- /migrations/7_fix_uniqs_int_github_auths.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/7_fix_uniqs_int_github_auths.up.sql -------------------------------------------------------------------------------- /migrations/8_add_github_repos.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE github_repos; 2 | -------------------------------------------------------------------------------- /migrations/8_add_github_repos.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/migrations/8_add_github_repos.up.sql -------------------------------------------------------------------------------- /migrations/9_add_hook_id_to_github_repos.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_repos 2 | DROP COLUMN hook_id; 3 | -------------------------------------------------------------------------------- /migrations/9_add_hook_id_to_github_repos.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE github_repos 2 | ADD COLUMN hook_id varchar(32) NOT NULL UNIQUE; 3 | -------------------------------------------------------------------------------- /pkg/api/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/app.go -------------------------------------------------------------------------------- /pkg/api/app_modifiers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/app_modifiers.go -------------------------------------------------------------------------------- /pkg/api/auth/authorizer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/auth/authorizer.go -------------------------------------------------------------------------------- /pkg/api/auth/oauth/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/auth/oauth/factory.go -------------------------------------------------------------------------------- /pkg/api/auth/oauth/oauth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/auth/oauth/oauth.go -------------------------------------------------------------------------------- /pkg/api/crons/pranalyzes/reanalyzer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/crons/pranalyzes/reanalyzer.go -------------------------------------------------------------------------------- /pkg/api/crons/pranalyzes/staler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/crons/pranalyzes/staler.go -------------------------------------------------------------------------------- /pkg/api/crons/repoinfo/updater.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/crons/repoinfo/updater.go -------------------------------------------------------------------------------- /pkg/api/hooks/injector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/hooks/injector.go -------------------------------------------------------------------------------- /pkg/api/models/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/auth.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_auth.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_org.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_org.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_org_sub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_org_sub.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_payment_gateway_event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_payment_gateway_event.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_pull_request_analysis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_pull_request_analysis.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_repo.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_repo_analysis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_repo_analysis.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_repo_analysis_status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_repo_analysis_status.go -------------------------------------------------------------------------------- /pkg/api/models/autogenerated_user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/autogenerated_user.go -------------------------------------------------------------------------------- /pkg/api/models/org.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/org.go -------------------------------------------------------------------------------- /pkg/api/models/org_sub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/org_sub.go -------------------------------------------------------------------------------- /pkg/api/models/payment_gateway_event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/payment_gateway_event.go -------------------------------------------------------------------------------- /pkg/api/models/pull_request_analysis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/pull_request_analysis.go -------------------------------------------------------------------------------- /pkg/api/models/repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/repo.go -------------------------------------------------------------------------------- /pkg/api/models/repo_analysis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/repo_analysis.go -------------------------------------------------------------------------------- /pkg/api/models/repo_analysis_status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/repo_analysis_status.go -------------------------------------------------------------------------------- /pkg/api/models/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/models/user.go -------------------------------------------------------------------------------- /pkg/api/policy/active_subscription.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/policy/active_subscription.go -------------------------------------------------------------------------------- /pkg/api/policy/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/policy/errors.go -------------------------------------------------------------------------------- /pkg/api/policy/org_fetcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/policy/org_fetcher.go -------------------------------------------------------------------------------- /pkg/api/policy/organization.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/policy/organization.go -------------------------------------------------------------------------------- /pkg/api/policy/repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/policy/repo.go -------------------------------------------------------------------------------- /pkg/api/request/body.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/request/body.go -------------------------------------------------------------------------------- /pkg/api/request/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/request/context.go -------------------------------------------------------------------------------- /pkg/api/request/org.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/request/org.go -------------------------------------------------------------------------------- /pkg/api/request/repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/request/repo.go -------------------------------------------------------------------------------- /pkg/api/returntypes/returntypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/returntypes/returntypes.go -------------------------------------------------------------------------------- /pkg/api/services/auth/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/auth/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/auth/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/auth/service.go -------------------------------------------------------------------------------- /pkg/api/services/auth/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/auth/transport.go -------------------------------------------------------------------------------- /pkg/api/services/events/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/events/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/events/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/events/service.go -------------------------------------------------------------------------------- /pkg/api/services/events/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/events/transport.go -------------------------------------------------------------------------------- /pkg/api/services/organization/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/organization/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/organization/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/organization/service.go -------------------------------------------------------------------------------- /pkg/api/services/organization/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/organization/transport.go -------------------------------------------------------------------------------- /pkg/api/services/pranalysis/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/pranalysis/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/pranalysis/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/pranalysis/service.go -------------------------------------------------------------------------------- /pkg/api/services/pranalysis/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/pranalysis/transport.go -------------------------------------------------------------------------------- /pkg/api/services/repo/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repo/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/repo/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repo/service.go -------------------------------------------------------------------------------- /pkg/api/services/repo/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repo/transport.go -------------------------------------------------------------------------------- /pkg/api/services/repoanalysis/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repoanalysis/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/repoanalysis/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repoanalysis/service.go -------------------------------------------------------------------------------- /pkg/api/services/repoanalysis/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repoanalysis/transport.go -------------------------------------------------------------------------------- /pkg/api/services/repohook/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repohook/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/repohook/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repohook/service.go -------------------------------------------------------------------------------- /pkg/api/services/repohook/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/repohook/transport.go -------------------------------------------------------------------------------- /pkg/api/services/subscription/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/subscription/endpoint.go -------------------------------------------------------------------------------- /pkg/api/services/subscription/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/subscription/service.go -------------------------------------------------------------------------------- /pkg/api/services/subscription/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/services/subscription/transport.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/config.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/helpers.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/invitations/acceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/invitations/acceptor.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/paymentevents/creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/paymentevents/creator.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/repoanalyzes/launcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/repoanalyzes/launcher.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/repos/collaborator_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/repos/collaborator_util.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/repos/creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/repos/creator.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/repos/deleter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/repos/deleter.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/subs/creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/subs/creator.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/subs/deleter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/subs/deleter.go -------------------------------------------------------------------------------- /pkg/api/workers/primaryqueue/subs/updater.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/api/workers/primaryqueue/subs/updater.go -------------------------------------------------------------------------------- /pkg/buildagent/build/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/buildagent/build/runner.go -------------------------------------------------------------------------------- /pkg/buildagent/containers/orchestrator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/buildagent/containers/orchestrator.go -------------------------------------------------------------------------------- /pkg/goenvbuild/command/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/command/runner.go -------------------------------------------------------------------------------- /pkg/goenvbuild/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/config/config.go -------------------------------------------------------------------------------- /pkg/goenvbuild/ensuredeps/ensure.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/ensuredeps/ensure.go -------------------------------------------------------------------------------- /pkg/goenvbuild/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/logger/logger.go -------------------------------------------------------------------------------- /pkg/goenvbuild/packages/exclude.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/packages/exclude.go -------------------------------------------------------------------------------- /pkg/goenvbuild/packages/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/packages/package.go -------------------------------------------------------------------------------- /pkg/goenvbuild/packages/program.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/packages/program.go -------------------------------------------------------------------------------- /pkg/goenvbuild/packages/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/packages/resolver.go -------------------------------------------------------------------------------- /pkg/goenvbuild/packages/resolver_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/packages/resolver_test.go -------------------------------------------------------------------------------- /pkg/goenvbuild/preparer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/preparer.go -------------------------------------------------------------------------------- /pkg/goenvbuild/repoinfo/fetch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/repoinfo/fetch.go -------------------------------------------------------------------------------- /pkg/goenvbuild/repoinfo/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/repoinfo/info.go -------------------------------------------------------------------------------- /pkg/goenvbuild/result/result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/result/result.go -------------------------------------------------------------------------------- /pkg/goenvbuild/result/run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/goenvbuild/result/run.go -------------------------------------------------------------------------------- /pkg/worker/analytics/amplitude.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/amplitude.go -------------------------------------------------------------------------------- /pkg/worker/analytics/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/context.go -------------------------------------------------------------------------------- /pkg/worker/analytics/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/errors.go -------------------------------------------------------------------------------- /pkg/worker/analytics/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/logger.go -------------------------------------------------------------------------------- /pkg/worker/analytics/mixpanel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/mixpanel.go -------------------------------------------------------------------------------- /pkg/worker/analytics/track.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analytics/track.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/consumers/analyze_pr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/consumers/analyze_pr.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/consumers/analyze_pr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/consumers/analyze_pr_test.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/consumers/analyze_repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/consumers/analyze_repo.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/consumers/base_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/consumers/base_consumer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/consumers/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/consumers/errors.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzequeue/task/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzequeue/task/task.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/config.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/helpers.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/config.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/consumer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/producer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/pullanalyzesqueue/producer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/config.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/consumer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/producer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/analyzesqueue/repoanalyzesqueue/producer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/golinters/golangci_lint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/golinters/golangci_lint.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/linter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/linter.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/linter_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/linter_mock.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/result/issue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/result/issue.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/result/result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/result/result.go -------------------------------------------------------------------------------- /pkg/worker/analyze/linters/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/linters/runner.go -------------------------------------------------------------------------------- /pkg/worker/analyze/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/logger/logger.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/basic_pull_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/basic_pull_processor.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/basic_pull_processor_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/basic_pull_processor_factory.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/basic_pull_processor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/basic_pull_processor_test.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/def.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/def.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/errors.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/escape.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/escape.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/executor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/executor.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/nop_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/nop_processor.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/pull_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/pull_processor.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/pull_processor_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/pull_processor_factory.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/repo_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/repo_processor.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/repo_processor_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/repo_processor_factory.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/result.go -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/test/1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/test/1.patch -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/test/main0.go: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | func F0() error { 4 | return nil 5 | } 6 | -------------------------------------------------------------------------------- /pkg/worker/analyze/processors/test/main1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/processors/test/main1.go -------------------------------------------------------------------------------- /pkg/worker/analyze/prstate/api_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/prstate/api_storage.go -------------------------------------------------------------------------------- /pkg/worker/analyze/prstate/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/prstate/storage.go -------------------------------------------------------------------------------- /pkg/worker/analyze/prstate/storage_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/prstate/storage_mock.go -------------------------------------------------------------------------------- /pkg/worker/analyze/reporters/github_reviewer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/reporters/github_reviewer.go -------------------------------------------------------------------------------- /pkg/worker/analyze/reporters/reporter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/reporters/reporter.go -------------------------------------------------------------------------------- /pkg/worker/analyze/reporters/reporter_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/reporters/reporter_mock.go -------------------------------------------------------------------------------- /pkg/worker/analyze/repostate/api_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/repostate/api_storage.go -------------------------------------------------------------------------------- /pkg/worker/analyze/repostate/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/repostate/storage.go -------------------------------------------------------------------------------- /pkg/worker/analyze/repostate/storage_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/repostate/storage_mock.go -------------------------------------------------------------------------------- /pkg/worker/analyze/resources/requirements.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/analyze/resources/requirements.go -------------------------------------------------------------------------------- /pkg/worker/app/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/app/app.go -------------------------------------------------------------------------------- /pkg/worker/app/app_modifiers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/app/app_modifiers.go -------------------------------------------------------------------------------- /pkg/worker/app/app_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/app/app_test.go -------------------------------------------------------------------------------- /pkg/worker/lib/errorutils/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/errorutils/errors.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/container.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/env.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/executor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/executor.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/executor_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/executor_mock.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/fargate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/fargate.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/shell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/shell.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/temp_dir_shell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/temp_dir_shell.go -------------------------------------------------------------------------------- /pkg/worker/lib/executors/temp_dir_shell_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/executors/temp_dir_shell_test.go -------------------------------------------------------------------------------- /pkg/worker/lib/experiments/checker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/experiments/checker.go -------------------------------------------------------------------------------- /pkg/worker/lib/fetchers/fetcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/fetchers/fetcher.go -------------------------------------------------------------------------------- /pkg/worker/lib/fetchers/fetcher_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/fetchers/fetcher_mock.go -------------------------------------------------------------------------------- /pkg/worker/lib/fetchers/git.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/fetchers/git.go -------------------------------------------------------------------------------- /pkg/worker/lib/fetchers/git_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/fetchers/git_test.go -------------------------------------------------------------------------------- /pkg/worker/lib/fetchers/repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/fetchers/repo.go -------------------------------------------------------------------------------- /pkg/worker/lib/github/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/github/client.go -------------------------------------------------------------------------------- /pkg/worker/lib/github/client_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/github/client_mock.go -------------------------------------------------------------------------------- /pkg/worker/lib/github/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/github/context.go -------------------------------------------------------------------------------- /pkg/worker/lib/goutils/environments/environment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/goutils/environments/environment.go -------------------------------------------------------------------------------- /pkg/worker/lib/goutils/environments/golang.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/goutils/environments/golang.go -------------------------------------------------------------------------------- /pkg/worker/lib/goutils/workspaces/go.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/goutils/workspaces/go.go -------------------------------------------------------------------------------- /pkg/worker/lib/goutils/workspaces/workspace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/goutils/workspaces/workspace.go -------------------------------------------------------------------------------- /pkg/worker/lib/httputils/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/httputils/client.go -------------------------------------------------------------------------------- /pkg/worker/lib/httputils/client_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/httputils/client_mock.go -------------------------------------------------------------------------------- /pkg/worker/lib/runmode/runmode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/runmode/runmode.go -------------------------------------------------------------------------------- /pkg/worker/lib/timeutils/track.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/lib/timeutils/track.go -------------------------------------------------------------------------------- /pkg/worker/scripts/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/scripts/cleanup.sh -------------------------------------------------------------------------------- /pkg/worker/test/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/test/env.go -------------------------------------------------------------------------------- /pkg/worker/test/linters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/pkg/worker/test/linters.go -------------------------------------------------------------------------------- /scripts/build_email_campaign/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/build_email_campaign/main.go -------------------------------------------------------------------------------- /scripts/consume_dlq/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/consume_dlq/main.go -------------------------------------------------------------------------------- /scripts/decode_cookie/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/decode_cookie/main.go -------------------------------------------------------------------------------- /scripts/emulate_webhook/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/emulate_webhook/main.go -------------------------------------------------------------------------------- /scripts/import_amplitude/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/import_amplitude/main.go -------------------------------------------------------------------------------- /scripts/print_last_reported_issues/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/print_last_reported_issues/main.go -------------------------------------------------------------------------------- /scripts/reanalyze_repo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/reanalyze_repo/main.go -------------------------------------------------------------------------------- /scripts/recover_pull_analyzes/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/scripts/recover_pull_analyzes/main.go -------------------------------------------------------------------------------- /test/activate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/activate_test.go -------------------------------------------------------------------------------- /test/data/github_fake_response/add_hook.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/add_hook.json -------------------------------------------------------------------------------- /test/data/github_fake_response/get_branch/golangci/golangci-api/master.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/get_branch/golangci/golangci-api/master.json -------------------------------------------------------------------------------- /test/data/github_fake_response/get_profile.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/get_profile.json -------------------------------------------------------------------------------- /test/data/github_fake_response/get_repo/golangci/golangci-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/get_repo/golangci/golangci-api.json -------------------------------------------------------------------------------- /test/data/github_fake_response/get_repo_hooks/golangci/golangci-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/get_repo_hooks/golangci/golangci-api.json -------------------------------------------------------------------------------- /test/data/github_fake_response/list_repo_page1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/list_repo_page1.json -------------------------------------------------------------------------------- /test/data/github_fake_response/list_repo_page2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/data/github_fake_response/list_repo_page2.json -------------------------------------------------------------------------------- /test/events_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/events_test.go -------------------------------------------------------------------------------- /test/github_login_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/github_login_test.go -------------------------------------------------------------------------------- /test/hooks_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/hooks_test.go -------------------------------------------------------------------------------- /test/list_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/list_test.go -------------------------------------------------------------------------------- /test/prepare_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/prepare_env.sh -------------------------------------------------------------------------------- /test/sharedtest/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/app.go -------------------------------------------------------------------------------- /test/sharedtest/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/auth.go -------------------------------------------------------------------------------- /test/sharedtest/common_deps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/common_deps.go -------------------------------------------------------------------------------- /test/sharedtest/default_app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/default_app.go -------------------------------------------------------------------------------- /test/sharedtest/github_fake.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/github_fake.go -------------------------------------------------------------------------------- /test/sharedtest/mocks/provider_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/mocks/provider_factory.go -------------------------------------------------------------------------------- /test/sharedtest/repos.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-api/HEAD/test/sharedtest/repos.go --------------------------------------------------------------------------------