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

Re: [PATCH] remote-helpers: point at their upstream repositories

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 18, 2014, 22:48 UTC
Message-ID
<537938a680272_7b90a792fc4a@nysa.notmuch>
In-Reply-To
<vpqk39jous5.fsf@anie.imag.fr>
Matthieu Moy wrote:
Show 13 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
> 
> >  % git fetch
> >  WARNING: git-remote-hg is now maintained independently.
> >  WARNING: For more information visit https://github.com/felipec/git-remote-hg
> >  searching for changes
> >  no changes found
> 
> I don't think the situation is as simple as you claim. In many cases,
> the first step before the ones you are mentionning are:
> 
>   cd $git/contrib/remote-helpers
>   cp git-remote-{hg,bzr} somewhere/in/path
In many cases, but not all cases. In other cases they are:
    ln -s $git/contrib/remote-helpers/git-remote-hg \
        somewhere/in/path/git-remote-hg
Which has to be done only once, and not every time Git is updated.
> They produces no warning if git-remote-{hg,bzr} exist with the warning,
> but "no such file or directory: contrib/remote-helpers" if the directory
> has been renamed or removed.

So? They'll get the warning the next time they try to use it, and their workflow won't be interrupted, and the warning will be more useful than "No such file or directory".

Show 6 quoted lines
> When git-remote-{hg,bzr} are installed with a package manager, the fact
> that they are part of Git's core or not is often irrelevant. For
> example, Debian splits the git.git source into many packages, so a
> Debian user will not see any difference between helpers included in
> git.git or outside (e.g. I have to install the package git-svn if I want
> to use git-svn).

Yet there is no git-hg. And I doubt Jonathan Nieder is going to package the out-of-tree git-bzr, which as far as I know, is the only out-of-tree package of these remote helpers in any distro.

-- 
Felipe Contreras
Previous: Matthieu MoyNext: Junio C Hamano
Message 26 of 40 in “remote-helpers: point at their upstream repositories”
  1. remote-helpers: point at their upstream repositoriesJunio C Hamano, May 15, 2014
  2. Felipe ContrerasMay 16, 2014
  3. Jeff KingMay 16, 2014
  4. Paolo CiarrocchiMay 16, 2014
  5. Jeff KingMay 16, 2014
  6. Felipe ContrerasMay 16, 2014
  7. Felipe ContrerasMay 16, 2014
  8. Junio C HamanoMay 16, 2014
  9. Felipe ContrerasMay 16, 2014
  10. James DenholmMay 17, 2014
  11. Felipe ContrerasMay 17, 2014
  12. James DenholmMay 18, 2014
  13. Felipe ContrerasMay 18, 2014
  14. Junio C HamanoMay 18, 2014
  15. Felipe ContrerasMay 19, 2014
  16. Junio C HamanoMay 19, 2014
  17. Michael HaggertyMay 20, 2014
  18. Johan HerlandMay 20, 2014
  19. Felipe ContrerasMay 20, 2014
  20. Felipe ContrerasMay 20, 2014
  21. Jeff KingMay 16, 2014
  22. Felipe ContrerasMay 17, 2014
  23. Jeff KingMay 17, 2014
  24. Felipe ContrerasMay 17, 2014
  25. Matthieu MoyMay 18, 2014
  26. Felipe ContrerasMay 18, 2014
  27. Junio C HamanoMay 18, 2014
  28. Felipe ContrerasMay 19, 2014
  29. Junio C HamanoMay 19, 2014
  30. Felipe ContrerasMay 19, 2014
  31. Junio C HamanoMay 19, 2014
  32. Junio C HamanoMay 19, 2014
  33. Felipe ContrerasMay 20, 2014
  34. Junio C HamanoMay 20, 2014
  35. Junio C HamanoMay 19, 2014
  36. Felipe ContrerasMay 20, 2014
  37. Junio C HamanoMay 20, 2014
  38. Felipe ContrerasMay 20, 2014
  39. Junio C HamanoMay 20, 2014
  40. Junio C HamanoMay 16, 2014

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.