findepi commented on issue #10422:
URL: https://github.com/apache/datafusion/issues/10422#issuecomment-2230671934

   if we want to fix this, this will require a force push to `main` branch and 
also doing something about tags that reference the commit that includes 
`docs/docs.tgz` file (`39.0.0`, `39.0.0-rc1`, `40.0.0`, `40.0.0-rc1`).
   
   Fixing `main` is simple (but painful)
   
   i prepared a `main` branch copy with the docs archive removed (based on main 
as of today, commit 133128840ca3dbea200dcfe84050cb7b82bf94a8), someone would 
need to push that into the `main`
   
   ```
   git fetch https://github.com/findepi/datafusion findepi/main-without-docs
   main_fixed=$(git rev-parse FETCH_HEAD)
   current_main=133128840ca3dbea200dcfe84050cb7b82bf94a8 # commit on `main`
   fork_point=$(git merge-base $main_fixed $current_main)
   
   # verify
   git show $main_fixed
   git diff $current_main $main_fixed # same content
   
   # verify history -- this should show `remove docs archive` commit omitted
   git diff <(git log $fork_point..$current_main --format=%s) <(git log 
$fork_point..$main_fixed --format=%s)
   
   # apply
   git checkout main
   git reset --hard $main_fixed
   
   # apply commits from real current main
   git fetch https://github.com/apache/datafusion main
   git cherry-pick $current_main..FETCH_HEAD
   
   # publish
   git push https://github.com/apache/datafusion main:main --force-with-lease
   ```
   
   once we do the above, then we need to delete (replace?) the release tags 
mentioned above
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to