mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Update repo links to denoland.
This commit is contained in:
parent
3e5e07289e
commit
d8b68648d1
7 changed files with 28 additions and 28 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
14
README.md
14
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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.");
|
||||
|
@ -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<P: AsRef<Path>>(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"),
|
||||
),
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue