git-ftp / git-ftp/git-ftp

Use same SFTP connection for data and .git-ftp-log transfers?

Open
#287 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

confirmed enhancement
Dominant language
Shell
Stars
5.6k
Forks
694
PR merge metrics
No merged PRs in 30d

Description

Is it possible to use the same connection for the data uploads and the log transfers?

I’m having issues with one particular server where it seems to randomly close the connection on some SSH connection attempts, often allowing the file uploads but closing the connection before the .git-ftp-log is uploaded.

Is there a particular reason it’s uploaded with a separate connection from the data transfer?

Thanks for a great tool—I use it many times a day!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests. First locate the separate SFTP operations for data uploads and .git-ftp-log transfers, then trace how each connection is opened and closed. Done means both transfers reuse one connection without breaking existing upload behavior, including the reported case where the log transfer fails after uploads succeed.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.