git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fw: [git-users] How do I git-push to an FTP server?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 8, 2012, 08:02 UTC
Message-ID
<20121008080208.GC19733@elie.Belkin>
In-Reply-To
<CALkWK0nSxBsiE5_BZ67dPrwDRQSipL0LBR9Pf252iqL21HwZBA@mail.gmail.com>
Ramkumar Ramachandra wrote:
> I see.  Will we remove ftp[s] support too?  I hope this is in order.

I don't see why that would be desirable, as long as libcurl continues to support it for free.

[...]
> Fetching and pushing over rsync, and fetching over ftp or ftps are
> deprecated, and will soon be removed.  Add a note saying this.

I thought the real rationale was to avoid creating the illusion of supporting push over ftp. Having a paper trail to comfort people who notice when rsync support vanishes is just an added bonus.

[...]
Show 8 quoted lines
> @@ -31,6 +29,11 @@ syntaxes may be used:
>  - /path/to/repo.git/
>  - file:///path/to/repo.git/
> 
> + Git also has (less efficient) support for fetching and pushing over
> + rsync protocol and fetching over ftp or ftps, using the same
> + "protocol://host/path/to/repo.git/" syntax.  However, these are
> + deprecated, and will soon be removed.

I'd suggest dropping ", and will soon be removed." or replacing it with ". Don't use them." to avoid the question of how soon "soon" is.

With that change and with a clearer commit message, this will probably be good to go imho.

Thanks, Jonathan

Previous: Ramkumar RamachandraNext: Junio C Hamano
Message 10 of 14 in “Fw: How do I git-push to an FTP server?”
  1. Konstantin KhomoutovOct 5, 2012
  2. Philippe VaucherOct 5, 2012
  3. Thomas Ferris NicolaisenOct 5, 2012
  4. Konstantin KhomoutovOct 5, 2012
  5. Junio C HamanoOct 5, 2012
  6. Ramkumar RamachandraOct 7, 2012
  7. Jonathan NiederOct 7, 2012
  8. Junio C HamanoOct 7, 2012
  9. Ramkumar RamachandraOct 8, 2012
  10. Jonathan NiederOct 8, 2012
  11. Junio C HamanoOct 8, 2012
  12. Junio C HamanoOct 8, 2012
  13. Jonathan NiederOct 8, 2012
  14. Junio C HamanoOct 8, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.