From 4ddbfcf0aae484babab1fda6dc5121d0ef8c81db Mon Sep 17 00:00:00 2001 From: Takuya Sawada Date: Wed, 1 Apr 2015 22:02:05 +0900 Subject: [PATCH 1/4] [add] .editorconfig file to unity editor configurations --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d967220 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailling_whitespace = true +charset = utf-8 + +[r53update] +indent_style = tab +indent_size = 2 From 052a213ae256aea58621831a79dbbfd661b44ae7 Mon Sep 17 00:00:00 2001 From: Takuya Sawada Date: Wed, 1 Apr 2015 22:02:34 +0900 Subject: [PATCH 2/4] [mod] remove vim modeline --- r53update | 2 -- 1 file changed, 2 deletions(-) diff --git a/r53update b/r53update index 37c86bb..8f4ec84 100755 --- a/r53update +++ b/r53update @@ -335,5 +335,3 @@ if __name__ == '__main__': except Exception, e: print >>sys.stderr, "%s" % e sys.exit(1) - -# vim: set nu ts=2 autoindent : # From 4205bb2c446f0787b9e33f8e1933e5e817c31736 Mon Sep 17 00:00:00 2001 From: Takuya Sawada Date: Sun, 5 Apr 2015 13:33:59 +0900 Subject: [PATCH 3/4] [add] add README.md file --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..eed7c52 --- /dev/null +++ b/README.md @@ -0,0 +1,57 @@ +# R53Update command line utility + +R53Update is a command line utility for Amazon Route 53 which is one of the AWS (Amazon Web Services). This tools is useful to anyone who wants to operate server with dynamic IP. You can operate not only the server which is hosted on Amazon EC2 but also on-premise servers. + + +[![GitHub version](https://badge.fury.io/gh/eternalharvest%2Fr53update.svg)]() [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)]() + + +## Requirements + +* Internet connection (with global IP) +* pre-configured Amazon Route53 hosted zone +* python2.6+ and pip command + +To create Amazon Route 53 hosted zone, please refer to the following url. +http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingHostedZone.html + +To install python and pip command, +```bash +sudo apt-get install python{,-pip} build-essentials +``` + +or +```bash +sudo yum -y groupinstall "Development Tools" +sudo yum -y install python{,-pip} +``` + + +## Install + +```bash +git clone https://github.com/eternalharvest/r53update && cd r53update +sudo pip install -r requirements.txt +sudo cp r53update /usr/local/bin +``` + +## Usage + +```bash +r53update www example.com +``` + +## License +(C)2015 Takuya Sawada. + +R53Update is licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. From 65bd39aa1f503bb9bbc738fcd882456da059ba32 Mon Sep 17 00:00:00 2001 From: Takuya Sawada Date: Sun, 5 Apr 2015 13:38:05 +0900 Subject: [PATCH 4/4] [mod] change version number to 'v0.5.0' --- bash_completion.d/r53update | 2 +- r53update | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_completion.d/r53update b/bash_completion.d/r53update index f6f078f..37ab6d4 100644 --- a/bash_completion.d/r53update +++ b/bash_completion.d/r53update @@ -1,6 +1,6 @@ #!/usr/bin/bash # -# R53Update Dynamic DNS Updater v0.4.2 +# R53Update Dynamic DNS Updater v0.5.0 # (C)2014 Takuya Sawada All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/r53update b/r53update index 8f4ec84..1668420 100755 --- a/r53update +++ b/r53update @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# R53Update Dynamic DNS Updater v0.4.2 +# R53Update Dynamic DNS Updater v0.5.0 # (C)2014 Takuya Sawada All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -326,7 +326,7 @@ class R53UpdateApp(App): def show_version(self): print >>sys.stderr, "Copyrights (c)2014 Takuya Sawada All rights reserved." - print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.4.2" + print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.5.0" if __name__ == '__main__':