ipfs-docs icon indicating copy to clipboard operation
ipfs-docs copied to clipboard

host a git repo: change --bare to --mirror; rename (remove "style")

Open RubenKelevra opened this issue 2 years ago • 6 comments

  • plus some minor language fixes

RubenKelevra avatar May 24 '22 23:05 RubenKelevra

Ah. We need to change the sidebar nav too. Hang on.

johnnymatthews avatar May 25 '22 14:05 johnnymatthews

Oh hm, I thought you can make changes to my PR branch, actually. But yes, I'll change the nav too.

However I think I'll make it also more clear that unpacking the files is actually a really bad idea - since you inflate the versions and get a massive increase in diskspace for the very low benefit (IMHO) of possible deduplication.

Will it would be cool to have IPFS understand, that two git repo versions are the same data I think it's not worth it.

For example the Linux repo inflates from around 8 GB to more than 50 GB this way.

Any opinion on that? :)

RubenKelevra avatar May 25 '22 14:05 RubenKelevra

@johnnymatthews : can you respond here so we can get this merged?

BigLep avatar Jun 03 '22 15:06 BigLep

Sorry for the delay. This got buried in a mountain of GH notifications.

For example the Linux repo inflates from around 8 GB to more than 50 GB this way.

Ah. In that case, yeah we really don't want users doing that.

I think it's not worth it.

Agreed.

johnnymatthews avatar Jun 07 '22 19:06 johnnymatthews

@johnnymatthews is this ready to merge, I see that CI is failing.

aschmahmann avatar Jun 24 '22 15:06 aschmahmann

@RubenKelevra you need to edit line 195 in /docs/.vuepress/config.js to be:

'/how-to/host-git-repo',

I can't edit your fork.

johnnymatthews avatar Jul 04 '22 19:07 johnnymatthews