Skip to content

Commit 157808b

Browse files
committed
rename zos4 to zoslight
Signed-off-by: Ashraf Fouda <[email protected]>
1 parent 8701df0 commit 157808b

File tree

209 files changed

+596
-555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+596
-555
lines changed

.github/workflows/publish-bootstrap.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
user: tf-autobuilder
4949
token: ${{ secrets.HUB_JWT }}
5050
name: ${{ steps.setname.outputs.build }}
51-
target: bootstrap-v4:development.flist
51+
target: bootstrap-v3light:development.flist
5252
- name: Symlink flist (release)
5353
if: success() && github.ref == 'refs/heads/main'
5454
uses: threefoldtech/publish-flist@master
@@ -57,4 +57,4 @@ jobs:
5757
user: tf-autobuilder
5858
token: ${{ secrets.HUB_JWT }}
5959
name: ${{ steps.setname.outputs.build }}
60-
target: bootstrap-v4:latest.flist
60+
target: bootstrap-v3light:latest.flist

.github/workflows/publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ jobs:
9090
token: ${{ secrets.HUB_JWT }}
9191
action: crosstag
9292
user: tf-zos
93-
name: development-v4
93+
name: development-v3light
9494
target: tf-autobuilder/${{ steps.tag.outputs.reference }}

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ productivity and inter-personal interactions.
2020
In order to contribute a feature you'll need to go through the following steps:
2121

2222
- Create a Github issue to explain the feature you want to create. A member of the core team will engage with
23-
you and together you will decide if the feature could be accepted and what is the best approach to take to implement it.
23+
you and together you will decide if the feature could be accepted and what is the best approach to take to implement it.
2424

2525
- Once the general idea has been accepted, create a draft PR that contains a design document. The design document should explain how the feature is going to be implemented, eventually a test plan and any technical information that could be interesting for other team member to know.
2626

@@ -29,7 +29,7 @@ you and together you will decide if the feature could be accepted and what is th
2929
- Submit PRs with documentation for your feature, including usage examples when possible
3030

3131
> Note that we prefer bite-sized PRs instead of giant monster PRs. It's therefore preferable if you
32-
can introduce large features in smaller reviewable changes that build on top of one another.
32+
> can introduce large features in smaller reviewable changes that build on top of one another.
3333
3434
If you would like to skip the process of submitting an issue and
3535
instead would prefer to just submit a pull request with your desired
@@ -40,8 +40,8 @@ exact code change can help focus discussions, so the choice is up to you.
4040

4141
## Setting up a development environment
4242

43-
Check out the [documentation](https://github.com/threefoldtech/zos4/tree/master/docs) learn about the code
44-
base and setting up your [development environment](https://github.com/threefoldtech/zos4/blob/master/qemu/README.md).
43+
Check out the [documentation](https://github.com/threefoldtech/zoslight/tree/master/docs) learn about the code
44+
base and setting up your [development environment](https://github.com/threefoldtech/zoslight/blob/master/qemu/README.md).
4545

4646
## Pull requests
4747

@@ -74,7 +74,7 @@ pull requests.
7474

7575
## Issues
7676

77-
[GitHub issues](https://github.com/threefoldtech/zos4/issues/new) can be used to report bugs or submit feature requests.
77+
[GitHub issues](https://github.com/threefoldtech/zoslight/issues/new) can be used to report bugs or submit feature requests.
7878

7979
When reporting a bug please include the following key pieces of information:
8080

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 0-OS ![Tests](https://github.com/threefoldtech/zos4/workflows/Tests%20and%20Coverage/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/threefoldtech/zos)](https://goreportcard.com/report/github.com/threefoldtech/zos)
1+
# 0-OS ![Tests](https://github.com/threefoldtech/zoslight/workflows/Tests%20and%20Coverage/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/threefoldtech/zos)](https://goreportcard.com/report/github.com/threefoldtech/zos)
22

33
0-OS is an autonomous operating system design to expose raw compute, storage and network capacity.
44

@@ -40,5 +40,6 @@ source, and once this reservation is available, the node will actually apply it
4040
## Community
4141

4242
If you have some questions or just want to hang out, you can find us on:
43+
4344
- telegram: https://t.me/zero_os_tech
4445
- Matrix: #zero-os:matrix.org

VALUES.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,26 @@ We want to make sure every member has a shared understanding of the goals and
44
values we hold as a team:
55

66
- Optimize for the **overall project**, not your own area or feature
7+
78
- A shortcut for one individual can mean a lot of extra work or disruption for
89
the rest of the team.
910

1011
- Our repos (at least the master branch) should always be in release shape: **Always Green**
12+
1113
- This lets us move faster in the mid and long term
1214
- This implies investments in build/test infrastructure to have fast, reliable
1315
tests to ensure that we can release at any time.
1416
- Extra discipline may require more work by individuals to keep the build in
1517
good state, but less work overall for the team.
1618

1719
- Be **specific**, **respectful** and **courteous**
20+
1821
- Disagreements are expected, but don't use broad
1922
generalizations, exaggerations, or judgement words that can be taken
2023
personally. Consider other people’s perspectives. Empathize with our users. Focus on the specific
2124
issue at hand, and remember that we all care about the project, first and
2225
foremost.
23-
- [GitHub issues](https://github.com/threefoldtech/zos4/issues/new),
26+
- [GitHub issues](https://github.com/threefoldtech/zoslight/issues/new),
2427
document comments, or meetings are often better and higher bandwidth ways to
2528
communicate complex and nuanced design issues, as opposed to protracted
2629
heated live chats.
@@ -29,6 +32,7 @@ values we hold as a team:
2932
communication, please define the terms you are using in context.
3033

3134
- Raising issues is great, suggesting solutions is even better
35+
3236
- Think of a proposed alternative and improvement rather than just what you
3337
perceive as wrong.
3438
- If you have no immediate solution even after thinking about it - if

client/_http/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/lestrrat-go/jwx/jwt"
1414
"github.com/pkg/errors"
1515
"github.com/rs/zerolog/log"
16-
zoscrypt "github.com/threefoldtech/zos4/pkg/crypto"
16+
zoscrypt "github.com/threefoldtech/zoslight/pkg/crypto"
1717
"github.com/yggdrasil-network/yggdrasil-go/src/address"
1818
"github.com/yggdrasil-network/yggdrasil-go/src/crypto"
1919
)

client/_http/node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"path/filepath"
1111

1212
"github.com/pkg/errors"
13-
"github.com/threefoldtech/zos4/pkg/gridtypes"
13+
"github.com/threefoldtech/zoslight/pkg/gridtypes"
1414
)
1515

1616
var (

client/node.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ import (
7777
"net"
7878

7979
"github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go"
80-
"github.com/threefoldtech/zos4/pkg"
81-
"github.com/threefoldtech/zos4/pkg/capacity/dmi"
82-
"github.com/threefoldtech/zos4/pkg/diagnostics"
83-
"github.com/threefoldtech/zos4/pkg/gridtypes"
80+
"github.com/threefoldtech/zoslight/pkg"
81+
"github.com/threefoldtech/zoslight/pkg/capacity/dmi"
82+
"github.com/threefoldtech/zoslight/pkg/diagnostics"
83+
"github.com/threefoldtech/zoslight/pkg/gridtypes"
8484
)
8585

8686
// NodeClient struct

cmds/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ OUT = $(shell realpath -m ../bin)
22
branch = $(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)
33
revision = $(shell git rev-parse HEAD)
44
dirty = $(shell test -n "`git diff --shortstat 2> /dev/null | tail -n1`" && echo "*")
5-
version = github.com/threefoldtech/zos4/pkg/version
5+
version = github.com/threefoldtech/zoslight/pkg/version
66
ldflags = '-w -s -X $(version).Branch=$(branch) -X $(version).Revision=$(revision) -X $(version).Dirty=$(dirty) -extldflags "-static"'
77

88
all: identityd internet zos

cmds/identityd/main.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ import (
88
"time"
99

1010
"github.com/pkg/errors"
11-
"github.com/threefoldtech/zos4/pkg/app"
12-
"github.com/threefoldtech/zos4/pkg/stubs"
13-
"github.com/threefoldtech/zos4/pkg/upgrade"
11+
"github.com/threefoldtech/zoslight/pkg/app"
12+
"github.com/threefoldtech/zoslight/pkg/stubs"
13+
"github.com/threefoldtech/zoslight/pkg/upgrade"
1414

15-
"github.com/threefoldtech/zos4/pkg"
16-
"github.com/threefoldtech/zos4/pkg/environment"
17-
"github.com/threefoldtech/zos4/pkg/identity"
15+
"github.com/threefoldtech/zoslight/pkg"
16+
"github.com/threefoldtech/zoslight/pkg/environment"
17+
"github.com/threefoldtech/zoslight/pkg/identity"
1818

1919
"github.com/rs/zerolog/log"
2020
"github.com/threefoldtech/zbus"
21-
"github.com/threefoldtech/zos4/pkg/utils"
22-
"github.com/threefoldtech/zos4/pkg/version"
21+
"github.com/threefoldtech/zoslight/pkg/utils"
22+
"github.com/threefoldtech/zoslight/pkg/version"
2323
)
2424

2525
const (

cmds/identityd/monitor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"time"
66

77
"github.com/blang/semver"
8-
"github.com/threefoldtech/zos4/pkg"
8+
"github.com/threefoldtech/zoslight/pkg"
99
)
1010

1111
type monitorStream struct {

cmds/identityd/ssh.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
"github.com/cenkalti/backoff"
1313
"github.com/rs/zerolog/log"
14-
"github.com/threefoldtech/zos4/pkg"
15-
"github.com/threefoldtech/zos4/pkg/environment"
16-
"github.com/threefoldtech/zos4/pkg/kernel"
14+
"github.com/threefoldtech/zoslight/pkg"
15+
"github.com/threefoldtech/zoslight/pkg/environment"
16+
"github.com/threefoldtech/zoslight/pkg/kernel"
1717
)
1818

1919
var (

cmds/internet/main.go

+11-11
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ import (
1111
"github.com/rs/zerolog/log"
1212
"github.com/vishvananda/netlink"
1313

14-
"github.com/threefoldtech/zos4/pkg/app"
15-
"github.com/threefoldtech/zos4/pkg/environment"
16-
"github.com/threefoldtech/zos4/pkg/netlight/bootstrap"
17-
"github.com/threefoldtech/zos4/pkg/netlight/bridge"
18-
"github.com/threefoldtech/zos4/pkg/netlight/dhcp"
19-
"github.com/threefoldtech/zos4/pkg/netlight/ifaceutil"
20-
"github.com/threefoldtech/zos4/pkg/netlight/options"
21-
"github.com/threefoldtech/zos4/pkg/netlight/types"
22-
"github.com/threefoldtech/zos4/pkg/zinit"
23-
24-
"github.com/threefoldtech/zos4/pkg/version"
14+
"github.com/threefoldtech/zoslight/pkg/app"
15+
"github.com/threefoldtech/zoslight/pkg/environment"
16+
"github.com/threefoldtech/zoslight/pkg/netlight/bootstrap"
17+
"github.com/threefoldtech/zoslight/pkg/netlight/bridge"
18+
"github.com/threefoldtech/zoslight/pkg/netlight/dhcp"
19+
"github.com/threefoldtech/zoslight/pkg/netlight/ifaceutil"
20+
"github.com/threefoldtech/zoslight/pkg/netlight/options"
21+
"github.com/threefoldtech/zoslight/pkg/netlight/types"
22+
"github.com/threefoldtech/zoslight/pkg/zinit"
23+
24+
"github.com/threefoldtech/zoslight/pkg/version"
2525
)
2626

2727
func main() {

cmds/modules/api_gateway/main.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
substrate "github.com/threefoldtech/tfchain/clients/tfchain-client-go"
1212
"github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go/peer"
1313
"github.com/threefoldtech/zbus"
14-
"github.com/threefoldtech/zos4/pkg/environment"
15-
"github.com/threefoldtech/zos4/pkg/stubs"
16-
substrategw "github.com/threefoldtech/zos4/pkg/substrate_gateway"
17-
"github.com/threefoldtech/zos4/pkg/utils"
18-
zosapi "github.com/threefoldtech/zos4/pkg/zos_api"
14+
"github.com/threefoldtech/zoslight/pkg/environment"
15+
"github.com/threefoldtech/zoslight/pkg/stubs"
16+
substrategw "github.com/threefoldtech/zoslight/pkg/substrate_gateway"
17+
"github.com/threefoldtech/zoslight/pkg/utils"
18+
zosapi "github.com/threefoldtech/zoslight/pkg/zos_api"
1919
"github.com/urfave/cli/v2"
2020
)
2121

cmds/modules/contd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"github.com/urfave/cli/v2"
1313

1414
"github.com/threefoldtech/zbus"
15-
"github.com/threefoldtech/zos4/pkg/container"
16-
"github.com/threefoldtech/zos4/pkg/utils"
15+
"github.com/threefoldtech/zoslight/pkg/container"
16+
"github.com/threefoldtech/zoslight/pkg/utils"
1717
)
1818

1919
const module = "container"

cmds/modules/flistd/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import (
55
"time"
66

77
"github.com/pkg/errors"
8-
"github.com/threefoldtech/zos4/pkg/stubs"
9-
"github.com/threefoldtech/zos4/pkg/utils"
8+
"github.com/threefoldtech/zoslight/pkg/stubs"
9+
"github.com/threefoldtech/zoslight/pkg/utils"
1010
"github.com/urfave/cli/v2"
1111

1212
"github.com/rs/zerolog/log"
1313

1414
"github.com/threefoldtech/zbus"
15-
"github.com/threefoldtech/zos4/pkg/flist"
15+
"github.com/threefoldtech/zoslight/pkg/flist"
1616
)
1717

1818
const (

cmds/modules/gateway/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55

66
"github.com/pkg/errors"
7-
"github.com/threefoldtech/zos4/pkg/gateway"
8-
"github.com/threefoldtech/zos4/pkg/utils"
7+
"github.com/threefoldtech/zoslight/pkg/gateway"
8+
"github.com/threefoldtech/zoslight/pkg/utils"
99
"github.com/urfave/cli/v2"
1010

1111
"github.com/rs/zerolog/log"

cmds/modules/netlightd/main.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ import (
1010

1111
"github.com/oasisprotocol/curve25519-voi/primitives/x25519"
1212
"github.com/pkg/errors"
13-
"github.com/threefoldtech/zos4/pkg/netlight"
14-
"github.com/threefoldtech/zos4/pkg/netlight/bridge"
15-
"github.com/threefoldtech/zos4/pkg/netlight/ifaceutil"
16-
"github.com/threefoldtech/zos4/pkg/netlight/nft"
17-
"github.com/threefoldtech/zos4/pkg/netlight/resource"
13+
"github.com/threefoldtech/zoslight/pkg/netlight"
14+
"github.com/threefoldtech/zoslight/pkg/netlight/bridge"
15+
"github.com/threefoldtech/zoslight/pkg/netlight/ifaceutil"
16+
"github.com/threefoldtech/zoslight/pkg/netlight/nft"
17+
"github.com/threefoldtech/zoslight/pkg/netlight/resource"
1818
"github.com/urfave/cli/v2"
1919

2020
"github.com/cenkalti/backoff/v3"
2121
"github.com/rs/zerolog/log"
2222
"github.com/threefoldtech/zbus"
23-
"github.com/threefoldtech/zos4/pkg/netlight/bootstrap"
24-
"github.com/threefoldtech/zos4/pkg/stubs"
25-
"github.com/threefoldtech/zos4/pkg/utils"
23+
"github.com/threefoldtech/zoslight/pkg/netlight/bootstrap"
24+
"github.com/threefoldtech/zoslight/pkg/stubs"
25+
"github.com/threefoldtech/zoslight/pkg/utils"
2626
)
2727

2828
const (

cmds/modules/noded/main.go

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ import (
1111
"github.com/urfave/cli/v2"
1212

1313
substrate "github.com/threefoldtech/tfchain/clients/tfchain-client-go"
14-
"github.com/threefoldtech/zos4/pkg/app"
15-
"github.com/threefoldtech/zos4/pkg/capacity"
16-
"github.com/threefoldtech/zos4/pkg/environment"
17-
"github.com/threefoldtech/zos4/pkg/events"
18-
"github.com/threefoldtech/zos4/pkg/monitord"
19-
"github.com/threefoldtech/zos4/pkg/perf"
20-
"github.com/threefoldtech/zos4/pkg/perf/cpubench"
21-
"github.com/threefoldtech/zos4/pkg/perf/healthcheck"
22-
"github.com/threefoldtech/zos4/pkg/perf/iperf"
23-
"github.com/threefoldtech/zos4/pkg/perf/publicip"
24-
"github.com/threefoldtech/zos4/pkg/registrar"
25-
"github.com/threefoldtech/zos4/pkg/stubs"
26-
"github.com/threefoldtech/zos4/pkg/utils"
14+
"github.com/threefoldtech/zoslight/pkg/app"
15+
"github.com/threefoldtech/zoslight/pkg/capacity"
16+
"github.com/threefoldtech/zoslight/pkg/environment"
17+
"github.com/threefoldtech/zoslight/pkg/events"
18+
"github.com/threefoldtech/zoslight/pkg/monitord"
19+
"github.com/threefoldtech/zoslight/pkg/perf"
20+
"github.com/threefoldtech/zoslight/pkg/perf/cpubench"
21+
"github.com/threefoldtech/zoslight/pkg/perf/healthcheck"
22+
"github.com/threefoldtech/zoslight/pkg/perf/iperf"
23+
"github.com/threefoldtech/zoslight/pkg/perf/publicip"
24+
"github.com/threefoldtech/zoslight/pkg/registrar"
25+
"github.com/threefoldtech/zoslight/pkg/stubs"
26+
"github.com/threefoldtech/zoslight/pkg/utils"
2727

2828
"github.com/rs/zerolog/log"
2929

cmds/modules/powerd/main.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"github.com/rs/zerolog/log"
99
substrate "github.com/threefoldtech/tfchain/clients/tfchain-client-go"
1010
"github.com/threefoldtech/zbus"
11-
"github.com/threefoldtech/zos4/pkg/environment"
12-
"github.com/threefoldtech/zos4/pkg/events"
13-
"github.com/threefoldtech/zos4/pkg/power"
14-
"github.com/threefoldtech/zos4/pkg/stubs"
15-
"github.com/threefoldtech/zos4/pkg/utils"
11+
"github.com/threefoldtech/zoslight/pkg/environment"
12+
"github.com/threefoldtech/zoslight/pkg/events"
13+
"github.com/threefoldtech/zoslight/pkg/power"
14+
"github.com/threefoldtech/zoslight/pkg/stubs"
15+
"github.com/threefoldtech/zoslight/pkg/utils"
1616
"github.com/urfave/cli/v2"
1717
)
1818

cmds/modules/provisiond/cap.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
99
"github.com/rs/zerolog/log"
1010
substrate "github.com/threefoldtech/tfchain/clients/tfchain-client-go"
11-
"github.com/threefoldtech/zos4/pkg/gridtypes"
12-
"github.com/threefoldtech/zos4/pkg/provision"
13-
"github.com/threefoldtech/zos4/pkg/stubs"
11+
"github.com/threefoldtech/zoslight/pkg/gridtypes"
12+
"github.com/threefoldtech/zoslight/pkg/provision"
13+
"github.com/threefoldtech/zoslight/pkg/stubs"
1414
)
1515

1616
type DeploymentID struct {

cmds/modules/provisiond/events.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66

77
"github.com/pkg/errors"
88
"github.com/rs/zerolog/log"
9-
"github.com/threefoldtech/zos4/pkg/events"
10-
"github.com/threefoldtech/zos4/pkg/gridtypes"
11-
"github.com/threefoldtech/zos4/pkg/provision"
12-
"github.com/threefoldtech/zos4/pkg/stubs"
9+
"github.com/threefoldtech/zoslight/pkg/events"
10+
"github.com/threefoldtech/zoslight/pkg/gridtypes"
11+
"github.com/threefoldtech/zoslight/pkg/provision"
12+
"github.com/threefoldtech/zoslight/pkg/stubs"
1313
)
1414

1515
type ContractEventHandler struct {

0 commit comments

Comments
 (0)