Contributors mailing list archives
Re: Common .gitignoreby
Open for Small Business, Graeme Gellatly
To be honest, editors shouldn't really matter anyway should they? Its pretty uncommon an OCA repo is your top level project directory or maybe I've been doing it wrong all these years.
On Thu, 30 Apr 2020, 7:57 pm Stéphane Bidoul, <firstname.lastname@example.org> wrote:
> IMO preferred editors should be removed from the file and ignored globally in your own git config.Good point Simone.-sbiOn Thu, Apr 30, 2020 at 9:37 AM Simone Orsi <email@example.com> wrote:Ciao,+1 for common .gitignore. The Python one was used as a base for what we have now AFAIR.IMO preferred editors should be removed from the file and ignored globally in your own git config.https://help.github.com/en/github/using-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computerS.On Thu, Apr 30, 2020 at 9:22 AM Simone Rubino <firstname.lastname@example.org> wrote:PRO standardizing gitignore file for Odoo, maybe an extension of https://github.com/github/gitignore/blob/master/Python.gitignore ?About the IDE: some people are very attached to the one they are using (for me it's Pycharm ❤, for others sublime, visual studio code, the more the merrier), so I'd give a short list of 'supported IDEs' and include their files to be ignored (like '.idea' for Pycharm) in the standardized .gitignore.On Thu, 30 Apr 2020 at 08:52, Alexey Pelykh <email@example.com> wrote:Dear community,Several PRs like https://github.com/OCA/hr/pull/824 arrived, and this gave me idea to suggest maybe we should have common .gitignore across all repositories? That way, changes like these would have more traction and discussions. Since nature of changes to .gitignore is adding new IDE and similar, it’s valuable to have that standardized, IMHO.What are your opinions?Kind regards,Alexey