Skip to content

Commit

Permalink
Reflect the current status of https://github.com/embulk
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Dec 18, 2024
1 parent d13368e commit fa1de56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ def retrieve_github_token()
end

def assert_repos(expected_repos, actual_repos)
expected_repo_names = expected_repos.map { |node| node[:name] }
actual_repo_names = actual_repos.map { |node| node[:name] }
assert_equal expected_repo_names, actual_repo_names
assert_equal expected_repos, actual_repos
end

def load_expected_repos(repos_yaml)
return File.open(repos_yaml) do |f|
YAML.load(f, filename: repos_yaml, symbolize_names: true)
YAML.load(f, filename: repos_yaml, symbolize_names: false)
end
end

Expand Down Expand Up @@ -75,3 +73,5 @@ def load_actual_repos(access_token)

puts actual_repos
puts expected_repos

assert_repos(expected_repos, actual_repos)
7 changes: 6 additions & 1 deletion repos.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
".github": {}
"actions": {}
"audit": {}
"dev.embulk.org": {}
"discussions": {}
"dl.embulk.org": {}
"docs": {}
"docs.embulk.org": {}
"embulk": {}
"embulk-base-guess": {}
"embulk-base-restclient": {}
"embulk-builtins": {}
"embulk-decoder-bzip2": {}
"embulk-decoder-gzip": {}
"embulk-docs": {}
Expand Down Expand Up @@ -39,6 +40,7 @@
"embulk-input-s3": {}
"embulk-input-script": {}
"embulk-input-sftp": {}
"embulk-junit5-proto": {}
"embulk-output-azure_blob_storage": {}
"embulk-output-bigquery": {}
"embulk-output-command": {}
Expand Down Expand Up @@ -72,11 +74,14 @@
"embulk-util-text": {}
"embulk-util-throttle-helper": {}
"embulk-util-timestamp": {}
"embulk-utils": {}
"embulk.github.io": {}
"gpg": {}
"gradle-embulk-plugins": {}
"gradle-embulk-runset": {}
"guice-bootstrap": {}
"logo": {}
"nightly-regression": {}
"old-embulk.github.io": {}
"plugin-crawler": {}
"plugins-cross-search": {}
Expand Down

0 comments on commit fa1de56

Please sign in to comment.