GithubHelp home page GithubHelp logo

Comments (10)

davetcoleman avatar davetcoleman commented on July 19, 2024

ping

from moveit.ros.org.

davetcoleman avatar davetcoleman commented on July 19, 2024

fyi I am about to force push to the website to reduce size from 266 MB to 123 MB using this tool:
https://rtyley.github.io/bfg-repo-cleaner/

And this command:

java -jar bfg-1.13.0.jar --strip-blobs-bigger-than 1M moveit.ros.org.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive

from moveit.ros.org.

davetcoleman avatar davetcoleman commented on July 19, 2024

A backup of the website (using git clone mirror) has been saved as a zip here:
https://drive.google.com/drive/u/1/folders/0B2gNuURgfmGMTm95WU52N1NseGc

from moveit.ros.org.

davetcoleman avatar davetcoleman commented on July 19, 2024

I'm force pushing now...

from moveit.ros.org.

rhaschke avatar rhaschke commented on July 19, 2024

Just stripping large blobs isn't a good idea I think: The images will be missing in history until they are added in their new, smaller version. What we should do is replace those images back in the offending commit and rebase newer history. In this fashion we will keep a consistent history.

from moveit.ros.org.

rhaschke avatar rhaschke commented on July 19, 2024

@davetcoleman, doesn't look like you force-pushed?

from moveit.ros.org.

davetcoleman avatar davetcoleman commented on July 19, 2024

First try failed to force push because I had branch protection still on:

remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: Cannot force-push to this protected branch

the BFG tool doesn't remove large files that are still in HEAD, so it won't affect current site

from moveit.ros.org.

rhaschke avatar rhaschke commented on July 19, 2024

Given this commit history:
a - B - c - d - b - x - y - z
where B corresponds to a commit pushing some huge files, and b to a commit replacing those files with smaller versions.
As far as I understand, the tool will remove B, such that the images will only be introduced in b. Hence, in the history between, the files will be missing. I suggest to rewrite the history as follows:
a - b - c - d - x - y - z,
i.e. replacing B with b.

from moveit.ros.org.

v4hn avatar v4hn commented on July 19, 2024

from moveit.ros.org.

rhaschke avatar rhaschke commented on July 19, 2024

I don't care very much for this website repo. But for source repos I do care. If we don't need the history anymore, fine.

from moveit.ros.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.