Skip to content

Commit

Permalink
Merge pull request #556 from skycoin/develop
Browse files Browse the repository at this point in the history
Merge develop into master
  • Loading branch information
nkryuchkov authored Oct 19, 2020
2 parents 134e16d + b1097fd commit 635befe
Show file tree
Hide file tree
Showing 2,384 changed files with 278,266 additions and 51,340 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
/apps/
/skywire/
/local*
/transport_logs
/dmsgpty

pkg/visor/apps/
pkg/visor/bar/
Expand All @@ -30,10 +32,12 @@ pkg/visor/foo/
/*.json
/*.sh
/*.log
dmsgpty

# Ignore backup go.mod after running '/ci_scripts/go_mod_replace.sh'.
go.mod-e

# goreleaser
# goreleaser and frontend builds
dist

# release
*.deb
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ linters-settings:
simple: true
range-loops: true # Report preallocation suggestions on range loops, true by default
for-loops: false # Report preallocation suggestions on for loops, false by default
goimports:
local-prefixes: github.com/skycoin/skywire


linters:
Expand Down
77 changes: 71 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com

release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
# Note: it can only be one: either github or gitlab or gitea
github:
owner: skycoin
name: skywire

before:
hooks:
- go mod tidy
Expand All @@ -16,10 +25,13 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/skywire-visor/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: skywire-cli
binary: skywire-cli
goos:
Expand All @@ -32,10 +44,13 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/skywire-cli/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: hypervisor
binary: hypervisor
goos:
Expand All @@ -48,10 +63,13 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/hypervisor/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: skychat
binary: apps/skychat
goos:
Expand All @@ -64,10 +82,13 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/apps/skychat/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: skysocks
binary: apps/skysocks
goos:
Expand All @@ -80,10 +101,13 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/apps/skysocks/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: skysocks-client
binary: apps/skysocks-client
goos:
Expand All @@ -96,10 +120,51 @@ builds:
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/apps/skysocks-client/
ldflags: -s -w -X github.com/skycoin/skywire/pkg/util/buildinfo.version={{.Version}} -X github.com/skycoin/skywire/pkg/util/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire/pkg/util/buildinfo.date={{.Date}}
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: vpn-server
binary: apps/vpn-server
goos:
- linux
- darwin
goarch:
- amd64
- 386
- arm64
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/apps/vpn-server/
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
- id: vpn-client
binary: apps/vpn-client
goos:
- linux
- darwin
goarch:
- amd64
- 386
- arm64
- arm
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: ./cmd/apps/vpn-client/
ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}}
archives:
- format: tar.gz
wrap_in_directory: false
Expand Down
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
go:
# - "1.13.x" At minimum the code should run make check on the latest two go versions in the default linux environment provided by Travis.
- "1.13.x"
# - "1.14.x" At minimum the code should run make check on the latest two go versions in the default linux environment provided by Travis.
- "1.14.x"

dist: xenial

Expand All @@ -11,14 +11,15 @@ matrix:
- os: osx
# Do not start osx build for PR
if: type != pull_request
osx_image: xcode8
osx_image: xcode8.3

before_install:
- nvm install 10.16

install:
- go get -u github.com/FiloSottile/vendorcheck
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.22.2
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.31.0
- make tidy

before_script:
- ci_scripts/create-ip-aliases.sh
Expand All @@ -30,3 +31,4 @@ script:
- make install-deps-ui
- make lint-ui
- make build-ui

26 changes: 18 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## 0.2.1 - 2020.04.07

### Changed

- reverted port changes for `skysocks-client`

## 0.2.0 - 2020.04.02

### Added

- Retry logic to messaging server for messaging client.
- added `--retain-keys` flag to `skywire-cli visor gen-config` command
- added `--secret-key` flag to `skywire-cli visor gen-config` command
- added hypervisorUI frontend
- added default values for visor if certain fields of config are empty

### Fixed

- Fixed channel collision for messaging clients.
- fixed deployment route finder HTTP request
- fixed /user endpoint not working when auth is disabled

### Changed

- Improve readability of Skywire CLI output.

## 0.1.0 - 2019.03.04
- changed port of hypervisorUI and applications
- replaced unix sockets for app to visor communication to tcp sockets
- reverted asynchronous sending of router packets

### Added
## 0.1.0 - 2020.04.02

- First release of the mainnet Skywire visor and apps for testing.
First release of Skywire Mainnet.
9 changes: 0 additions & 9 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 635befe

Please sign in to comment.