Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow generator to continue even if any errors encountered in fetch comparison#736

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

carabasdaniel
Copy link

This PR fixes issue:#665

There might be a more elegant solution to catch only StandardError instead of the general Exception but I think this should ensure that the change log is generated in most cases even through various errors encountered by the fetcher.

alvarosanchez reacted with thumbs up emoji
@ferrarimarco
Copy link
Contributor

Hi@carabasdaniel !

Thanks for this PR.

Can you please also provide test cases?

@carabasdaniel
Copy link
Author

Hi@ferrarimarco, I've added two unit tests and amended the commit.

@hzxuzhonghu
Copy link

Any update

@hzxuzhonghu
Copy link

I met similar error

/usr/local/bundle/gems/octokit-4.14.0/lib/octokit/response/raise_error.rb:16:in `on_complete': GET https://api.github.com/repos/volcano-sh/volcano/compare/d454490cca88891c1ca8b1a85c4506d115574a21...v0.1: 404 - No common ancestor between d454490cca88891c1ca8b1a85c4506d115574a21 and v0.1. // See: https://developer.github.com/v3/repos/commits/#compare-two-commits (Octokit::NotFound)

@genebean
Copy link

@ferrarimarco any update on this PR?

@ferrarimarco
Copy link
Contributor

Hi. I'm thinking about the best strategy here. While this PR let you have a changelog, it may be an issue it silently fails during a CI build where you automatically generate the changelog.

@skywinder
Copy link
Member

Thanks, @carabasdanie.
The points of@ferrarimarco are valid.

In order to not change standard behavior we can implement this behavior with a special flag, like--continue-with-errors

@carabasdaniel
Copy link
Author

Hi@ferrarimarco@skywinder,

Added an option for continue_with_errors and rebased to latest master. Extracted add tag to pull request for rubocop complexity in generator fetcher.

@olleolleolle
Copy link
Collaborator

(This code will have some movement under it, as we're waiting on#784 to land, which makes changes in the same places.)

@ferrarimarco
Copy link
Contributor

@carabasdaniel can you rebase against the latest master?

@carabasdaniel
Copy link
Author

Hi@ferrarimarco,

Rebased but had to remove the initially added unit tests as they were no longer valid.

Copy link
Collaborator

@olleolleolleolleolleolle left a comment

Choose a reason for hiding this comment

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

I made a comment about code that made me curious.

@BogdanIrimie
Copy link

Have the same problem as@hzxuzhonghu would love to see this PR merged!

michael-grunder reacted with thumbs up emoji

@daianamezdrea
Copy link

Same problem here...any updates about this PR?

@tillchen
Copy link

👍

@tillchen
Copy link

This will be so helpful. Since the tool breaks because of a parent-less commit.

@ilopmar
Copy link

We've also hit this issue. Any updates about when this can be merged? Thanks :)

@olleolleolle
Copy link
Collaborator

The blocker is an unmet note above:

thecontinue_with_errors setting is mostly "read" at the beginning, then no more is done with it.

And, I can not find any test code which does things with this new setting.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@olleolleolleolleolleolleolleolleolle left review comments

@ferrarimarcoferrarimarcoAwaiting requested review from ferrarimarco

Assignees

@olleolleolleolleolleolle

Projects
None yet
Milestone
2.0.0
Development

Successfully merging this pull request may close these issues.

11 participants
@carabasdaniel@ferrarimarco@hzxuzhonghu@genebean@skywinder@olleolleolle@BogdanIrimie@daianamezdrea@tillchen@ilopmar@sheenaajay

[8]ページ先頭

©2009-2025 Movatter.jp