Skip to content
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

Pr graduation #68

Merged
merged 7 commits into from
Nov 11, 2022
Merged

Pr graduation #68

merged 7 commits into from
Nov 11, 2022

Conversation

kwryankrattiger
Copy link
Collaborator

@kwryankrattiger kwryankrattiger force-pushed the pr-graduation branch 8 times, most recently from ffb872f to 9d26e15 Compare October 21, 2022 17:42
@kwryankrattiger kwryankrattiger marked this pull request as ready for review October 21, 2022 17:43
@kwryankrattiger kwryankrattiger changed the title Draft: Pr graduation Pr graduation Oct 21, 2022
@kwryankrattiger kwryankrattiger force-pushed the pr-graduation branch 4 times, most recently from 811948c to 759ba02 Compare October 27, 2022 15:24
Copy link
Collaborator

@scottwittenburg scottwittenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kwryankrattiger, this looks like a lot of work, but is coming along nicely. I have added what I think are mostly questions, but also some requests. Hopefully you can straighten me out where I'm not getting it.

Also, a blanket request to apply to the change as a whole: Can you add docstrings to the new methods and describe the behavior of the methods, as well as expected inputs, and outputs?

Also, before it's all over, you're going to need to run black on your changes to get this to pass the style check. Just install it with pip and run black . from the top level of the repo, or maybe from the spackbot directory, I forget.

@kwryankrattiger kwryankrattiger force-pushed the pr-graduation branch 3 times, most recently from 8ae3dd8 to a2569ac Compare November 9, 2022 16:50
New Queues
* Remove queue singleton to make it easier to use multiple work queues
* Update worker entry point to select worker queue by WORKER_TASK_QUEUE

Use s3 URL instead of strings
* Fixes inconsistency if xxx_base_url contains a prefix component
* Makes working with s3 resources consistent everywhere
When a PR is closed by a merge:
* Copy the PR mirror to the graduated binaries mirror
* Prune duplicates that have already been updated in the "develop"
  mirror
* Reindex the graduated binaries mirror
* Delete the PR mirror

When a PR is closed, but not merged:
* Delete the PR mirror

This change removes the need for a sync script based cleaning of PR
binary mirrors.
Copy link
Collaborator

@scottwittenburg scottwittenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for getting this done!

@scottwittenburg scottwittenburg merged commit e468aba into spack:main Nov 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants