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

Error when gemspec doesn't have source_code_uri, homepage_uri, or bug_tracker #3

Open
technicalpickles opened this issue May 9, 2024 · 2 comments

Comments

@technicalpickles
Copy link

technicalpickles commented May 9, 2024

I got this error when trying on https://github.com/rubyatscale/singed

❯ gem exec configure_trusted_publisher rubygem
configure_trusted_publisher rubygem: /Users/josh.nichols/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gem_exec/gems/configure_trusted_publisher-0.1.7/lib/configure_trusted_publisher/cli.rb:245:in `github_repository': No GitHub repository found for singed (RuntimeError)

I mean I should have one of those, but I forgotted.

Ideally, should tell user which thing to add to their gemspec.

@technicalpickles
Copy link
Author

Also, I suspect it would be pretty common for gems to have homepage, but not metadata for source_code_uri and whatnot

@segiddins
Copy link
Member

I also check spec.homepage. I suppose I could use git to try and get the remote... but there is no homepage in that spec. A suggestion to add it is a good one!

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