-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is bin/update-configs.sh
necessary?
#2
Comments
I'm open to improvements on this. There are two reasons for copying these files into the root:
|
IIRC, that was only the case for I'd lean towards letting individual devs do that locally, rather that making it part of
That seems like a good use case for shared config being in |
I can't say it's only Atom, it might be others too. For ease of setup (not having to manage symlinks), it would be nice to keep the update-configs command around, though if the scripts are set up with |
What makes copying easier? I was assuming we'd automate symlinks in the
So we'd have both It seems like that'd be confusing, like when making changes to |
I've just had trouble with symlinks in the past - something happens and the destination goes missing, or for some reason a program won't read a symlink, or the symlink doesn't exist in the container … I suppose if there was a way to reset the symlinks just in case, maybe that would be fine? I'd still prefer real files + make it optional, though.
I think that's a positive though, it would ensure that any changes to configs happen at the |
I can't remember that ever happening to me, but no objection to a reset script
That's been pretty rare in my experience, but if we ran into it in practice then we could always use a hard link instead. Then the program wouldn't be able to tell the difference
Are you referring to the path differences? I don't think that'd be a problem if we used a relative link
The copies are already git-ignored, so don't we have that either way? overall, it still feels like unnecessary complexity to me, but i'm happy to disagree-and-commit if y'all still prefer it. just adding the |
Do they actually merge if you have both? I was under the impression that it will prefer |
Er, you're right. I think the PHPCS way of doing it would be to have repo-tools define a |
We could instead call tools with
--config=vendor/.../eslint.js
, etc. That way everything stays DRY and consistent without any maintenance.We could also symlink if they don't.
Some tools might support having a local "override" file, ala
phpunit.xml.dist
andphpunit.xml
. Some also support@extend
/import
-ing another file.The text was updated successfully, but these errors were encountered: