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

Fixes modifyCollaborators for multiple users #900

Merged
merged 2 commits into from
Jul 27, 2020

Conversation

gastaldi
Copy link
Contributor

Fixes #868

Description

This PR makes sure that the Requester instance is not reused per user in the modifyCollaborators method

Before submitting a PR:

We love getting PRs, but we hate asking people for the same basic changes every time.

  • Push your changes to a branch other than master. Create your PR from that branch.
  • Add JavaDocs and other comments
  • Write tests that run and pass in CI. See CONTRIBUTING.md for details on how to capture snapshot data.
  • Run mvn clean compile locally. This may reformat your code, commit those changes.
  • Run mvn -D enable-ci clean install site locally. If this command doesn't succeed, your change will not pass CI.

When creating a PR:

  • Fill in the "Description" above.
  • Enable "Allow edits from maintainers".

I had some ideas about having multiple calls to  apend to build up paths,
but it turns out that idea is pretty bad.  `with*()` methods should
overwrite when called for the same field.

If we want to create and , we can do that later.
@bitwiseman
Copy link
Member

@gastaldi
Thanks for the PR!

I liked your formatting changes but they are separate from this PR, so I pulled them out and merged them first.
Next time please put formatting changes unrelated to the current change in a separate commit (or even a separate PR).

Your fix is perfectly good, but I made me realize that the withUrlPath() method change I made a while back was a bad idea. I pulled that out.

Good PR, and thanks again for contributing!

@bitwiseman bitwiseman merged commit 2b2be05 into hub4j:master Jul 27, 2020
@gastaldi gastaldi deleted the repo_fix branch July 27, 2020 20:23
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.

modifyCollaborators() fails with more than one user
2 participants