Skip to content

Add MIT license reference headers across Python and shell sources - #69

Merged
oldtopos merged 3 commits into
mainfrom
copilot/add-mit-license-headers
Aug 18, 2026
Merged

oldtopos merged 3 commits into
mainfrom
copilot/add-mit-license-headers

Conversation

Copilot AI commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

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 LICENSE text.

  • Scope

    • Added a compact two-line MIT reference header to tracked *.py and *.sh source files.
    • Preserved executable shebang ordering for script entrypoints.
  • Conventions honored

    • Kept generated migration files unchanged in the final patch to avoid hand-editing migration artifacts.
  • Header format

    # Licensed under the MIT License.
    # See LICENSE file in the project root for full license information.

Copilot AI and others added 2 commits August 17, 2026 21:13
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
Copilot AI requested a review from oldtopos August 17, 2026 21:16
@oldtopos
oldtopos marked this pull request as ready for review August 18, 2026 15:12
Copilot AI lite review requested due to automatic review settings August 18, 2026 15:12
@oldtopos
oldtopos merged commit b5b8ae3 into main Aug 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 *.py and *.sh files (preserving shebang placement where present).
  • Introduced several new __init__.py files 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 thread config/version.py
Comment on lines +1 to 4
# Licensed under the MIT License.
# See LICENSE file in the project root for full license information.

"""
Comment thread config/__init__.py
Comment on lines +1 to +3
# Licensed under the MIT License.
# See LICENSE file in the project root for full license information.

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.

chore: add MIT license reference headers to all source files

3 participants