Skip to content

Commit c42f51e

Browse files
committed
Change domain to atomvm.org
Find and replace all occurrences of the old domain. Also, use test.atomvm.org for tests. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent e6d69b5 commit c42f51e

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

.github/workflows/build-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
55
#
66
# This is a workflow for atomvm/AtomVM to Publish API documentation and other content from the `doc` directory to
7-
# atomvm.net hosted on GitHub Pages
7+
# doc.atomvm.org hosted on GitHub Pages
88

99
name: Build Docs
1010

.github/workflows/publish-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
55
#
66
# This is a workflow for atomvm/AtomVM to Publish API documentation and other content from the `doc` directory to
7-
# atomvm.net hosted on GitHub Pages
7+
# doc.atomvm.org hosted on GitHub Pages
88

99
name: Publish Docs
1010

README.Md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ Getting Started
2828
===============
2929
There is much more information, including a more complete
3030
["Getting Started Guide"](https://doc.atomvm.org/release-0.6/getting-started-guide.html),
31-
[examples](https://www.atomvm.net/sample-code),
31+
[examples](https://atomvm.org/sample-code),
3232
detailed [build instructions](https://doc.atomvm.org/release-0.6/build-instructions.html),
33-
and [contact information](https://www.atomvm.net/contact) available on the
34-
[AtomVM](https://atomvm.net) project website.
33+
and [contact information](https://atomvm.org/contact) available on the
34+
[AtomVM](https://atomvm.org) project website.
3535

3636
>Don't forget to check out the [examples repository](https://github.com/atomvm/atomvm_examples) to
3737
>help get you started on your next IoT project.

doc/release-notes.md.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2023 AtomVM <atomvm.net>
2+
Copyright 2023 AtomVM <atomvm.org>
33

44
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
55
-->

doc/src/programmers-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ Currently, the `net:getaddrinfo/1,2` functions only supports reporting of IPv4 a
23292329
For example:
23302330

23312331
```erlang
2332-
{ok, AddrInfos} = net:getaddrinfo("www.atomvm.net"),
2332+
{ok, AddrInfos} = net:getaddrinfo("atomvm.org"),
23332333

23342334
lists:foreach(
23352335
fun(AddrInfo) ->
@@ -2368,7 +2368,7 @@ with OTP 22 ff., AtomVM supports both the `address` and `addr` keys in this map
23682368
If you want to narrow the information you get back to a specific service type, you can specify a service name or port number (as a string value) as the second parameter:
23692369

23702370
```erlang
2371-
{ok, AddrInfos} = net:getaddrinfo("www.atomvm.net", "https"),
2371+
{ok, AddrInfos} = net:getaddrinfo("atomvm.org", "https"),
23722372
...
23732373
```
23742374

examples/erlang/http_client.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
start() ->
2727
ssl:start(),
28-
ConnectResult = ahttp_client:connect(https, "atomvm.net", 443, [
28+
ConnectResult = ahttp_client:connect(https, "test.atomvm.org", 443, [
2929
{active, ?ACTIVE}, {verify, verify_none}, {parse_headers, [<<"Location">>]}
3030
]),
3131
case ConnectResult of

src/platforms/esp32/test/main/test_erl_sources/test_ssl.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ start() ->
5050
ok = send_loop(
5151
SSLContext,
5252
Socket,
53-
<<"GET / HTTP/1.1\r\nHost: atomvm.net\r\nUser-Agent: AtomVM within qemu\r\n\r\n">>
53+
<<"GET / HTTP/1.1\r\nHost: test.atomvm.org\r\nUser-Agent: AtomVM within qemu\r\n\r\n">>
5454
),
5555
% Read
5656
{ok, <<"HTTP/1.1">>} = recv_loop(SSLContext, Socket, 8, []),

tests/libs/eavmlib/test_ahttp_client.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test() ->
2727

2828
test_passive() ->
2929
ok = ssl:start(),
30-
ConnectResult = ahttp_client:connect(https, "www.atomvm.net", 443, [
30+
ConnectResult = ahttp_client:connect(https, "test.atomvm.org", 443, [
3131
{active, false}, {verify, verify_none}, {parse_headers, [<<"Location">>]}
3232
]),
3333
case ConnectResult of
@@ -47,7 +47,7 @@ test_passive() ->
4747
ok.
4848

4949
test_active() ->
50-
ConnectResult = ahttp_client:connect(http, "www.atomvm.net", 80, [{active, true}]),
50+
ConnectResult = ahttp_client:connect(http, "test.atomvm.org", 80, [{active, true}]),
5151
case ConnectResult of
5252
{ok, Conn} ->
5353
case ahttp_client:request(Conn, <<"GET">>, <<"/">>, [], undefined) of

tests/libs/estdlib/test_net.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test() ->
2828
ok.
2929

3030
test_getaddrinfo() ->
31-
ok = test_getaddrinfo("www.atomvm.net"),
31+
ok = test_getaddrinfo("test.atomvm.org"),
3232
ok.
3333

3434
test_getaddrinfo(Host) ->
@@ -69,8 +69,8 @@ test_getaddrinfo(Host) ->
6969
ok.
7070

7171
test_getaddrinfo2() ->
72-
ok = test_getaddrinfo2("www.atomvm.net", "https"),
73-
ok = test_getaddrinfo2("www.atomvm.net", "443"),
72+
ok = test_getaddrinfo2("test.atomvm.org", "https"),
73+
ok = test_getaddrinfo2("test.atomvm.org", "443"),
7474
ok = test_getaddrinfo2(undefined, "443"),
7575
ok.
7676

tests/libs/estdlib/test_ssl.erl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,32 @@ test_start_twice() ->
6161
ok = ssl:start().
6262

6363
test_connect_close() ->
64-
{ok, SSLSocket} = ssl:connect("www.atomvm.net", 443, [{verify, verify_none}, {active, false}]),
64+
{ok, SSLSocket} = ssl:connect("test.atomvm.org", 443, [{verify, verify_none}, {active, false}]),
6565
ok = ssl:close(SSLSocket).
6666

6767
test_connect_error() ->
68-
{error, _Error} = ssl:connect("www.atomvm.net", 80, [{verify, verify_none}, {active, false}]),
68+
{error, _Error} = ssl:connect("test.atomvm.org", 80, [{verify, verify_none}, {active, false}]),
6969
ok.
7070

7171
test_send_recv() ->
72-
{ok, SSLSocket} = ssl:connect("www.atomvm.net", 443, [
72+
{ok, SSLSocket} = ssl:connect("test.atomvm.org", 443, [
7373
{verify, verify_none}, {active, false}, {binary, true}
7474
]),
7575
UserAgent = erlang:system_info(machine),
7676
ok = ssl:send(SSLSocket, [
77-
<<"GET / HTTP/1.1\r\nHost: www.atomvm.net\r\nUser-Agent: ">>, UserAgent, <<"\r\n\r\n">>
77+
<<"GET / HTTP/1.1\r\nHost: test.atomvm.org\r\nUser-Agent: ">>, UserAgent, <<"\r\n\r\n">>
7878
]),
7979
{ok, <<"HTTP/1.1 200 OK">>} = ssl:recv(SSLSocket, 15),
8080
ok = ssl:close(SSLSocket),
8181
ok.
8282

8383
test_send_recv_zero() ->
84-
{ok, SSLSocket} = ssl:connect("www.atomvm.net", 443, [
84+
{ok, SSLSocket} = ssl:connect("test.atomvm.org", 443, [
8585
{verify, verify_none}, {active, false}, {binary, true}
8686
]),
8787
UserAgent = erlang:system_info(machine),
8888
ok = ssl:send(SSLSocket, [
89-
<<"GET / HTTP/1.1\r\nHost: www.atomvm.net\r\nUser-Agent: ">>, UserAgent, <<"\r\n\r\n">>
89+
<<"GET / HTTP/1.1\r\nHost: test.atomvm.org\r\nUser-Agent: ">>, UserAgent, <<"\r\n\r\n">>
9090
]),
9191
{ok, <<"HTTP/1.1 200 OK", _/binary>>} = ssl:recv(SSLSocket, 0),
9292
ok = ssl:close(SSLSocket),

0 commit comments

Comments
 (0)