storj/scripts
Stefan Benten 2cf86703a3
Add Versioning Server (#1576)
* Initial Webserver Draft for Version Controlling

* Rename type to avoid confusion

* Move Function Calls into Version Package

* Fix Linting and Language Typos

* Fix Linting and Spelling Mistakes

* Include Copyright

* Include Copyright

* Adjust Version-Control Server to return list of Versions

* Linting

* Improve Request Handling and Readability

* Add Configuration File Option
Add Systemd Service file

* Add Logging to File

* Smaller Changes

* Add Semantic Versioning and refuses outdated Software from Startup (#1612)

* implements internal Semantic Version library

* adds version logging + reporting to process

* Advance SemVer struct for easier handling

* Add Accepted Version Store

* Fix Function

* Restructure

* Type Conversion

* Handle Version String properly

* Add Note about array index

* Set temporary Default Version

* Add Copyright

* Adding Version to Dashboard

* Adding Version Info Log

* Renaming and adding CheckerProcess

* Iteration Sync

* Iteration V2

* linting

* made LogAndReportVersion a go routine

* Refactor to Go Routine

* Add Context to Go Routine and allow Operation if Lookup to Control Server fails

* Handle Unmarshal properly

* Linting

* Relocate Version Checks

* Relocating Version Check and specified default Version for now

* Linting Error Prevention

* Refuse Startup on outdated Version

* Add Startup Check Function

* Straighten Logging

* Dont force Shutdown if --dev flag is set

* Create full Service/Peer Structure for ControlServer

* Linting

* Straighting Naming

* Finish VersionControl Service Layout

* Improve Error Handling

* Change Listening Address

* Move Checker Function

* Remove VersionControl Peer

* Linting

* Linting

* Create VersionClient Service

* Renaming

* Add Version Client to Peer Definitions

* Linting and Renaming

* Linting

* Remove Transport Checks for now

* Move to Client Side Flag

* Remove check

* Linting

* Transport Client Version Intro

* Adding Version Client to Transport Client

* Add missing parameter

* Adding Version Check, to set Allowed = true

* Set Default to true, testing

* Restructuring Code

* Uplink Changes

* Add more proper Defaults

* Renaming of Version struct

* Dont pass Service use Pointer

* Set Defaults for Versioning Checks

* Put HTTP Server in go routine

* Add Versioncontrol to Storj-Sim

* Testplanet Fixes

* Linting

* Add Error Handling and new Server Struct

* Move Lock slightly

* Reduce Race Potentials

* Remove unnecessary files

* Linting

* Add Proper Transport Handling

* small fixes

* add fence for allowed check

* Add Startup Version Check and Service Naming

* make errormessage private

* Add Comments about VersionedClient

* Linting

* Remove Checks that refuse outgoing connections

* Remove release cmd

* Add Release Script

* Linting

* Update to use correct Values

* Move vars private and set minimum default versions for testing builds

* Remove VersionedClient

* Better Error Handling and naked return removal

* Straighten the Regex and string conversion

* Change Check to allows testplanet and storj-sim to run without the
need to pass an LDFlag

* Cosmetic Change to Dashboard

* Cleanup Returns and remove commented code

* Remove Version Check if no build options are passed in

* Pass in Config Values instead of Pointers

* Handle missed Error

* Update Endpoint URL

* Change Type of Release Flag

* Add additional Logging

* Remove Versions Logging of other Services

* minor fixes

Change-Id: I5cc04a410ea6b2008d14dffd63eb5f36dd348a8b
2019-04-03 21:13:39 +02:00
..
waitlist Waitlist script (#573) 2018-11-06 18:43:20 +01:00
cert-gating.sh certificates config and --certs-dir fixes (#1093) 2019-01-22 13:35:48 +01:00
check-clean-directory.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
check-copyright.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
check-dbx-version.sh make tests run faster (#1553) 2019-03-22 15:14:17 +02:00
check-imports.go convert psserver dashboard into an inspector (#1407) 2019-03-05 15:48:37 -05:00
check-travis-tidy.sh Stop storagenode on ctrl+c (#1220) 2019-02-04 15:50:55 +01:00
dependencies_test.go Add arguments to lockedgen for using it in other places (#1030) 2019-01-11 18:07:26 +02:00
fail-on-race.go Fail integration tests on panic (#1032) 2019-01-11 18:18:16 +02:00
install-awscli.sh Travis with go1.11 and modules (#479) 2018-10-16 20:02:00 +03:00
lockedgen.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
protobuf.go Add protolock to build (#1321) 2019-02-18 08:43:46 +01:00
release.sh Add Versioning Server (#1576) 2019-04-03 21:13:39 +02:00
setup-gopath.ps1 Check for go.mod validity (#605) 2018-11-09 15:32:35 +02:00
setup-gopath.sh restore previous folder layout in travis (#1240) 2019-02-05 13:09:29 -06:00
test-aio.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-certificate-signing.sh Improve cert signing integration test+: (#997) 2019-01-11 15:59:35 +01:00
test-network-stalls.go Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-sim-aws.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-sim.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-uplink.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
use-ports.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
utils.sh certificates config and --certs-dir fixes (#1093) 2019-01-22 13:35:48 +01:00