I'm using netatalk 4.2.0. Here's my afp.conf file:
Code:
[Global]
uam list = uams_guest.so
guest account = username
log level = default:info
log file = /opt/local/var/log/netatalk4.log
[Stuff]
volume name = Stuff
path = /Users/username/misc/afp
file perm = 0666
directory perm = 0777
ea = ad
The code is being edited with VSCode and compiled with Retro68, so it's already got LF line endings. All the files are ASCII too, so currently I'm side-stepping the encoding issue.
I want to see if I can track a CodeWarrior project in the repo just because I like the idea of keeping the codebase compatible with at least one classic mac compiler, even if I'm mainly targeting retro68. And yes, CodeWarrior can deal with LF line endings. At this time I'm not planning on targeting MPW or anything else that might require CR.
My goal is to be able to mount my codebase into a classic mac using AFP so that it can directly access the actual files on my modern mac that I'm working with, but still have a functional CodeWarrior project (along with any other classic mac files) that has its mac metadata and resource fork preserved in a way that git can track. (Not a big deal if they're opaque binary files. I'm never going to merge these.)
I thought about doing a conversion, perhaps using git hooks, but I just think it'd be much cleaner and easier if the files could be read and written in a way git can handle straight from the get go.