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

Muzzle improvements: docs, javadocs, renamings and minor refactoring #1379

Merged
merged 3 commits into from
Oct 14, 2020

Conversation

mateuszrzeszutek
Copy link
Member

Contents:

  • Renamed almost all muzzle classes, moved some of them to two different packages (collector or matcher) depending on how and when they're used;
  • Added/improved javadocs in classes that had no/poor documentation;
  • Documented compile-time and runtime muzzle functionality in muzzle.md;
  • Documented muzzle gradle plugin usage (as much as I understand it);
  • Split Reference.Flag to several different enums;
  • Refactored HelperReferenceWrapper so that it uses Java 8 streams instead of Guava.

This PR does not solve #536, but at least it clears up some of the questions that appeared there.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

Great stuff!

  • 👍 Renamed almost all muzzle classes, moved some of them to two different packages (collector or matcher) depending on how and when they're used;
  • ❤️ Added/improved javadocs in classes that had no/poor documentation;
  • ❤️ Documented compile-time and runtime muzzle functionality in muzzle.md;
  • ❤️ Documented muzzle gradle plugin usage (as much as I understand it);
  • 👍 Split Reference.Flag to several different enums;
  • 👍 Refactored HelperReferenceWrapper so that it uses Java 8 streams instead of Guava.

docs/contributing/muzzle.md Outdated Show resolved Hide resolved
docs/contributing/muzzle.md Outdated Show resolved Hide resolved
./gradlew :instrumentation:google-http-client-1.19:printReferences
```

* `muzzle` task runs the runtime muzzle verification against different library versions:
Copy link
Member

Choose a reason for hiding this comment

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

I'd suggest putting muzzle before printReferences since most important

Copy link
Member

Choose a reason for hiding this comment

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

not related to this PR, but should we rename the printReferences to something that includes muzzle in the task name? e.g. muzzlePrintReferences?

Copy link
Member

Choose a reason for hiding this comment

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

@pavolloffay makes sense 👍

docs/contributing/muzzle.md Outdated Show resolved Hide resolved
docs/contributing/muzzle.md Outdated Show resolved Hide resolved
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

🎉

@trask trask merged commit ee0e0a9 into open-telemetry:master Oct 14, 2020
@mateuszrzeszutek mateuszrzeszutek deleted the muzzle-improvements branch November 18, 2022 10:26
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.

None yet

3 participants