committing ide meta files: misconceptions, misunderstandings, and solutions
TRANSCRIPT
Committing IDE meta files: misconceptions, misunderstandings, and solutions.
Aurelien Pupier - @apupier
Studio Development Leader
© 2015 Bonitasoft 2
IDE Meta files: what?
Storage of data describing a
project/module
3 © 2015 Bonitasoft
IDE Meta files: what for?
For the best development Experience
4 © 2015 Bonitasoft
IDE Meta files: what for in details?
• Checkstyle & code conventions
• Specify toolchain
• Commit message format
• And more!
5 © 2015 Bonitasoft
IDE Meta files advantages
• Share common configuration within team
• Help newcomers
• Help casual contributors
• LTS
6 © 2015 Bonitasoft
IDEs tour: Commit or not recommendation
7 © 2015 Bonitasoft
IntelliJ IDEA
• article
– Commits .idea (replacing .iml and .ipr)
8 © 2015 Bonitasoft
• documentation
– “folders should not be checked into that version control
system.”
– “nbproject should be checked into the version control
system”
9 © 2015 Bonitasoft
XCode
• answer
– .xccheckout to commit
– .xcuserdata not to commit
10 © 2015 Bonitasoft
•Unity official documentation:
–“When checking the project into a
version control system, you should add
the Assets and
the ProjectSettings directories to the
system.”
11 © 2015 Bonitasoft
Eclipse
• Eclipse forum answer
• blog article from an Eclipse trainer
– .project
– .settings/
– .classpath
12 © 2015 Bonitasoft
Why don’t you want to commit?
13 © 2015 Bonitasoft
Heard arguments to not commit (1/4)
• Relative to an environment
– Several years ago yes
• Never encountered, I’m lucky or too young
• Found 2004 detailed report
– Very specific use cases:
• use IDE variables
14 © 2015 Bonitasoft
Heard arguments to not commit (2/4)
• Pollutes other IDEs:
– Hide files
15 © 2015 Bonitasoft
Heard arguments to not commit (3/4)
• Locked to a specific IDE:
– You’re not!
– Hide files
16 © 2015 Bonitasoft
Heard arguments to not commit (4/4)
• Different IDE versions across team:
– Works like a charm for years for us with Eclipse
17 © 2015 Bonitasoft
If you (and he/she) loose
18 © 2015 Bonitasoft
Visit us online bonitasoft.com
Join our community Bonitasoft.org
Download Bonitasoft.com/downloads
Follow us on twitter @bonitasoft
Convince & Commit (and Report/Contribute)
@apupier
© 2015 Bonitasoft 19
20 © 2015 Bonitasoft