Skip to content

WIP: Support sync connector #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2c79472
remove unnecesary commands
curusarn Apr 16, 2022
9de1f9d
remove packages
curusarn Apr 16, 2022
40be2eb
remove /recall and /inspect
curusarn Apr 16, 2022
3937707
remove import
curusarn Apr 16, 2022
5c57697
remove sesshist from run-server
curusarn Apr 16, 2022
d72fa1d
remove recall
curusarn Apr 18, 2022
c33db41
remove --args
curusarn Apr 18, 2022
f033a21
todo
curusarn Apr 18, 2022
0788ca9
remove deprecated variables
curusarn Apr 19, 2022
0fcad63
fix double subscribe of sessWatch, minor fixes
curusarn Apr 19, 2022
ae9c182
fix error propagation, small cleanup
curusarn Apr 20, 2022
c1557bc
go mod tidy
curusarn Apr 20, 2022
5ddb27b
reshctl removal
curusarn Apr 20, 2022
e06fe26
copy
curusarn Apr 23, 2022
f5349fc
structured logging, refactoring, improvements
curusarn May 3, 2022
f6af624
fix
curusarn May 3, 2022
8aded88
hint sh shebang
curusarn May 3, 2022
439e60d
add timeouts
curusarn May 3, 2022
bafb244
config migration during install
curusarn May 4, 2022
9dfcb25
checkpoint before continuing work after a while
curusarn Oct 16, 2022
0c6ce3c
get resh to compile and run
curusarn Oct 18, 2022
49ac619
various improvements and changes
curusarn Oct 19, 2022
9a632d4
install changes
curusarn Oct 25, 2022
3cefa0f
change config, remove data
curusarn Oct 25, 2022
e359d53
Make record package public
curusarn Nov 1, 2022
6ec71ac
update imports
curusarn Nov 1, 2022
e807259
config support for sync connector
tivvit Oct 30, 2022
ad4784d
initial configurable Sync Connector stub, shared history object
tivvit Oct 31, 2022
0f34931
check the remote and add records
tivvit Nov 1, 2022
02de051
fix import path and comment for latest endpoint
tivvit Nov 13, 2022
2bd9f1e
fix go.sum
tivvit Nov 13, 2022
ca9b9fd
update depreacted ioutil call
tivvit Nov 19, 2022
9198239
fix typo
tivvit Nov 19, 2022
12f106d
support latest result retrieval in the storage
tivvit Nov 19, 2022
414a42f
implement synchronization
tivvit Nov 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 14 additions & 32 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,55 +76,37 @@ builds:
- arm
- arm64
-
id: "evaluate"
main: ./cmd/evaluate
binary: bin/resh-evaluate
goarch:
- 386
- amd64
- arm
- arm64
-
id: "event"
main: ./cmd/event
binary: bin/resh-event
goarch:
- 386
- amd64
- arm
- arm64
-
id: "inspect"
main: ./cmd/inspect
binary: bin/resh-inspect
id: "postcollect"
main: ./cmd/postcollect
binary: bin/resh-postcollect
goarch:
- 386
- amd64
- arm
- arm64
-
id: "postcollect"
main: ./cmd/postcollect
binary: bin/resh-postcollect
id: "session-init"
main: ./cmd/session-init
binary: bin/resh-session-init
goarch:
- 386
- amd64
- arm
- arm64
-
id: "sanitize"
main: ./cmd/sanitize
binary: bin/resh-sanitize
goarch:
id: "config-setup"
main: ./cmd/config-setup
binary: bin/resh-config-setup
goarch:
- 386
- amd64
- arm
- arm64
-
id: "session-init"
main: ./cmd/session-init
binary: bin/resh-session-init
goarch:
id: "install-utils"
main: ./cmd/install-utils
binary: bin/resh-install-utils
goarch:
- 386
- amd64
- arm
Expand Down
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
SHELL=/bin/bash
LATEST_TAG=$(shell git describe --tags)
REVISION=$(shell [ -z "$(git status --untracked-files=no --porcelain)" ] && git rev-parse --short=12 HEAD || echo "no_revision")
COMMIT=$(shell [ -z "$(git status --untracked-files=no --porcelain)" ] && git rev-parse --short=12 HEAD || echo "no_commit")
VERSION="${LATEST_TAG}-DEV"
GOFLAGS=-ldflags "-X main.version=${VERSION} -X main.commit=${REVISION}"
GOFLAGS=-ldflags "-X main.version=${VERSION} -X main.commit=${COMMIT} -X main.development=true"


build: submodules bin/resh-session-init bin/resh-collect bin/resh-postcollect bin/resh-daemon\
bin/resh-evaluate bin/resh-sanitize bin/resh-control bin/resh-config bin/resh-inspect bin/resh-cli
build: submodules bin/resh-session-init bin/resh-collect bin/resh-postcollect\
bin/resh-daemon bin/resh-control bin/resh-config bin/resh-cli\
bin/resh-install-utils

install: build
scripts/install.sh
Expand All @@ -21,13 +22,14 @@ rebuild:
make build

clean:
rm -f bin/resh-*
rm -f bin/*

uninstall:
# Uninstalling ...
-rm -rf ~/.resh/

bin/resh-%: cmd/%/*.go pkg/*/*.go cmd/control/cmd/*.go cmd/control/status/status.go
go_files = $(shell find -name '*.go')
bin/resh-%: $(go_files)
grep $@ .goreleaser.yml -q # all build targets need to be included in .goreleaser.yml
go build ${GOFLAGS} -o $@ cmd/$*/*.go

Expand Down
Loading