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

πŸ§‘β€πŸ”¬ Prototype: Push multiple gems at once #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aellispierce
Copy link

@aellispierce aellispierce commented Jan 12, 2022

Overview

When publishing a gem, this enables authors to push multiple gems at once using gem push <gems> [options]. If the user has MFA enabled, an OTP code is to be entered once. This reduces friction for gem owners that own many gems and would need to enter an OTP per gem push, which can be cumbersome.

Limitations

Gems may be pushed to only one gem host at a time. If the user attempts to push gems with separate default hosts simultaneously, the user will receive an error.

sign_in @host, scope: get_push_scope

gem_names.each do |gem_name|
send_gem(gem_name)
Copy link
Author

@aellispierce aellispierce Jan 12, 2022

Choose a reason for hiding this comment

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

ToDo: Rescue any failures

@aellispierce aellispierce force-pushed the push-multiple-gems branch 2 times, most recently from f642481 to 3fcdd8e Compare January 12, 2022 18:01
This is working when trying locally but the tests are still wip
@aellispierce aellispierce changed the title WIP: Pushing multiple gems πŸ§‘β€πŸ”¬ Prototype: Pushing multiple gems Jan 13, 2022
@aellispierce aellispierce changed the title πŸ§‘β€πŸ”¬ Prototype: Pushing multiple gems πŸ§‘β€πŸ”¬ Prototype: Push multiple gems at once Jan 13, 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
1 participant