Skip to content

Commit

Permalink
fix: ignore more rysnc and remove jq
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Feb 21, 2024
1 parent 9347927 commit 3309865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/project/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func startProject(networkVolumeId string) error {
fmt.Printf("Activating Python virtual environment %s on Pod %s\n", venvPath, projectPodId)
sshConn.RunCommands([]string{
fmt.Sprint(`
DEPENDENCIES=("wget" "sudo" "lsof" "git" "rsync" "zstd" "jq")
DEPENDENCIES=("wget" "sudo" "lsof" "git" "rsync" "zstd")
function check_and_install_dependencies() {
for dep in "${DEPENDENCIES[@]}"; do
Expand Down
2 changes: 1 addition & 1 deletion cmd/project/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (sshConn *SSHConnection) Rsync(localDir string, remoteDir string, quiet boo
for scanner.Scan() {
line := scanner.Text()

if line == "" || strings.Contains(line, "sending incremental file list") || strings.Contains(line, "total size is") || strings.Contains(line, "bytes/sec") {
if line == "" || strings.Contains(line, "sending incremental file list") || strings.Contains(line, "total size is") || strings.Contains(line, "bytes/sec") || strings.Contains(line, "building file list") {
continue
}

Expand Down

0 comments on commit 3309865

Please sign in to comment.