Skip to content

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

Draft
aellispierce wants to merge 3 commits intomasterfrom
push-multiple-gems
Draft

πŸ§‘β€πŸ”¬ Prototype: Push multiple gems at once#2
aellispierce wants to merge 3 commits intomasterfrom
push-multiple-gems

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

Development

Successfully merging this pull request may close these issues.

1 participant