Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

[proposal] Rewrite site modules system to use composer #204

Open
seyfer opened this issue Jan 29, 2015 · 0 comments
Open

[proposal] Rewrite site modules system to use composer #204

seyfer opened this issue Jan 29, 2015 · 0 comments

Comments

@seyfer
Copy link
Contributor

seyfer commented Jan 29, 2015

Submodule system is awful. All going good until you need remove submodule..

To remove a submodule you need to:

Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes git add .gitmodules
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule (no trailing slash).
Run rm -rf .git/modules/path_to_submodule
Commit git commit -m "Removed submodule <name>"
Delete the now untracked submodule files
rm -rf path_to_submodule

And all other not standard adding operations became git conflict and problem hell.

Composer is better modern solution. You can just host composer.json for each branch with required modules list and build site on it.

And more important - it will force developers to add composer.json and add packets to packagist.

Kohana 3.4 will implement composer installation too by default.

@seyfer seyfer changed the title Rewrite site modules system to use composer [proposal] Rewrite site modules system to use composer Jan 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant