-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make sure every java file starts with the Apache license. #1067
Make sure every java file starts with the Apache license. #1067
Conversation
@@ -1,3 +1,18 @@ | |||
/* |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Unrelated side note: Why doesn't this project follow go/releasing/authors and go/releasing/contributions? |
We probably should at some point, but considering what is says in go/releasing/contributions I don't think it matters that much at this point. Also, a discussion about it should probably be in gcloud-common. |
I've added checks. They work from the IDE, but not from the command line. It looks like they have a different idea of what CWD is:
If I change the path to
Help welcome. |
Out of curiosity: in Intellij do you run the build by selecting gcloud-java or gcloud-java-contrib? |
In intellij I validate gcloud-java-nio by going to the "Maven Projects" tab, right-clicking gcloud-java-nio>validate, and selecting "Run Maven build". |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This is probably the reason for the error, Intellij runs maven in the gcloud-java-nio directory thus not finding gcloud-java-contrib/gcloud-java-nio/src/main/checkstyle/java.header. BTW, feel free to remove this check and open an issue for it, I will take care of adding it for the whole project. |
With pleasure. I removed it and created issue #1071. |
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright 2015 Google Inc. All Rights Reserved. | |||
* Copyright 2016 Google Inc. All Rights Reserved. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
🤖 I have created a release *beep* *boop* --- ## [2.3.4](googleapis/java-translate@v2.3.3...v2.3.4) (2022-09-15) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.10 ([#1069](googleapis/java-translate#1069)) ([2bee3ba](googleapis/java-translate@2bee3ba)) * Update dependency com.google.cloud:google-cloud-core to v2.8.11 ([#1073](googleapis/java-translate#1073)) ([8a869f6](googleapis/java-translate@8a869f6)) * Update dependency com.google.cloud:google-cloud-core to v2.8.9 ([#1066](googleapis/java-translate#1066)) ([69d391c](googleapis/java-translate@69d391c)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#1074](googleapis/java-translate#1074)) ([c8bfd65](googleapis/java-translate@c8bfd65)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#1077](googleapis/java-translate#1077)) ([aa9ef02](googleapis/java-translate@aa9ef02)) * Update dependency com.google.cloud:google-cloud-storage to v2.11.3 ([#1060](googleapis/java-translate#1060)) ([4d9a7ad](googleapis/java-translate@4d9a7ad)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* cleanup: remove migrated sample * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * cleanup: remove dangling tests Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
I used
grep -R -L 'LICENSE-2' * | grep '\.java' | grep -v 'generated-sources'
to find those files; I changed them all (including some outside of NIO).