From 531b15022618b1e9f12cf696b2a2c2246e59f0f9 Mon Sep 17 00:00:00 2001 From: Stephen Demos Date: Mon, 2 Oct 2017 13:12:42 -0700 Subject: [PATCH 01/71] *: delete go we are rewriting this project in rust. the first step is deleting all the old code. --- .gitignore | 2 - .travis.yml | 12 - CONTRIBUTING.md | 68 -- DCO | 36 - LICENSE | 202 ------ MAINTAINERS | 1 - NEWS | 110 --- NOTICE | 5 - README.md | 80 --- build | 22 - internal/main.go | 263 ------- internal/main_test.go | 37 - internal/providers/azure/azure.go | 232 ------- .../cloudStackConfigDrive/cloudstack.go | 169 ----- .../cloudStackMetadata/cloudstack.go | 139 ---- .../providers/digitalocean/digitalocean.go | 276 -------- internal/providers/ec2/ec2.go | 162 ----- internal/providers/gce/gce.go | 146 ---- internal/providers/metadata.go | 125 ---- .../providers/openstackMetadata/metadata.go | 111 --- internal/providers/oracleoci/oracleoci.go | 65 -- internal/providers/packet/packet.go | 224 ------ .../vagrant_virtualbox/vagrant_virtualbox.go | 89 --- internal/retry/client.go | 66 -- .../coreos/update-ssh-keys/authorized_keys_d | 1 - .../src/authorized_keys_d/as_user/as_user.c | 204 ------ .../src/authorized_keys_d/as_user/as_user.go | 98 --- .../src/authorized_keys_d/as_user/as_user.h | 41 -- .../authorized_keys_d/authorized_keys_d.go | 369 ---------- .../authorized_keys_d_test.go | 654 ------------------ .../coreos/update-ssh-keys/src/main.go | 187 ----- .../coreos/update-ssh-keys/src/main_test.go | 23 - .../github.com/packethost/packngo/LICENSE.txt | 56 -- .../packethost/packngo/metadata/metadata.go | 153 ---- test | 29 - 35 files changed, 4457 deletions(-) delete mode 100644 .gitignore delete mode 100644 .travis.yml delete mode 100644 CONTRIBUTING.md delete mode 100644 DCO delete mode 100644 LICENSE delete mode 100644 MAINTAINERS delete mode 100644 NEWS delete mode 100644 NOTICE delete mode 100644 README.md delete mode 100755 build delete mode 100644 internal/main.go delete mode 100644 internal/main_test.go delete mode 100644 internal/providers/azure/azure.go delete mode 100644 internal/providers/cloudStackConfigDrive/cloudstack.go delete mode 100644 internal/providers/cloudStackMetadata/cloudstack.go delete mode 100644 internal/providers/digitalocean/digitalocean.go delete mode 100644 internal/providers/ec2/ec2.go delete mode 100644 internal/providers/gce/gce.go delete mode 100644 internal/providers/metadata.go delete mode 100644 internal/providers/openstackMetadata/metadata.go delete mode 100644 internal/providers/oracleoci/oracleoci.go delete mode 100644 internal/providers/packet/packet.go delete mode 100644 internal/providers/vagrant_virtualbox/vagrant_virtualbox.go delete mode 100644 internal/retry/client.go delete mode 120000 internal/vendor/github.com/coreos/update-ssh-keys/authorized_keys_d delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/authorized_keys_d/as_user/as_user.c delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/authorized_keys_d/as_user/as_user.go delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/authorized_keys_d/as_user/as_user.h delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/authorized_keys_d/authorized_keys_d.go delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/authorized_keys_d/authorized_keys_d_test.go delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/main.go delete mode 100644 internal/vendor/github.com/coreos/update-ssh-keys/src/main_test.go delete mode 100644 internal/vendor/github.com/packethost/packngo/LICENSE.txt delete mode 100644 internal/vendor/github.com/packethost/packngo/metadata/metadata.go delete mode 100755 test diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d098fb6b..00000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -bin/ -gopath/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9c11341c..00000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: go -matrix: - include: - - go: 1.5 - env: GO15VENDOREXPERIMENT=1 - - go: 1.6 - -install: - - - -script: - - ./test diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 7ad3b312..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,68 +0,0 @@ -# How to Contribute - -CoreOS projects are [Apache 2.0 licensed](LICENSE) and accept contributions via -GitHub pull requests. This document outlines some of the conventions on -development workflow, commit message formatting, contact points and other -resources to make it easier to get your contribution accepted. - -# Certificate of Origin - -By contributing to this project you agree to the Developer Certificate of -Origin (DCO). This document was created by the Linux Kernel community and is a -simple statement that you, as a contributor, have the legal right to make the -contribution. See the [DCO](DCO) file for details. - -# Email and Chat - -The project currently uses the general CoreOS email list and IRC channel: -- Email: [coreos-dev](https://groups.google.com/forum/#!forum/coreos-dev) -- IRC: #[coreos](irc://irc.freenode.org:6667/#coreos) IRC channel on freenode.org - -## Getting Started - -- Fork the repository on GitHub -- Read the [README](README.md) for build and test instructions -- Play with the project, submit bugs, submit patches! - -## Contribution Flow - -This is a rough outline of what a contributor's workflow looks like: - -- Create a topic branch from where you want to base your work (usually master). -- Make commits of logical units. -- Make sure your commit messages are in the proper format (see below). -- Push your changes to a topic branch in your fork of the repository. -- Make sure the tests pass, and add any new tests as appropriate. -- Submit a pull request to the original repository. - -Thanks for your contributions! - -### Format of the Commit Message - -We follow a rough convention for commit messages that is designed to answer two -questions: what changed and why. The subject line should feature the what and -the body of the commit should describe the why. - -``` -environment: write new keys in consistent order - -Go 1.3 randomizes the ordering of keys when iterating over a map. -Sort the keys to make this ordering consistent. - -Fixes #38 -``` - -The format can be described more formally as follows: - -``` -: - - - -