Commit graph

217 commits

Author SHA1 Message Date
Niko Storni
7a3d2bf4bc
add more startup parameters 2018-08-01 08:56:07 -04:00
Niko Storni
b93e15eb09
fix ytsync update command 2018-07-25 19:45:12 -04:00
Niko Storni
4bc9c48504
rename ytsync endpoints
enable video tracking
2018-07-25 13:08:39 -04:00
Alex Grintsvayg
c72525e2c3
Merge branch 'automation-support'
* automation-support: (31 commits)
  address review comments
  rename selfsync to ytsync
  remove invalid tests
  remove common.go
  update dependencies
  resolve rebase conflicts
  remove launch parameter
  fix slack logging
  resolve conflict changes in rebase
  improve update process
  supply hostname for job listing
  add concurrency support
  add datetime boundaries
  fix selfsync issues with the queue
  move params to env vars
  refactor selfsync process
  improve continuos self sync
  add clean interruption
  add support for channel updates
  add regtest support
  ...
2018-07-25 10:37:25 -04:00
Niko Storni
7322d4013c
address review comments 2018-07-23 20:01:38 -04:00
Niko Storni
915862c324
rename selfsync to ytsync
add video marking support
2018-07-20 19:56:38 -04:00
Niko Storni
f800e77e4c
remove invalid tests
move functions out of utils
address review comments
revert lockfile changes
2018-07-18 08:47:12 -04:00
Niko Storni
dfa3bb1b19
remove common.go
merge sync and selfsync
export sync manager out of cmd package
clean up ytsync.go
address #19 and #20
2018-07-17 12:54:28 -04:00
Niko Storni
4a4008d6a0
update dependencies 2018-07-12 09:02:48 -04:00
Niko Storni
45bb0f2014
resolve rebase conflicts 2018-07-12 08:28:24 -04:00
Niko Storni
3cf504d16a
remove launch parameter
improve failure handling
adjust slack logging
increase file size in string
increase publish timeout to 40 minutes
2018-07-12 08:26:46 -04:00
Niko Storni
d596240099
fix slack logging
add failure cases
change interrupt behavior for fatal errors
bump up timeout to 20 minutes
change max file size to 2GB
remove unnecessary utxo wait
2018-07-12 08:26:46 -04:00
Niko Storni
fb748cb255
resolve conflict changes in rebase 2018-07-12 08:26:45 -04:00
Niko Storni
98a1c62eba
improve update process 2018-07-12 08:26:45 -04:00
Niko Storni
50d24ead95
supply hostname for job listing
fix download race condition
adjusted error handling
2018-07-12 08:26:45 -04:00
Niko Storni
2f615df34d
add concurrency support
fix error handling (FINALLY)
fix slack message formatting
add locking for wallet setup to support concurrency
remove UTXO bug workaround (lbryumx should fix it)
add limits to filesize
2018-07-12 08:26:45 -04:00
Niko Storni
df1c959878
add datetime boundaries 2018-07-12 08:26:45 -04:00
Niko Storni
659a20a5ba
fix selfsync issues with the queue
remove margin for fees
handle non latin names
adjusted error handling
2018-07-12 08:26:45 -04:00
Niko Storni
6fb792f80c
move params to env vars
consider fees of 0.1 while calculating setup funds
add change address to speed up publishing
rebase
2018-07-12 08:26:45 -04:00
Niko Storni
0df643a550
refactor selfsync process 2018-07-12 08:24:44 -04:00
Niko Storni
5a1ba06f4c
improve continuos self sync
fix bug in error handling while deleting videos
refactoring of code
2018-07-12 08:24:43 -04:00
Niko Storni
744021cfbc
add clean interruption
change how post requests are made
add better support for channel updates
2018-07-12 08:24:43 -04:00
Niko Storni
c8eebbfae1
add support for channel updates 2018-07-12 08:24:43 -04:00
Niko Storni
d0cfcaa3e5
add regtest support
improve error handling
2018-07-12 08:24:43 -04:00
Niko Storni
bf7b7c0ca6
move code to the right place
remove unused code
expand slack test
fix formatting
2018-07-12 08:24:43 -04:00
Niko Storni
788857d2c3
add disk space check
remove unneeded panics
improve error handling
add tests
fix error checking that was comparing for exact values
sort imports
2018-07-12 08:24:43 -04:00
Niko Storni
42deb1d29d
address more errors
increase room for fees (Jeremy says just pay more)
add code to wait for daemon startup
2018-07-12 08:21:16 -04:00
Niko Storni
c5c66eac14
increase the margin for fees
decrease number of addresses to use (we fall back to waiting for a block)
2018-07-12 08:21:16 -04:00
Niko Storni
7776b3a592
added timeout to utxo waiting
added more error handling
2018-07-12 08:21:16 -04:00
Niko Storni
34bb0baa4a
add slack logging
reduce claim name length (fees are too high)
delete videos in case of failure too
reduce synced videos to 1000 most recent
2018-07-12 08:21:15 -04:00
Niko Storni
b9f302e316
address more errors for better automation 2018-07-12 08:21:15 -04:00
Niko Storni
e600fb59fa
add fail state
add panic/edge cases
add marking channels as completed/failed
2018-07-12 08:19:05 -04:00
Niko Storni
c0be626ef2
add selfsync cmd
add tests
add more slack updates
remove unneded test
extract constants to own file
2018-07-12 08:19:05 -04:00
Niko Storni
7754abf1d0
add tests 2018-07-12 08:19:05 -04:00
Niko Storni
efd6a4b620
fix wallet refill handler
add slack logging
add PoC for channel fetching
2018-07-12 08:18:58 -04:00
Mark
06a20b7d5e
Merge pull request #21 from lbryio/cast_constraint_update
changed constraint as it affects internal-apis changes.
2018-07-11 12:43:39 -04:00
Mark Beamer Jr
3199079ffc changed constraint as it affects internal-apis changes. 2018-07-11 12:36:55 -04:00
Alex Grintsvayg
91202ab6ff
small api fixes 2018-07-11 12:26:14 -04:00
Alex Grintsvayg
2134a817f3
change bech32 prefix, add genesis hash, write our own DecodeAddress 2018-06-27 16:27:09 -04:00
Alex Grintsvayg
11f29a9d9e
export auth errors 2018-06-26 14:32:45 -04:00
Alex Grintsvayg
821cfb748e
refactor stopgroup to use context, which allows parent/child cancelations 2018-06-26 08:53:48 -04:00
Alex Grintsvayg
f0762e9c57
fix typo in dependencies 2018-06-13 12:44:09 -04:00
Alex Grintsvayg
de40df28c1
add Link to stop Stopper when an upstream Stopper is stopped 2018-06-13 12:37:21 -04:00
Niko Storni
d062d4ad7f
add travis CI 2018-06-11 17:53:30 -04:00
Niko Storni
e74070259e
update dependencies
fix issue preventing compilation
format project
2018-06-11 17:42:00 -04:00
Alex Grintsvayg
681a623ddf
update lockfile 2018-06-06 15:35:57 -04:00
Alex Grintsvayg
2162ea136a
Merge branch 'apiserver'
* apiserver:
  -Added API Server to lbry.go -Removed dependency on internal apis -Moved over only required packages. -Adjusted slack.go to be generic instead of hard coding channel name. -Moved over travis package from internal-apis -Added Repository struct for webhook and an IsMatch method. It is possible for any repository to send a webhook to the api and it will trigger a deploy. We should check against the owner, repo and branch. -Renamed package to api -removed util.Debugging from server.go -Added an ErrorHandling function that be used as interface for slack for internal-apis -Added Map for Header settings that can be set before the serving -Merged slack code from lbryio/boardbot -Cleaned up the slack.go code so it made more sense and flowed better -Removed gitignore entry for `.idea`, should be global -Removed debugging.go -Added option for private vs public repository for getting travis public key. -separated private vs public into if else. -Changed HeaderSettings to not be pointer. -Changed ErrorHandler to be named LogErrorFunc -removed logrus dependency, created loginfo function to handle non-error information. -Added Daemon Types and adjusted peer_list to be in line with v20 -Fixed rpcclient library usage for latest version to prevent build errors. -Changed inputs to LogError and LogInfo so that other implementations can make this customizable.
2018-06-05 15:15:03 -04:00
Mark Beamer Jr
afffa668a9 -Added API Server to lbry.go
-Removed dependency on internal apis
-Moved over only required packages.
-Adjusted slack.go to be generic instead of hard coding channel name.
-Moved over travis package from internal-apis
-Added Repository struct for webhook and an IsMatch method. It is possible for any repository to send a webhook to the api and it will trigger a deploy. We should check against the owner, repo and branch.
-Renamed package to api
-removed util.Debugging from server.go
-Added an ErrorHandling function that be used as interface for slack for internal-apis
-Added Map for Header settings that can be set before the serving
-Merged slack code from lbryio/boardbot
-Cleaned up the slack.go code so it made more sense and flowed better
-Removed gitignore entry for `.idea`, should be global
-Removed debugging.go
-Added option for private vs public repository for getting travis public key.
-separated private vs public into if else.
-Changed HeaderSettings to not be pointer.
-Changed ErrorHandler to be named LogErrorFunc
-removed logrus dependency, created loginfo function to handle non-error information.
-Added Daemon Types and adjusted peer_list to be in line with v20
-Fixed rpcclient library usage for latest version to prevent build errors.
-Changed inputs to LogError and LogInfo so that other implementations can make this customizable.
2018-05-27 11:30:04 -04:00
Alex Grintsvayg
2a6ea528bd
update stoponce 2018-05-24 12:59:34 -04:00
Alex Grintsvayg
a656ad8a14
add crypto package 2018-05-13 21:09:40 -04:00