-
ErCiccione[m]
.merge+ #1080
-
xmr-pr
Added
-
ErCiccione[m]
.merges
-
xmr-pr
#1027 #1074 #1075 #1080
-
ErCiccione[m]
.merge+ #1079
-
xmr-pr
Added
-
ErCiccione[m]
So, today i found out that 1/4 of the repository is made by duplicate screenshots -_-. I'm not gonna lie, i screamed a lot:
monero-project/monero-site #1082
-
fluffypony
hmmmm
-
fluffypony
ErCiccione[m]: removing it won't change the repo size
-
fluffypony
it will remove it out of the working directory, but it'll remain in .git as it's historical
-
xmr-pr
erciccione opened pull request #1083: Update screenshots of user guide 'verification-windows-beginner.html' ...
-
xmr-pr
-
xmr-pr
erciccione opened issue #1082: Fix insane number of duplicated png files used for user guides
-
xmr-pr
-
fluffypony
so you might as well not bother
-
ErCiccione[m]
yes sure, the git repo is gone at this point. But would be 120MB less heavy on people's hard drive, no?
-
moneromooo
It fixes runaway repo growth though.
-
fluffypony
nope
-
fluffypony
moneromooo: sure, but only if we're adding new languages or new user guides
-
fluffypony
I don't disagree with finding a way to tell jekyll "if this png doesn't exist translated use the default one"
-
fluffypony
also one nice thing ErCiccione[m] is that if these pngs have the same hash then it'll only store one blob for the history
-
fluffypony
and not hundreds of them
-
ErCiccione[m]
O yeah i got it now. The thing is that right now to change one user guide's PNGs we have to change all screenshots for all languages. That will make the history heavier with each PR and doesn't make any sense
-
moneromooo
Oh, that's a good point. I forgot about this...
-
fluffypony
you might be able to do it in Liquid, ErCiccione[m]
-
ErCiccione[m]
yeah that make sense. But still, changing more than 100 pictures when changing one user guide is insane. I think i will put all png's in the resources folder and create a folder for the languages only if the screenshots get updated
-
ErCiccione[m]
liquid doesn't handle files very well, needs some tweaks
-
ErCiccione[m]
basically we have to tell it manually where to go get the files. The "if file exists" thing doesn't work with liquid afaik
-
fluffypony
-
fluffypony
looping through site.static_files is inefficient, but given that we jekyll build infrequently I don't think it's a problem
-
fluffypony
else you have to do it in Ruby :-P
-
ErCiccione[m]
Yeah i already read that for another PR i was working on (the video in the homepage. That's the only way to do it, but i remember being problematic for some reason
-
asymptotically
are there any other changes to the _config/nginx.conf other than the version numbers?
-
ErCiccione[m]
asymptotically: that config file is quite old, may be very different now. I think binaryfate said he will upload an updated one
-
ErCiccione[m]
anyway. I feel better knowing that the size is either not affected or there is nothing to do about it anymore. Thanks fluffypony :P
-
asymptotically
not sure why the `rewrite ^ /cli/montello.tar.bz2 redirect;` goes from https to http
-
ErCiccione[m]
Will change it anyway, but i can remove the "priority" label
-
asymptotically
we have the technology to nuke all of the images :D it'll just break all of the open PRs and upset anyone that has branched off
-
ErCiccione[m]
I don't think we have open PRs touching images of the user guides. Anyway it will require time, but imo is really necessary.
-
ErCiccione[m]
Now i remember what was the issue with looping through site.static_files for the promo video. Could be not relevant in this case, which would make things easier.
-
ErCiccione[m]
I updated the issue