Skip to content

Update the index squashing script to push snapshot branches to this repo instead #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
carols10cents opened this issue Feb 11, 2022 · 4 comments
Open
1 task done
Assignees

Comments

@carols10cents
Copy link
Member

carols10cents commented Feb 11, 2022

After:

I haven't looked for the index squashing script yet, if someone knows where it is and could drop a link that would be helpful.

@carols10cents
Copy link
Member Author

I'm happy to do this once the admin tasks are completed.

@carols10cents carols10cents self-assigned this Feb 11, 2022
@ehuss
Copy link

ehuss commented Feb 11, 2022

I haven't looked for the index squashing script yet, if someone knows where it is and could drop a link that would be helpful.

The squash code is here: https://github.com/rust-lang/crates.io/blob/9744a25a6c8e0adead72dc54f6d90faf14da6800/src/worker/git.rs#L86-L120

@carols10cents
Copy link
Member Author

We can leave one snapshot branch around for about a week or even a bit longer. So my current plan is to update the squashing code to:

  • Do what it currently does
  • Push the previous snapshot branch to the archive repo
  • Delete the previous snapshot branch

Thoughts?

@ehuss
Copy link

ehuss commented Feb 16, 2022

Seems reasonable to me, thanks for looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants