From 11b6fe212ff33c1b2378997411cb11524d73a81c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 2 Mar 2015 12:05:42 +0100 Subject: [PATCH] fix(rename): mv youtube-rs to google-apis-rs --- Cargo.toml | 6 ++++-- README.md | 8 ++++++++ etc/api/shared.yaml | 6 +++--- ...-rs.sublime-project => google-apis-rs.sublime-project} | 0 src/mako/cargo.toml.mako | 5 +++-- 5 files changed, 18 insertions(+), 7 deletions(-) rename etc/sublime-text/{youtube-rs.sublime-project => google-apis-rs.sublime-project} (100%) diff --git a/Cargo.toml b/Cargo.toml index 6344f34991..7db980c3d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,14 @@ +# DO NOT PUBLISH +# This library is just to try out the code that should ultimately go into the code generator ! [package] name = "youtube3-dev" version = "0.0.1" authors = ["Sebastian Thiel "] description = "A library to facilitate interacting with your youtube account" -repository = "https://github.com/Byron/youtube-rs" +repository = "https://github.com/Byron/google-apis-rs" license = "MIT" -keywords = ["youtube", "google", "protocol"] +keywords = ["youtube", "google", "protocol", "not-for-use"] [dependencies] # Just to get hyper to work ! diff --git a/README.md b/README.md index 42159cb395..d33d744a29 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +# TODO + +* Adjust readme to reflect what this project actually is. + +# Old youtube-specific readme + +*The following is the previous youtube-specific writing, will have to think about how and if that should be integrated into the generated documentation.* + *Youtube* is a library written in Rust to help interacting with your youtube account. For now, all functionality is geared towards allowing interruptible video uploads and adjustments of video meta-data. diff --git a/etc/api/shared.yaml b/etc/api/shared.yaml index 808850b988..e47e9c65fb 100644 --- a/etc/api/shared.yaml +++ b/etc/api/shared.yaml @@ -19,10 +19,10 @@ api: # output_dir: optional - not there if unset cargo: build_version: "0.0.1" - repo_base_url: https://github.com/Byron/youtube-rs - doc_base_url: http://byron.github.io/youtube-rs + repo_base_url: https://github.com/Byron/google-apis-rs + doc_base_url: http://byron.github.io/google-apis-rs authors: - Sebastian Thiel keywords: [google, protocol, web, api] # All APIs should live in the same repository - repository_url: https://github.com/Byron/youtube-rs + repository_url: https://github.com/Byron/google-apis-rs diff --git a/etc/sublime-text/youtube-rs.sublime-project b/etc/sublime-text/google-apis-rs.sublime-project similarity index 100% rename from etc/sublime-text/youtube-rs.sublime-project rename to etc/sublime-text/google-apis-rs.sublime-project diff --git a/src/mako/cargo.toml.mako b/src/mako/cargo.toml.mako index 5f5977864d..0e0f11587f 100644 --- a/src/mako/cargo.toml.mako +++ b/src/mako/cargo.toml.mako @@ -1,12 +1,13 @@ +<%! import util %>\ # DO NOT EDIT ! # This file was generated automatically by '${self.uri}' # DO NOT EDIT ! [package] -name = "${name}${version[1:]}" +name = "${name}${util.to_api_version(version)}" version = "${cargo.build_version}" authors = [${",\n ".join('"%s"' % a for a in cargo.authors)}] -description = "A library to interact with ${canonicalName} (protocol ${version})" +description = "A complete library to interact with ${canonicalName} (protocol ${version})" repository = "${cargo.repo_base_url}/${OUTPUT_DIR}" homepage = "${documentationLink}" documentation = "${cargo.doc_base_url}"