Skip to content

Commit

Permalink
Update repo links to denoland.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Aug 3, 2018
1 parent 3e5e072 commit d8b6864
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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](https://tinyclouds.org/jsconf2018.pdf).


Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions Roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function nonblockingpipe(fd) {
% deno --list-deps https://gist.com/blah.js
https://gist.com/blah.js
https://gist.com/dep.js
https://github.com/ry/deno/master/testing.js
https://github.com/denoland/deno/master/testing.js
%
```

Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build_extra/rust/rust.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
26 changes: 13 additions & 13 deletions src/deno_dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DenoDir> {
// Only setup once.
let home_dir = std::env::home_dir().expect("Could not get home directory.");
Expand All @@ -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,
Expand Down Expand Up @@ -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<P: AsRef<Path>>(self: &DenoDir, filename: P) -> String {
let filename = filename.as_ref().to_path_buf();
Expand All @@ -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,
Expand Down Expand Up @@ -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());
Expand Down Expand Up @@ -309,7 +309,7 @@ fn test_src_file_to_url() {
assert_eq!("https://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();
Expand All @@ -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"),
Expand All @@ -348,7 +348,7 @@ fn test_resolve_module() {
/*
(
"https://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"),
"https://localhost:4545/testdata/subdir/print_hello.ts",
path.Join(SrcDir, "localhost:4545/testdata/subdir/print_hello.ts"),
),
Expand Down
4 changes: 2 additions & 2 deletions src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit d8b6864

Please sign in to comment.