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

Re: Git in Outreachy?

From
Philip Oakley <philipoakley@iee.email>
Date
Sep 16, 2020, 15:16 UTC
Message-ID
<5be2fca8-2dbd-115e-b3bb-5783daeba4a3@iee.email>
In-Reply-To
<nycvar.QRO.7.76.6.2009060933480.56@tvgsbejvaqbjf.bet>
Hi, Sorry I've not been able to attend to the list discussions recently.
On 07/09/2020 19:49, Johannes Schindelin wrote:
Show 38 quoted lines
> Hi Philip,
>
> On Fri, 4 Sep 2020, Philip Oakley wrote:
>
>> On 03/09/2020 07:00, Jonathan Nieder wrote:
>>> Christian Couder wrote:
>>>
>>>> I would appreciate help to find project ideas though. Are there still
>>>> scripts that are worth converting to C (excluding git-bisect.sh and
>>>> git-submodule.sh that are still worked on)? Are there worthy
>>>> refactorings or improvements that we could propose as projects?
>>> I think setting up something like snowpatch[*] to run CI on patches
>>> that have hit the mailing list but not yet hit "seen" might be a good
>>> project for an interested applicant (and I'd be interested in
>>> co-mentoring if we find a taker).
>>>
>>> Some other topics that could be interesting:
>>> - better support for handling people's name changing
>>> - making signing features such as signed push easier to use (for
>>>   example by allowing signing with SSH keys to simplify PKI) and more
>>>   useful (for example by standardizing a way to publish signed push
>>>   logs in Git)
>>> - protocol: sharing notes and branch descriptions
>>> - formats: on-disk reverse idx
>>> - obliterate
>>> - cache server to take advantage of multiple promisors+packfile URIs
>>>
>>> Jonathan
>>>
>>> [*] https://github.com/ruscur/snowpatch
>> A suggestion with high value for the Windows community
>> - mechanism to map file names between the index and the local FS, should
>> a repos file/path name already be taken, or invalid. [1]
> This suggestion keeps coming up, but I cannot help but highly doubt that
> it will prove useful in practice: if your source code contains a file
> called `aux.c`, chances are that your build system lists this file
> specifically, and it won't do at all to "magically" rename it to, say,
> `aux_.c` during checkout.

I'd disagree with that line of reasoning in the sense that if someone is on Windows wanting to 'view' a repo that was developed on Linux, with colons in pathnames, and filenames like aux.c we shouldn't be deliberately de-include them just because of those file/pathname 'accidents. I accept that the build system probably won't be working for their Windows environment (how could it be?), but, if possible, we should be able to support them, in some positive way. In our distributed collaborative environment we can trip over the user's  'your file / your build' tag.

> In contrast, I think a much more useful project would be to relax the
> `core.protectNTFS` protections to cover only the files that will be
> written to disk, and not bother even checking the files excluded from a
> sparse-checkout for invalid file names on NTFS.
That's a valid base method for all the NTFS valid file and path names.

The next level could be a mechanism for path and file name adjustment, at least for a _copy-out_ step (without ability to 'git add' / check back in).

Show 6 quoted lines
>
> This is trickier, of course, than meets the eye: we would still want to be
> _very_ careful to ensure that the unchecked file names will _never_ make
> it to the disk. And, slightly related, the question whether checking for
> `.git` (or `GIT~1`) would be likewise weakened, or whether that is too
> dangerous to allow even in `skip-worktree` entries.
Agree that the security aspects of `.Git` etc must still be retained.
>
> Not necessarily decisions you would want to burden a first-time
> contributor with.

True, but still worth recording as a useful Git project (and that there are a number of nuances within it!)

-- Philip

Show 8 quoted lines
> Ciao,
> Dscho
>
>> Philip
>>
>> [1]
>> https://github.com/git-for-windows/git/issues/2803#issuecomment-687161483
>>
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 44 in “Git in Outreachy?”
  1. Jeff KingAug 28, 2020
  2. Christian CouderAug 31, 2020
  3. Jonathan NiederSep 3, 2020
  4. Philip OakleySep 4, 2020
  5. Johannes SchindelinSep 7, 2020
  6. Philip OakleySep 16, 2020
  7. Johannes SchindelinSep 16, 2020
  8. Philip OakleySep 17, 2020
  9. Taylor BlauSep 9, 2020
  10. Jonathan NiederSep 10, 2020
  11. Taylor BlauSep 10, 2020
  12. Christian CouderSep 16, 2020
  13. Christian CouderSep 16, 2020
  14. Junio C HamanoAug 31, 2020
  15. Emily ShafferAug 31, 2020
  16. Jeff KingSep 1, 2020
  17. Jeff KingSep 3, 2020
  18. Jeff KingSep 15, 2020
  19. Kaartic SivaraamSep 15, 2020
  20. Jeff KingSep 15, 2020
  21. Christian CouderSep 19, 2020
  22. Phillip WoodSep 19, 2020
  23. Christian CouderSep 16, 2020
  24. Johannes SchindelinSep 2, 2020
  25. Christian CouderSep 16, 2020
  26. Phillip WoodSep 16, 2020
  27. Christian CouderSep 17, 2020
  28. Phillip WoodSep 17, 2020
  29. Christian CouderSep 18, 2020
  30. Elijah NewrenSep 17, 2020
  31. Christian CouderSep 18, 2020
  32. Kaartic SivaraamSep 27, 2020
  33. Christian CouderSep 27, 2020
  34. Christian CouderOct 29, 2020
  35. Kaartic SivaraamSep 6, 2020
  36. Johannes SchindelinSep 7, 2020
  37. Christian CouderSep 16, 2020
  38. Johannes SchindelinSep 16, 2020
  39. Christian CouderSep 19, 2020
  40. Johannes SchindelinSep 20, 2020
  41. Kaartic SivaraamSep 20, 2020
  42. Christian CouderSep 21, 2020
  43. Kaartic SivaraamSep 21, 2020
  44. Shourya ShuklaSep 21, 2020

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.