From d8b68648d10ec96d59883750885f7c7d694c180f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 2 Aug 2018 19:13:02 -0400 Subject: [PATCH] Update repo links to denoland. --- .gitmodules | 2 +- .travis.yml | 2 +- README.md | 14 +++++++------- Roadmap.md | 6 +++--- build_extra/rust/rust.gni | 2 +- src/deno_dir.rs | 26 +++++++++++++------------- src/handlers.rs | 4 ++-- 7 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.gitmodules b/.gitmodules index 82935121a8..fd6e074e6d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "third_party"] path = third_party - url = https://github.com/ry/deno_third_party.git + url = https://github.com/denoland/deno_third_party.git diff --git a/.travis.yml b/.travis.yml index 1b85c522e6..0c8966628e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ env: - DENO_BUILD_MODE=debug before_install: | # Install Rust. - # TODO(ry) Include rustc in third_party https://github.com/ry/deno/issues/386 + # TODO(ry) Include rustc in third_party https://github.com/denoland/deno/issues/386 export PATH=$CARGO_PATH/bin:$PATH rustc --version if [ $? != 0 ]; then diff --git a/README.md b/README.md index 1ba233220c..a02aa9b113 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # deno -[![Linux](https://travis-ci.com/ry/deno.svg?branch=master)](https://travis-ci.com/ry/deno) -[![Windows](https://ci.appveyor.com/api/projects/status/cc7nd82n34xo4nym/branch/master?svg=true)](https://ci.appveyor.com/project/ry91293/deno/branch/master) +Linux [![Linux](https://travis-ci.com/denoland/deno.svg?branch=master)](https://travis-ci.com/denoland/deno) +Window [![Windows](https://ci.appveyor.com/api/projects/status/cc7nd82n34xo4nym/branch/master?svg=true)](https://ci.appveyor.com/project/ry91293/deno/branch/master) ## A secure TypeScript runtime built on V8 @@ -24,7 +24,7 @@ code. Defaults to read-only file system access and no network access. Access between V8 (unprivileged) and Golang (privileged) is only done via serialized messages defined in this - [flatbuffer](https://github.com/ry/deno/blob/master/src/msg.fbs). This makes it + [flatbuffer](https://github.com/denoland/deno/blob/master/src/msg.fbs). This makes it easy to audit. To enable write access explicitly use `--allow-write` and `--allow-net` for network access. @@ -54,13 +54,13 @@ Under development. The prototype golang implementation is -[here](https://github.com/ry/deno/tree/golang). We are in the process of +[here](https://github.com/denoland/deno/tree/golang). We are in the process of rewriting in C++/Rust to avoid future GC contention between Go and V8. Progress towards first release is tracked -[here](https://github.com/ry/deno/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22v0.1+%28first+binary+release%29%22+). +[here](https://github.com/denoland/deno/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22v0.1+%28first+binary+release%29%22+). -Roadmap is [here](https://github.com/ry/deno/blob/master/Roadmap.md). +Roadmap is [here](https://github.com/denoland/deno/blob/master/Roadmap.md). Also see [this presentation](http://tinyclouds.org/jsconf2018.pdf). @@ -77,7 +77,7 @@ installed too. To build: # Fetch deps. - git clone --recurse-submodules https://github.com/ry/deno.git + git clone --recurse-submodules https://github.com/denoland/deno.git cd deno ./tools/setup.py diff --git a/Roadmap.md b/Roadmap.md index 69af482e05..e88949895e 100644 --- a/Roadmap.md +++ b/Roadmap.md @@ -33,7 +33,7 @@ function nonblockingpipe(fd) { % deno --list-deps http://gist.com/blah.js http://gist.com/blah.js http://gist.com/dep.js -https://github.com/ry/deno/master/testing.js +https://github.com/denoland/deno/master/testing.js % ``` @@ -158,7 +158,7 @@ infrastructure. The current implementation is out of sync with this document: -https://github.com/ry/deno/blob/master/js/deno.d.ts +https://github.com/denoland/deno/blob/master/js/deno.d.ts #### L1 Examples @@ -176,7 +176,7 @@ function main() { ### L2 -https://github.com/ry/deno/blob/master/msg.proto +https://github.com/denoland/deno/blob/master/msg.proto ### L3 diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni index 88f80904f5..1a353bfa0d 100644 --- a/build_extra/rust/rust.gni +++ b/build_extra/rust/rust.gni @@ -64,7 +64,7 @@ template("run_rustc") { script = "//tools/run_rustc.py" # TODO: We want to apply "-Dwarnings" only when treat_warnings_as_errors is not false - # https://github.com/ry/deno/pull/379 + # https://github.com/denoland/deno/pull/379 args = [ rebase_path(source_root, root_build_dir), "--crate-name=$crate_name", diff --git a/src/deno_dir.rs b/src/deno_dir.rs index ba25c1d8ed..b3a4c029b0 100644 --- a/src/deno_dir.rs +++ b/src/deno_dir.rs @@ -29,7 +29,7 @@ pub struct DenoDir { impl DenoDir { // Must be called before using any function from this module. - // https://github.com/ry/deno/blob/golang/deno_dir.go#L99-L111 + // https://github.com/denoland/deno/blob/golang/deno_dir.go#L99-L111 pub fn new(custom_root: Option<&Path>) -> std::io::Result { // Only setup once. let home_dir = std::env::home_dir().expect("Could not get home directory."); @@ -53,7 +53,7 @@ impl DenoDir { Ok(deno_dir) } - // https://github.com/ry/deno/blob/golang/deno_dir.go#L32-L35 + // https://github.com/denoland/deno/blob/golang/deno_dir.go#L32-L35 pub fn cache_path( self: &DenoDir, filename: &str, @@ -135,7 +135,7 @@ impl DenoDir { } } - // Prototype: https://github.com/ry/deno/blob/golang/os.go#L56-L68 + // Prototype: https://github.com/denoland/deno/blob/golang/os.go#L56-L68 #[allow(dead_code)] fn src_file_to_url>(self: &DenoDir, filename: P) -> String { let filename = filename.as_ref().to_path_buf(); @@ -147,7 +147,7 @@ impl DenoDir { } } - // Prototype: https://github.com/ry/deno/blob/golang/os.go#L70-L98 + // Prototype: https://github.com/denoland/deno/blob/golang/os.go#L70-L98 // Returns (module name, local filename) fn resolve_module( self: &DenoDir, @@ -238,7 +238,7 @@ fn test_code_cache() { assert_eq!(output_code, fs::read_file_sync(&cache_path).unwrap()); } -// https://github.com/ry/deno/blob/golang/deno_dir.go#L25-L30 +// https://github.com/denoland/deno/blob/golang/deno_dir.go#L25-L30 fn source_code_hash(filename: &str, source_code: &str) -> String { let mut m = sha1::Sha1::new(); m.update(filename.as_bytes()); @@ -309,7 +309,7 @@ fn test_src_file_to_url() { assert_eq!("http://hello/world.txt", deno_dir.src_file_to_url(x)); } -// https://github.com/ry/deno/blob/golang/os_test.go#L16-L87 +// https://github.com/denoland/deno/blob/golang/os_test.go#L16-L87 #[test] fn test_resolve_module() { let (_temp_dir, deno_dir) = test_setup(); @@ -318,20 +318,20 @@ fn test_resolve_module() { ( "./subdir/print_hello.ts", add_root!( - "/Users/rld/go/src/github.com/ry/deno/testdata/006_url_imports.ts" + "/Users/rld/go/src/github.com/denoland/deno/testdata/006_url_imports.ts" ), add_root!( - "/Users/rld/go/src/github.com/ry/deno/testdata/subdir/print_hello.ts" + "/Users/rld/go/src/github.com/denoland/deno/testdata/subdir/print_hello.ts" ), add_root!( - "/Users/rld/go/src/github.com/ry/deno/testdata/subdir/print_hello.ts" + "/Users/rld/go/src/github.com/denoland/deno/testdata/subdir/print_hello.ts" ), ), ( "testdata/001_hello.js", - add_root!("/Users/rld/go/src/github.com/ry/deno/"), - add_root!("/Users/rld/go/src/github.com/ry/deno/testdata/001_hello.js"), - add_root!("/Users/rld/go/src/github.com/ry/deno/testdata/001_hello.js"), + add_root!("/Users/rld/go/src/github.com/denoland/deno/"), + add_root!("/Users/rld/go/src/github.com/denoland/deno/testdata/001_hello.js"), + add_root!("/Users/rld/go/src/github.com/denoland/deno/testdata/001_hello.js"), ), ( add_root!("/Users/rld/src/deno/hello.js"), @@ -348,7 +348,7 @@ fn test_resolve_module() { /* ( "http://localhost:4545/testdata/subdir/print_hello.ts", - add_root!("/Users/rld/go/src/github.com/ry/deno/testdata/006_url_imports.ts"), + add_root!("/Users/rld/go/src/github.com/denoland/deno/testdata/006_url_imports.ts"), "http://localhost:4545/testdata/subdir/print_hello.ts", path.Join(SrcDir, "localhost:4545/testdata/subdir/print_hello.ts"), ), diff --git a/src/handlers.rs b/src/handlers.rs index 4cb3afd5bf..517e146a14 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -59,7 +59,7 @@ fn set_response_base( unsafe { deno_set_response(d, buf) } } -// https://github.com/ry/deno/blob/golang/os.go#L100-L154 +// https://github.com/denoland/deno/blob/golang/os.go#L100-L154 #[no_mangle] pub extern "C" fn handle_code_fetch( d: *const DenoC, @@ -110,7 +110,7 @@ pub extern "C" fn handle_code_fetch( set_response_base(d, &mut builder, &args) } -// https://github.com/ry/deno/blob/golang/os.go#L156-L169 +// https://github.com/denoland/deno/blob/golang/os.go#L156-L169 #[no_mangle] pub extern "C" fn handle_code_cache( d: *const DenoC,