require "rubygems"
require "bundler/setup"
require "date"
require "erb"
require "json"
require "net/http"
require "uri"
require "git"
require "uuidtools"
require_relative "./executor"
require_relative "./logger"
require_relative "./github_graph_ql_client"
require_relative "./github_collaborators/last_commit"
require_relative "./github_collaborators/repository_collaborators"
require_relative "./github_collaborators/organization"
require_relative "./github_collaborators/repositories"
require_relative "./github_collaborators/organization_external_collaborators"
require_relative "./github_collaborators/repository_collaborator_importer"
require_relative "./github_collaborators/terraform_collaborator"
require_relative "./github_collaborators/access_remover"
require_relative "./github_collaborators/issue_creator"
require_relative "./github_collaborators/http_client"
require_relative "./github_collaborators/pull_requests"
require_relative "./github_collaborators/pull_request_creator"

PAGE_SIZE = 100

class GithubCollaborators
  def self.tf_safe(string)
    string.tr(".", "-")
  end
end
