-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Integrate Bootstrap #387
Integrate Bootstrap #387
Conversation
TODO:
|
Coincidentally, Bootstrap 3.3.7 has just been released, so we should upgrade before merging this. |
This is awesome and will help us make it look nice :-) Just a question: why not using git submodule to link bootstrap code? |
It didn't come to mind because I never use them and they have a bad reputation, but I guess we could try. |
It is not a big deal when you use it for external projects. A lot of bug have been fixed also. After that I think bower.io is also a simple solution for referencing external code (simpler to use than git submodule). Any preference? |
No Bower. Preferred solutions:
|
Let's go with 3, but using submodule afterward will make handling upgrade easier. |
We can make it easy to upgrade no matter which option we choose. |
Maybe, but using submodule reduce the codebase and the diff. Although it is always possible to patch a vendor code by forking it and referencing the fork in the submodule. |
Option 2 (using a tarball and git-lfs) has the same advantages, only option 3 (storing the files directly in our git) generates diff noise. |
You're right. I never used git-lfs yet. |
I explored the possibilities of using git-lfs for this, but if we did that then we'd have to add git-lfs as a required dependency (right now it's only used for the PDFs of MangoPay's terms, so it's optional). |
Deploying this broke everything because |
Upstream has a pull request to bring back compatibility with older GCC versions, sass/libsass#1623, but we can't wait for that. |
The libsass python package actually provides binaries. |
Regarding the submodule option, usually, I create a vendor directory in the root directory. Do you prefer me to keep the current architecture and I will have to find how to make a submodule that point to a repository subdirectory (https://github.com/twbs/bootstrap-sass/tree/master/assets/stylesheets). What do you prefer? If you think it is a waste of time, tell me. |
There's no point in changing the integration now, we went with option 3 (directly including the Bootstrap source in our git), let's stick with it until we have a good reason to switch to something else. |
This PR is to unblock #183, it allows customizing Bootstrap by modifying the new
style/variables.scss
file. Ping @MartinDelille and @Calinou.