Add MIT license reference headers across Python and shell sources - #69
Merged
Merged
Conversation
Co-authored-by: oldtopos <2193065+oldtopos@users.noreply.github.com>
Co-authored-by: oldtopos <2193065+oldtopos@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add MIT license reference headers to all source files
Add MIT license reference headers across Python and shell sources
Aug 17, 2026
oldtopos
approved these changes
Aug 18, 2026
There was a problem hiding this comment.
Pull request overview
This PR implements repo-wide licensing hygiene by adding a consistent MIT license reference header to Python and shell sources, pointing contributors to the canonical LICENSE file in the project root.
Changes:
- Added a standardized two-line MIT license reference header to
*.pyand*.shfiles (preserving shebang placement where present). - Introduced several new
__init__.pyfiles containing only the header (per diff), expanding header coverage to those modules/packages.
Reviewed changes
Copilot reviewed 66 out of 66 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| stop_web.sh | Add MIT license reference header below shebang. |
| start_web.sh | Add MIT license reference header below shebang. |
| siteapps/users/views.py | Add MIT license reference header. |
| siteapps/users/urls.py | Add MIT license reference header. |
| siteapps/users/tests.py | Add MIT license reference header. |
| siteapps/users/models.py | Add MIT license reference header. |
| siteapps/users/middleware.py | Add MIT license reference header. |
| siteapps/users/auth_backend.py | Add MIT license reference header. |
| siteapps/users/apps.py | Add MIT license reference header. |
| siteapps/users/api_client.py | Add MIT license reference header. |
| siteapps/users/admin.py | Add MIT license reference header. |
| siteapps/users/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/species/views.py | Add MIT license reference header. |
| siteapps/species/urls.py | Add MIT license reference header. |
| siteapps/species/tests.py | Add MIT license reference header. |
| siteapps/species/models.py | Add MIT license reference header. |
| siteapps/species/management/commands/load_inat_taxonomy.py | Add MIT license reference header. |
| siteapps/species/management/commands/create_species_names.py | Add MIT license reference header. |
| siteapps/species/apps.py | Add MIT license reference header. |
| siteapps/species/admin.py | Add MIT license reference header. |
| siteapps/species/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/socialmedia/web_views.py | Add MIT license reference header. |
| siteapps/socialmedia/views.py | Add MIT license reference header. |
| siteapps/socialmedia/urls.py | Add MIT license reference header. |
| siteapps/socialmedia/tests.py | Add MIT license reference header. |
| siteapps/socialmedia/test_web_views.py | Add MIT license reference header. |
| siteapps/socialmedia/test_moderation.py | Add MIT license reference header. |
| siteapps/socialmedia/test_auth_and_utils.py | Add MIT license reference header. |
| siteapps/socialmedia/moderation.py | Add MIT license reference header. |
| siteapps/socialmedia/models.py | Add MIT license reference header. |
| siteapps/socialmedia/mixins.py | Add MIT license reference header. |
| siteapps/socialmedia/apps.py | Add MIT license reference header. |
| siteapps/socialmedia/admin.py | Add MIT license reference header. |
| siteapps/socialmedia/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/sightings/views.py | Add MIT license reference header. |
| siteapps/sightings/utils.py | Add MIT license reference header. |
| siteapps/sightings/urls.py | Add MIT license reference header. |
| siteapps/sightings/throttles.py | Add MIT license reference header. |
| siteapps/sightings/tests.py | Add MIT license reference header. |
| siteapps/sightings/models.py | Add MIT license reference header. |
| siteapps/sightings/management/commands/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/sightings/management/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/sightings/apps.py | Add MIT license reference header. |
| siteapps/sightings/init.py | Add new __init__.py containing MIT license reference header. |
| siteapps/home/views.py | Add MIT license reference header. |
| siteapps/home/urls.py | Add MIT license reference header. |
| siteapps/home/tests.py | Add MIT license reference header. |
| siteapps/home/models.py | Add MIT license reference header. |
| siteapps/home/context_processors.py | Add MIT license reference header. |
| siteapps/home/apps.py | Add MIT license reference header. |
| siteapps/home/admin.py | Add MIT license reference header. |
| siteapps/home/init.py | Add new __init__.py containing MIT license reference header. |
| similarity/test_similarity.py | Add MIT license reference header. |
| similarity/similarity.py | Add MIT license reference header. |
| similarity/init.py | Add new __init__.py containing MIT license reference header. |
| manage.py | Add MIT license reference header below shebang. |
| config/wsgi/staging.py | Add MIT license reference header. |
| config/wsgi/prod.py | Add MIT license reference header. |
| config/wsgi/local.py | Add MIT license reference header. |
| config/version.py | Add MIT license reference header. |
| config/urls.py | Add MIT license reference header. |
| config/settings/staging.py | Add MIT license reference header. |
| config/settings/prod.py | Add MIT license reference header. |
| config/settings/local.py | Add MIT license reference header. |
| config/settings/base.py | Add MIT license reference header. |
| config/init.py | Add new __init__.py containing MIT license reference header. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1
to
4
| # Licensed under the MIT License. | ||
| # See LICENSE file in the project root for full license information. | ||
|
|
||
| """ |
Comment on lines
+1
to
+3
| # Licensed under the MIT License. | ||
| # See LICENSE file in the project root for full license information. | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR addresses the repo-wide licensing hygiene task by adding explicit MIT license reference headers to source files and standardizing how files point to the canonical
LICENSEtext.Scope
*.pyand*.shsource files.Conventions honored
Header format