GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Making license headers in Python files more uniform by dhermes · Pull Request #2370 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Sep 20, 2016

Copy link
Copy Markdown
Contributor
  1. Originally started as a check for which files didn't have license headers (due to Moving core into designated package. #2367 (comment))
  2. Used a script to verify: https://gist.github.com/dhermes/17177b603e2b22902334947d9871529c
  3. Maybe we should incorporate the script into our build rule to prevent files checked in with bad or missing license headers?
  4. Should the script be extended to incorporate more than just Python files?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dhermes added 2 commits September 20, 2016 15:47
@dhermes
Making 2016 license headers uniform.
8c9c9d3
Done via:

$ git grep -l '# Copyright 2016 Google Inc. All Rights Reserved.' | \
> xargs sed -i 's/All Rights Reserved/All rights reserved/g'
@dhermes
Making all license headers uniform.
d286a6b
Also adding license headers where they are missing.

Also had to tweak the max lines allowed in a test module
due to added license header.

Used: https://gist.github.com/dhermes/17177b603e2b22902334947d9871529c
@dhermes dhermes added the hygiene label Sep 20, 2016
@dhermes dhermes assigned daspecster and tseaver Sep 20, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 20, 2016
@dhermes dhermes mentioned this pull request Sep 20, 2016
Moving core into designated package. #2367
Merged
@daspecster daspecster mentioned this pull request Sep 21, 2016
Automate the checking for proper licensing on files #2371
Closed
@daspecster

daspecster commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

I'm 👍 for point number 3. I added #2371 to discuss.
I think for number 4, that might be up to legal?

These updates LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

daspecster
daspecster approved these changes Sep 21, 2016
View reviewed changes
@dhermes dhermes mentioned this pull request Sep 22, 2016
Make sure our 2 years old license headers are in line with #2387
Closed
@dhermes
dhermes merged commit 99ac955 into googleapis:master Sep 22, 2016
@dhermes
dhermes deleted the license-header-check branch September 22, 2016 18:12
This was referenced Sep 23, 2016
Moving test _helpers back into library. #2394
Merged
Docs b0rken by 0.18.* releases #2406
Closed
Manually cut releases of each package #2441
Closed
@theacodes theacodes unassigned daspecster Sep 28, 2018
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
build: remove showcase integration tests ads (#2370)
8c6dda4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@daspecster daspecster daspecster approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@tseaver tseaver

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dhermes @daspecster @tseaver @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.