1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00

Update repo links to denoland.

This commit is contained in:
Ryan Dahl 2018-08-02 19:13:02 -04:00
parent 3e5e07289e
commit d8b68648d1
7 changed files with 28 additions and 28 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "third_party"] [submodule "third_party"]
path = third_party path = third_party
url = https://github.com/ry/deno_third_party.git url = https://github.com/denoland/deno_third_party.git

View file

@ -21,7 +21,7 @@ env:
- DENO_BUILD_MODE=debug - DENO_BUILD_MODE=debug
before_install: | before_install: |
# Install Rust. # 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 export PATH=$CARGO_PATH/bin:$PATH
rustc --version rustc --version
if [ $? != 0 ]; then if [ $? != 0 ]; then

View file

@ -1,7 +1,7 @@
# deno # deno
[![Linux](https://travis-ci.com/ry/deno.svg?branch=master)](https://travis-ci.com/ry/deno) Linux [![Linux](https://travis-ci.com/denoland/deno.svg?branch=master)](https://travis-ci.com/denoland/deno)
[![Windows](https://ci.appveyor.com/api/projects/status/cc7nd82n34xo4nym/branch/master?svg=true)](https://ci.appveyor.com/project/ry91293/deno/branch/master) 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 ## A secure TypeScript runtime built on V8
@ -24,7 +24,7 @@
code. Defaults to read-only file system access and no network access. code. Defaults to read-only file system access and no network access.
Access between V8 (unprivileged) and Golang (privileged) is only done via Access between V8 (unprivileged) and Golang (privileged) is only done via
serialized messages defined in this 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. easy to audit.
To enable write access explicitly use `--allow-write` and `--allow-net` for To enable write access explicitly use `--allow-write` and `--allow-net` for
network access. network access.
@ -54,13 +54,13 @@
Under development. Under development.
The prototype golang implementation is 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. rewriting in C++/Rust to avoid future GC contention between Go and V8.
Progress towards first release is tracked 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). Also see [this presentation](http://tinyclouds.org/jsconf2018.pdf).
@ -77,7 +77,7 @@ installed too.
To build: To build:
# Fetch deps. # Fetch deps.
git clone --recurse-submodules https://github.com/ry/deno.git git clone --recurse-submodules https://github.com/denoland/deno.git
cd deno cd deno
./tools/setup.py ./tools/setup.py

View file

@ -33,7 +33,7 @@ function nonblockingpipe(fd) {
% deno --list-deps http://gist.com/blah.js % deno --list-deps http://gist.com/blah.js
http://gist.com/blah.js http://gist.com/blah.js
http://gist.com/dep.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: 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 #### L1 Examples
@ -176,7 +176,7 @@ function main() {
### L2 ### L2
https://github.com/ry/deno/blob/master/msg.proto https://github.com/denoland/deno/blob/master/msg.proto
### L3 ### L3

View file

@ -64,7 +64,7 @@ template("run_rustc") {
script = "//tools/run_rustc.py" script = "//tools/run_rustc.py"
# TODO: We want to apply "-Dwarnings" only when treat_warnings_as_errors is not false # 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 = [ args = [
rebase_path(source_root, root_build_dir), rebase_path(source_root, root_build_dir),
"--crate-name=$crate_name", "--crate-name=$crate_name",

View file

@ -29,7 +29,7 @@ pub struct DenoDir {
impl DenoDir { impl DenoDir {
// Must be called before using any function from this module. // 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> { pub fn new(custom_root: Option<&Path>) -> std::io::Result<DenoDir> {
// Only setup once. // Only setup once.
let home_dir = std::env::home_dir().expect("Could not get home directory."); let home_dir = std::env::home_dir().expect("Could not get home directory.");
@ -53,7 +53,7 @@ impl DenoDir {
Ok(deno_dir) 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( pub fn cache_path(
self: &DenoDir, self: &DenoDir,
filename: &str, 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)] #[allow(dead_code)]
fn src_file_to_url<P: AsRef<Path>>(self: &DenoDir, filename: P) -> String { fn src_file_to_url<P: AsRef<Path>>(self: &DenoDir, filename: P) -> String {
let filename = filename.as_ref().to_path_buf(); 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) // Returns (module name, local filename)
fn resolve_module( fn resolve_module(
self: &DenoDir, self: &DenoDir,
@ -238,7 +238,7 @@ fn test_code_cache() {
assert_eq!(output_code, fs::read_file_sync(&cache_path).unwrap()); 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 { fn source_code_hash(filename: &str, source_code: &str) -> String {
let mut m = sha1::Sha1::new(); let mut m = sha1::Sha1::new();
m.update(filename.as_bytes()); 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)); 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] #[test]
fn test_resolve_module() { fn test_resolve_module() {
let (_temp_dir, deno_dir) = test_setup(); let (_temp_dir, deno_dir) = test_setup();
@ -318,20 +318,20 @@ fn test_resolve_module() {
( (
"./subdir/print_hello.ts", "./subdir/print_hello.ts",
add_root!( 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!( 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!( 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", "testdata/001_hello.js",
add_root!("/Users/rld/go/src/github.com/ry/deno/"), add_root!("/Users/rld/go/src/github.com/denoland/deno/"),
add_root!("/Users/rld/go/src/github.com/ry/deno/testdata/001_hello.js"), add_root!("/Users/rld/go/src/github.com/denoland/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/testdata/001_hello.js"),
), ),
( (
add_root!("/Users/rld/src/deno/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", "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", "http://localhost:4545/testdata/subdir/print_hello.ts",
path.Join(SrcDir, "localhost:4545/testdata/subdir/print_hello.ts"), path.Join(SrcDir, "localhost:4545/testdata/subdir/print_hello.ts"),
), ),

View file

@ -59,7 +59,7 @@ fn set_response_base(
unsafe { deno_set_response(d, buf) } 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] #[no_mangle]
pub extern "C" fn handle_code_fetch( pub extern "C" fn handle_code_fetch(
d: *const DenoC, d: *const DenoC,
@ -110,7 +110,7 @@ pub extern "C" fn handle_code_fetch(
set_response_base(d, &mut builder, &args) 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] #[no_mangle]
pub extern "C" fn handle_code_cache( pub extern "C" fn handle_code_cache(
d: *const DenoC, d: *const DenoC,