Skip to content

chore: drop Meta licensing (hook + headers)#342

Merged
franciscojavierarceo merged 2 commits intoogx-ai:mainfrom
cdoern:chore/remove-insert-license
May 1, 2026
Merged

chore: drop Meta licensing (hook + headers)#342
franciscojavierarceo merged 2 commits intoogx-ai:mainfrom
cdoern:chore/remove-insert-license

Conversation

@cdoern
Copy link
Copy Markdown
Collaborator

@cdoern cdoern commented Apr 30, 2026

Summary

This is no longer a project requiring a meta license. Two-commit cleanup:

  1. Drop the pre-commit hook + header file so new files don't get re-stamped:
    • Remove the `insert-license` hook from `.pre-commit-config.yaml`
    • Delete `scripts/license_header.txt` (the Meta-attribution header it injected)
  2. Strip existing headers from every `.py` / `.sh` in the tree (286 files) — removes the 5-line `Copyright (c) Meta Platforms, Inc. and affiliates` block.

Test plan

  • No `Meta Platforms` references remain anywhere in the tree
  • `.pre-commit-config.yaml` parses; remaining hooks (ruff, ruff-format, blacken-docs, etc.) are untouched
  • CI: pre-commit job is green and no longer runs `insert-license`

This is no longer a Meta project, so we don't want pre-commit re-stamping new files with the Meta copyright header.

- Remove the insert-license hook from .pre-commit-config.yaml
- Delete scripts/license_header.txt (the Meta-attribution header it injected)

Existing headers in source files are left in place for now; they can be scrubbed in a follow-up.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
@cdoern cdoern changed the title chore: drop insert-license pre-commit hook chore: drop Meta licensing (hook + headers) Apr 30, 2026
This is no longer a Meta project. Removes the 5-line "Copyright (c) Meta Platforms, Inc. and affiliates" block from every .py / .sh under the repo (286 files).

Pairs with dropping the insert-license pre-commit hook in the previous commit so the headers don't get re-stamped.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
@cdoern cdoern force-pushed the chore/remove-insert-license branch from a067813 to 88ae78d Compare May 1, 2026 00:00
@franciscojavierarceo franciscojavierarceo merged commit 7a863d3 into ogx-ai:main May 1, 2026
53 checks passed
@stainless-app stainless-app Bot mentioned this pull request May 1, 2026
cdoern pushed a commit that referenced this pull request May 2, 2026
Automated Release PR
---


## 0.8.0-alpha.1 (2026-05-01)

Full Changelog:
[v0.7.2-alpha.4...v0.8.0-alpha.1](v0.7.2-alpha.4...v0.8.0-alpha.1)

### Features

* **cli:** wire up ogx-client CLI entrypoint
([#341](#341))
([d67b7f3](d67b7f3))


### Bug Fixes

* restore deps, ignores, and lazy lib init after rename
([#339](#339))
([b36f998](b36f998))


### Chores

* drop Meta licensing (hook + headers)
([#342](#342))
([7a863d3](7a863d3))
* **internal:** reformat pyproject.toml
([2e4bf09](2e4bf09))

---
This pull request is managed by Stainless's [GitHub
App](https://github.com/apps/stainless-app).

The [semver version
number](https://semver.org/#semantic-versioning-specification-semver) is
based on included [commit
messages](https://www.conventionalcommits.org/en/v1.0.0/).
Alternatively, you can manually set the version number in the title of
this pull request.

For a better experience, it is recommended to use either rebase-merge or
squash-merge when merging this pull request.

🔗 Stainless [website](https://www.stainlessapi.com)
📚 Read the [docs](https://app.stainlessapi.com/docs)
🙋 [Reach out](mailto:support@stainlessapi.com) for help or questions

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
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.

2 participants