symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.41k stars 145 forks source link

[Patch] Preserve downloads symforce-org.github.io #200

Closed bradley-solliday-skydio closed 2 years ago

bradley-solliday-skydio commented 2 years ago

It turns out there were some files and directories already present in symforce-org/symforce-org.github.io which aren't regenerated by make docs yet we still want to preserve.

Since redownloading the contents of downloads each time didn't seem pleasant, and because I didn't want us to have to go through a big dance every time we add a file to symforce-org.github.io, I am using a modified version of the old action to push to the repo which has an option to preserve certain files in the destination repo.

bradley-solliday-skydio commented 2 years ago

This is what symforce-org/symforce-org.github.io would look like after a run of this workflow: image Note in particular how the downloads folder is still present.

Here is the commit that was added in the above screenshot: https://github.com/bradley-solliday-skydio/symforce-org.github.io/commit/19429b10d0d519a6fc5d5fec951e385b8c55fdaa

You can use it to see what changes occurred (note, some of the changes occurred because we moved around some files and directories, so that makes it a little harder to read).

Also note, that commit added 8000 lined but deleted 43,000. I'm not exactly sure where those deleted 35,000 lines are, but I wouldn't be surprised if it includes something important. So let's make sure we know what's getting deleted and that it actually is something we want to delete before we approve this.