From 4abd68e9f086cdc34444dbf28810a0058d3c1807 Mon Sep 17 00:00:00 2001 From: Matthew Welch Date: Sun, 1 Aug 2021 18:45:03 -0700 Subject: [PATCH] Cleanup Update README.md Remove leftover gopkg files Remove CONTRIBUTING.md --- .gitignore | 1 - CONTRIBUTING.md | 25 ------------- Gopkg.lock | 97 ------------------------------------------------- Gopkg.toml | 46 ----------------------- README.md | 22 ++++------- 5 files changed, 8 insertions(+), 183 deletions(-) delete mode 100644 CONTRIBUTING.md delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml diff --git a/.gitignore b/.gitignore index 026e256..597dc6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ cloud-dyndns-client -vendor diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 1b21b0f..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,25 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution, -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -A bot should provide instructions when you submit a PR. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 2ad31c4..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,97 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:5c3894b2aa4d6bead0ceeea6831b305d62879c871780e7b76296ded1b004bc57" - name = "cloud.google.com/go" - packages = ["compute/metadata"] - pruneopts = "UT" - revision = "dfffe386c33fb24c34ee501e5723df5b97b98514" - version = "v0.30.0" - -[[projects]] - digest = "1:97df918963298c287643883209a2c3f642e6593379f97ab400c2a2e219ab647d" - name = "github.com/golang/protobuf" - packages = ["proto"] - pruneopts = "UT" - revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5" - version = "v1.2.0" - -[[projects]] - branch = "master" - digest = "1:db7528233e2f178f8770284f05c60708b31e73d9b8d287676ce52a3389681fe4" - name = "golang.org/x/net" - packages = [ - "context", - "context/ctxhttp", - "html", - "html/atom", - ] - pruneopts = "UT" - revision = "04a2e542c03f1d053ab3e4d6e5abcd4b66e2be8e" - -[[projects]] - branch = "master" - digest = "1:faa25cb78cf9c8cec9345d4ed07322cdef6a8c968b3d0a6b6c3609067c7386eb" - name = "golang.org/x/oauth2" - packages = [ - ".", - "google", - "internal", - "jws", - "jwt", - ] - pruneopts = "UT" - revision = "9dcd33a902f40452422c2367fefcb95b54f9f8f8" - -[[projects]] - branch = "master" - digest = "1:39ebcc2b11457b703ae9ee2e8cca0f68df21969c6102cb3b705f76cca0ea0239" - name = "golang.org/x/sync" - packages = ["errgroup"] - pruneopts = "UT" - revision = "1d60e4601c6fd243af51cc01ddf169918a5407ca" - -[[projects]] - branch = "master" - digest = "1:53cc6f72e450ce1451e3644208d66df770212cdefbc9c63445bc3f55ec713b05" - name = "google.golang.org/api" - packages = [ - "dns/v1", - "gensupport", - "googleapi", - "googleapi/internal/uritemplates", - ] - pruneopts = "UT" - revision = "a2651947f503a1793446d4058bb073a6fdf99e53" - -[[projects]] - digest = "1:193950893ea275f89ed92e5da11ed8fa1436872f755a9ea5d4afa83dc9d9c3a8" - name = "google.golang.org/appengine" - packages = [ - ".", - "internal", - "internal/app_identity", - "internal/base", - "internal/datastore", - "internal/log", - "internal/modules", - "internal/remote_api", - "internal/urlfetch", - "urlfetch", - ] - pruneopts = "UT" - revision = "ae0ab99deb4dc413a2b4bd6c8bdd0eb67f1e4d06" - version = "v1.2.0" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "golang.org/x/net/html", - "golang.org/x/oauth2/google", - "golang.org/x/sync/errgroup", - "google.golang.org/api/dns/v1", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 85ac82f..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,46 +0,0 @@ -# Gopkg.toml example -# -# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html -# for detailed Gopkg.toml documentation. -# -# required = ["github.com/user/thing/cmd/thing"] -# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] -# -# [[constraint]] -# name = "github.com/user/project" -# version = "1.0.0" -# -# [[constraint]] -# name = "github.com/user/project2" -# branch = "dev" -# source = "github.com/myfork/project2" -# -# [[override]] -# name = "github.com/x/y" -# version = "2.4.0" -# -# [prune] -# non-go = false -# go-tests = true -# unused-packages = true - - -[[constraint]] - branch = "master" - name = "golang.org/x/net" - -[[constraint]] - branch = "master" - name = "golang.org/x/oauth2" - -[[constraint]] - branch = "master" - name = "golang.org/x/sync" - -[[constraint]] - branch = "master" - name = "google.golang.org/api" - -[prune] - go-tests = true - unused-packages = true diff --git a/README.md b/README.md index 12eeba4..53a0b26 100644 --- a/README.md +++ b/README.md @@ -2,24 +2,26 @@ This project contains a simple [Dynamic DNS](https://en.wikipedia.org/wiki/Dynamic_DNS) client that can be used with cloud services. It simply gets your current IP address and sets it to DNS records in backing DNS services. It will do it's best to make sure that the DNS record is always there and set to the desired value, even if something or someone updates or deletes it. It is intended to be used where public internet IPs are assigned dynamically, such as home networks. -Currently cloud-dyndns-client only supports Google Cloud Platform. It is planned to add other DNS APIs as backends. +Currently godyn only supports Google Cloud Platform. + +Forked from https://github.com/ianlewis/cloud-dyndns-client ## Prerequisites -cloud-dyndns-client requires **Go 1.8**. +godyn requires **Go 1.8**. ## Install > You can install Go by following [these instructions](https://golang.org/doc/install). -`cloud-dyndns-client` is written in Go, so if you have Go installed you can install it with -`go get`: +`godyn` is written in Go, so if you have Go installed you can install it with +`go install`: ``` -go get github.com/ianlewis/cloud-dyndns-client/cmd/cloud-dyndns-client +go install git.narnian.us/lordwelch/godyn@latest ``` -This will download the code, compile it, and leave an `cloud-dyndns-client` binary +This will download the code, compile it, and leave an `godyn` binary in `$GOPATH/bin`. ## Usage @@ -91,11 +93,3 @@ kubectl create secret generic cloud-dyndns-client-service-account --from-file=se ``` kubectl apply -f kubernetes/deploy.yaml ``` - -## Contributing - -Please read [CONTRIBUTING.md](CONTRIBUTING.md). - -## Disclaimers - -This is not an official Google product