diff --git a/archived/eventsource.zip b/archived/eventsource.zip deleted file mode 100644 index a1012dfd..00000000 Binary files a/archived/eventsource.zip and /dev/null differ diff --git a/archived/logo.png b/archived/logo.png deleted file mode 100644 index 1040785e..00000000 Binary files a/archived/logo.png and /dev/null differ diff --git a/archived/logo3.png b/archived/logo3.png deleted file mode 100644 index 2f0202a2..00000000 Binary files a/archived/logo3.png and /dev/null differ diff --git a/archived/orm.zip b/archived/orm.zip deleted file mode 100644 index 7b0436e8..00000000 Binary files a/archived/orm.zip and /dev/null differ diff --git a/archived/poll.zip b/archived/poll.zip deleted file mode 100644 index 4442e486..00000000 Binary files a/archived/poll.zip and /dev/null differ diff --git a/archived/relations.zip b/archived/relations.zip deleted file mode 100644 index cb9c59e6..00000000 Binary files a/archived/relations.zip and /dev/null differ diff --git a/archived/rethink.zip b/archived/rethink.zip deleted file mode 100644 index a64022a0..00000000 Binary files a/archived/rethink.zip and /dev/null differ diff --git a/archived/seeder.zip b/archived/seeder.zip deleted file mode 100644 index 15a423e5..00000000 Binary files a/archived/seeder.zip and /dev/null differ diff --git a/archived/tool/archived/move_repos b/archived/tool/archived/move_repos deleted file mode 100644 index c9dd208c..00000000 --- a/archived/tool/archived/move_repos +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/env python -from __future__ import print_function - -import os -from github import Github - -github_token = os.getenv("GITHUB_TOKEN") -packages_dir = "./packages" - -if not github_token: - print("$GITHUB_TOKEN environment variable missing.") - quit() - -gh = Github(github_token) - -for basename in os.listdir(packages_dir): - path = os.path.join(packages_dir, basename) - if os.path.isdir(path): - print("===Entering repo `" + basename + "`") - repo = gh.get_repo("angel-dart/" + basename) - if repo.owner.login != "angel-dart-archive": - # Manually do the transfer... - params = {"new_owner": "angel-dart-archive"} - repo._requester.requestJsonAndCheck( - "POST", repo.url + "/transfer", input=params, - ) - print("======Transferred `" + basename + "` to angel-dart-archive") - if repo.archived: - print("======SKIPPED ARCHIVED REPO") - continue - new_desc = "moved to angel-dart/angel/packages/" + basename - new_homepage = "https://github.com/angel-dart/angel/tree/master/packages/" + basename - if (repo.description != new_desc) or (repo.homepage != new_homepage): - repo.edit(description=new_desc, homepage=new_homepage) - print("======Changed description+homepage") - - open_issues = repo.get_issues(state="open") - for issue in open_issues: - label_name = "package:" + basename - label_found = False - for label in issue.labels: - if label.name == label_name: - label_found = True - break - if not label_found: - issue.edit(labels=[label_name]) - print("======Labeled issue \"" + issue.title + "\"") - - # Duplicate the issue in angel-dart/angel... - angel = gh.get_repo("angel-dart/angel") - body = "*This issue was originally created by @" + issue.user.login - body += " here, before being automatically moved: " - body += "\n" + issue.html_url - body += "*\n\n---\n" + issue.body - new_issue = angel.create_issue(title=issue.title, labels=[label_name], body=body) - for comment in issue.get_comments(): - comment_body = "@" + comment.user.login + " commented:\n\n" + comment.body - new_issue.create_comment(comment_body) - new_body = "*This issue was automatically moved to: " + new_issue.html_url + "." - issue.edit(state='closed', body=new_body) - print("======Moved issue \"" + issue.title + "\"") - - open_pulls = repo.get_pulls(state="open") - for pull in open_pulls: - msg = "Hi, @" + pull.user.login + "! Thanks again for this PR." - msg += "\n\nAll Angel subprojects have been consolidated into a single monorepo: " - msg += "https://github.com/angel-dart/angel." - msg += "\n\nPlease fork the monorepo, and open a new PR there instead." - pull.create_issue_comment(msg) - pull.edit(state='closed') - print("======Commented on + closed PR \"" + pull.title + "\"") - - # Archive the repository! - repo.edit(archived=True) - print("======Archived `" + basename + "`. Rest in Peace!") diff --git a/archived/tool/archived/pull_subproject b/archived/tool/archived/pull_subproject deleted file mode 100644 index c53cd826..00000000 --- a/archived/tool/archived/pull_subproject +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# -# Simple tool script that pulls an angel-dart/ project into ./packages/. - -if [ "$#" == "0" ]; then - echo "usage: pull_subproject " - exit 1 -fi - -set -ex - -for project in $*; do - git subtree add --prefix="packages/$project" "https://github.com/angel-dart/$project.git" master -done diff --git a/archived/typed_service.zip b/archived/typed_service.zip deleted file mode 100644 index a67b86d0..00000000 Binary files a/archived/typed_service.zip and /dev/null differ diff --git a/archived/wings.zip b/archived/wings.zip deleted file mode 100644 index 8489890e..00000000 Binary files a/archived/wings.zip and /dev/null differ diff --git a/wspace/.gitkeep b/wspace/.gitkeep deleted file mode 100644 index e69de29b..00000000