Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Make it easier to put project IDE files in VCS that mix with personal settings. #187

Closed
fuzzyweapon opened this issue May 28, 2019 · 0 comments
Assignees
Labels
enhancement scaffolding build/distro/CI/etc

Comments

@fuzzyweapon
Copy link
Contributor

fuzzyweapon commented May 28, 2019

There are two problems that occur in the .idea folder:

  • when using composite configuration, this can mix in extra settings into files such as compiler.xml for the extra modules, but there can be important information that needs to go into vcs.
  • personal plugins also might mix in their per project configuration into core project configuration files (i.e. JB's Grazi plugin - a multilingual proofreader and grammar checker)

Solution to spike...
Use pre-commit hooks to allow for changes in the .idea directory that are not on the index (not yet added) to be shelved/stashed automatically so that developers do not need to worry about changes to tracked files in the .idea directory being accidentally committed.
to spike

  • does this idea play well with the IDE?
  • does a bash script work on both the standard git windows setups (ming64 and cmd) and macOS?

pros

  • theoretically works for CLI and IDEs
  • changes to project folders need to be explicit (in IDEA, it's very easy to mix ide project file changes in with regular commits)

cons

  • git hooks aren't easy to distribute. We'd probably want to adopt a little git hook manager or use a gradle task from a plugin like we do for composite configuration to pull down and install the hooks on a repo. This doesn't cover updates to those scripts though, and that's something to consider.
  • It's possible that both batch and bash files must be maintained?
@fuzzyweapon fuzzyweapon added enhancement scaffolding build/distro/CI/etc labels May 28, 2019
@fuzzyweapon fuzzyweapon self-assigned this May 28, 2019
@fuzzyweapon fuzzyweapon changed the title Start storing .idea/compiler.xml in repos Make it easier to put project IDE files in VCS that mix with personal settings. May 29, 2019
@nbilyk nbilyk closed this as completed Mar 2, 2020
nbilyk added a commit that referenced this issue Jul 22, 2020
Close all obsolete issues
closes #0, closes #1, closes #2, closes #3, closes #4, closes #5, closes #6, closes #7, closes #8, closes #9, closes #10, closes #11, closes #12, closes #13, closes #14, closes #15, closes #16, closes #17, closes #18, closes #19, closes #20, closes #21, closes #22, closes #23, closes #24, closes #25, closes #26, closes #27, closes #28, closes #29, closes #30, closes #31, closes #32, closes #33, closes #34, closes #35, closes #36, closes #37, closes #38, closes #39, closes #40, closes #41, closes #42, closes #43, closes #44, closes #45, closes #46, closes #47, closes #48, closes #49, closes #50, closes #51, closes #52, closes #53, closes #54, closes #55, closes #56, closes #57, closes #58, closes #59, closes #60, closes #61, closes #62, closes #63, closes #64, closes #65, closes #66, closes #67, closes #68, closes #69, closes #70, closes #71, closes #72, closes #73, closes #74, closes #75, closes #76, closes #77, closes #78, closes #79, closes #80, closes #81, closes #82, closes #83, closes #84, closes #85, closes #86, closes #87, closes #88, closes #89, closes #90, closes #91, closes #92, closes #93, closes #94, closes #95, closes #96, closes #97, closes #98, closes #99, closes #100, closes #101, closes #102, closes #103, closes #104, closes #105, closes #106, closes #107, closes #108, closes #109, closes #110, closes #111, closes #112, closes #113, closes #114, closes #115, closes #116, closes #117, closes #118, closes #119, closes #120, closes #121, closes #122, closes #123, closes #124, closes #125, closes #126, closes #127, closes #128, closes #129, closes #130, closes #131, closes #132, closes #133, closes #134, closes #135, closes #136, closes #137, closes #138, closes #139, closes #140, closes #141, closes #142, closes #143, closes #144, closes #145, closes #146, closes #147, closes #148, closes #149, closes #150, closes #151, closes #152, closes #153, closes #154, closes #155, closes #156, closes #157, closes #158, closes #159, closes #160, closes #161, closes #162, closes #163, closes #164, closes #165, closes #166, closes #167, closes #168, closes #169, closes #170, closes #171, closes #172, closes #173, closes #174, closes #175, closes #176, closes #177, closes #178, closes #179, closes #180, closes #181, closes #182, closes #183, closes #184, closes #185, closes #186, closes #187, closes #188, closes #189, closes #190, closes #191, closes #192, closes #193, closes #194, closes #195, closes #196, closes #197, closes #198, closes #199, closes #200, closes #201, closes #202, closes #203, closes #204, closes #205, closes #206, closes #207, closes #208, closes #209, closes #210, closes #211, closes #212, closes #213, closes #214, closes #215, closes #216, closes #217, closes #218, closes #219, closes #220, closes #221, closes #222, closes #223, closes #224, closes #225, closes #226, closes #227, closes #228, closes #229, closes #230, closes #231, closes #232, closes #233, closes #234, closes #235, closes #236, closes #237, closes #238, closes #239, closes #240, closes #241, closes #242, closes #243, closes #244, closes #245, closes #246, closes #247, closes #248, closes #249, closes #250, closes #251, closes #252, closes #253, closes #254, closes #255, closes #256, closes #257, closes #258, closes #259, closes #260, closes #261, closes #262, closes #263, closes #264, closes #265, closes #266, closes #267, closes #268, closes #269, closes #270, closes #271, closes #272, closes #273, closes #274
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement scaffolding build/distro/CI/etc
Projects
None yet
Development

No branches or pull requests

2 participants