Skip to content
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

bug: 6.26 GB file in git #2997

Closed
admin8756 opened this issue Apr 24, 2024 · 6 comments
Closed

bug: 6.26 GB file in git #2997

admin8756 opened this issue Apr 24, 2024 · 6 comments

Comments

@admin8756
Copy link

What version of daisyUI are you using?

4.10.2

Which browsers are you seeing the problem on?

Other

Reproduction URL

https://github.com/saadeghi/daisyui/tree/master

Describe your issue

image
image
When cloning the repository, I encountered an extremely large file.

Copy link

Thank you @admin8756 for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

This is not a bug. The repository includes different branches. You would only need the master branch.

First fork the repo. While forking, check the Copy the master branch only checkbox. Then clone the forked repo to your local.

@polyzen
Copy link

polyzen commented Apr 24, 2024

git clone --single-branch https://github.com/saadeghi/daisyui.git should also do the trick.

@admin8756
Copy link
Author

git clone --single-branch https://github.com/saadeghi/daisyui.git should also do the trick.

Hi. Friend. I think this is not right. Because I have no problem cloning most repositories. I am saying that a large file has appeared. You all told me that just clone the master is enough. I am not looking for a solution. I'm just reporting an issue. This should not appear. Not how to solve it. Because I have already cloned it. So it doesn't help me at all. I don't understand the reason for this problem. However, thank you very much. Wishing you a happy life.

@saadeghi
Copy link
Owner

My friend...
As I said, the repo includes multiple branches:

  • v3.9.4-static
  • v3
  • v1.25.4-static
  • v2.52.0-static
  • v2
  • gh-pages

These branches are archives of past versions and generated framework static files for the documents of current version and each of the past versions. We use these branches to keep a live docs website for past versions (like https://v2.daisyui.com/)

These branches, especially the generated static ones are heavy because they include all the static files and gz+br compressed version of each of the assets. You don't need to clone these branches. Cloning the master branch is enough.

@admin8756
Copy link
Author

My friend... As I said, the repo includes multiple branches:

  • v3.9.4-static
  • v3
  • v1.25.4-static
  • v2.52.0-static
  • v2
  • gh-pages

These branches are archives of past versions and generated framework static files for the documents of current version and each of the past versions. We use these branches to keep a live docs website for past versions (like https://v2.daisyui.com/)

These branches, especially the generated static ones are heavy because they include all the static files and gz+br compressed version of each of the assets. You don't need to clone these branches. Cloning the master branch is enough.

Oh, you are right! Just as you said. It would be great to add a clone tip in the contribution document. Here is the link: CONTRIBUTING.md. Also, I have to say, I love DaisyUI so much. Yesterday, my friend said he didn't like it. I kicked his butt hard. I simply can't stand anyone saying bad things about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants