-
Notifications
You must be signed in to change notification settings - Fork 1
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
Could we merge Patterns-site and Patterns again? #4
Comments
big question, requires discussion. I propose to do that next week.
Alexander Pilz |
We had several reasons for the split initially:
The split helped to address these issues, but introduced some new ones. I still see some value in having the main website separate from the code, but I'm not entirely sure how strongly opinionated I am about that. Considering that others are doing the majority of the work now I certainly don't want to block a merge if the current developers feel that is the best approach. |
Thanks @wichert for the feedback. Good to know the original motivations. I find the current situation untenable due to the duplication of documentation and extra work required to keep the two repos in sync.
We should be able to come up with a way to use require.js for dev and a bundle file for production.
True but a price worth paying I think. We can ignore all the Jekyll stuff in bower.json so that at least the bower package is much cleaner.
The public website also acts as the documentation store, so frequent updates to it as patterns are changed or introduced are to be expected. I think the important thing is to manage releases properly. The current/live release should always have a release tag in git (and on Github). |
Current Problems with the separation of website and code
However, we don't necessarily need to merge the repositories to fix that. Proposed Solution
Deliverables
Further ReadingBased on that work, we can then complete the website by doing:
|
where we use the markdown and example from Patterns repo instead of from Patterns-site See #4
This item might become current again since the design update I did today to patternslib.com I temporarily added the demos in a quick and dirty way to the site to make them run (some or broken still like calendar). I also copied the documentation over to the Jekyll site — at least for the moment — so that I can view and maintain it there. |
Hi @pilz and @cornae
As far as I know, Patterns-site was forked out of Patterns to keep Patterns small, right?
Are there any other reasons why Patterns-site was created?
Currently a new clone of Patterns-site is 69MB
and a new clone of Patterns is 66MB
Without the
.git
folders Patterns is 19MB and Patterns-site 27MB.So there's actually not much of a size benefit at all when one ignores the git histories, and instead we get much duplication and confusion.
For example:
I'm currently working on pat-clone and I'm not sure where I should put the demo files. I previously added pat-masonry's demo files in Patterns, but now I think @cornae is not even aware of that because he works in Patterns-site.
To avoid these problems I therefore propose that we merge the two repos again.
We can purge the old unused Binary files from git and thereby make the
.git
folders much smaller.This will solve the size problem.
For archaeological purposes we can fork the current Patterns repo (call it Patterns-archive or something) so that we still have a copy of the old git history with all the old Binary files.
What do you say?
The text was updated successfully, but these errors were encountered: