Skip to content

Switch project license from GPL-3.0 to MIT - #44

Merged
jchristopherson merged 7 commits into
masterfrom
copilot/switch-to-mit-license
Oct 1, 2026
Merged

jchristopherson merged 7 commits into
masterfrom
copilot/switch-to-mit-license

Conversation

Copilot AI commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Replace the repository’s GPL-3.0 license with MIT and add MIT license headers to all Fortran source files.

  • License: Replace LICENSE with the standard MIT license; update fpm.toml to declare MIT.
  • Fortran headers: Add copyright, license, and LICENSE reference to all 138 source files.
! Copyright (c) 2017-2026 Jason Christopherson
! Licensed under the MIT License. See the LICENSE file in the project root.

Co-authored-by: jchristopherson <28952490+jchristopherson@users.noreply.github.com>
Copilot AI changed the title [WIP] Switch repository license from GPL-3.0 to MIT Switch project license from GPL-3.0 to MIT Oct 1, 2026
Copilot AI requested a review from jchristopherson October 1, 2026 18:11

@jchristopherson jchristopherson left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Please expand the license header in each of the Fortran source files similar to the following:

Copyright (c) 2017-2026 Jason Christopherson
SPDX-License-Identifier: MIT

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement.

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.

Copilot review overview

🟡 Changes recommended

The Delaunay implementation’s upstream copyright and permission notice must be preserved before relicensing.

Review effort: Balanced
Findings: 3 Low severity

Open (3)
What changed in this PR

Switches FPLOT from GPL-3.0 to MIT licensing and applies consistent MIT headers across all 138 Fortran files.

Changes:

  • Replaces the repository license and updates FPM metadata.
  • Adds MIT copyright headers to source, documentation, examples, and tests.
File Description
LICENSE Replaces GPL-3.0 with MIT.
fpm.toml Declares MIT licensing.
src/​delaunay/​delaunay.f90 Adds MIT header.
src/​fplot_arrow.f90 Adds MIT header.
src/​fplot_colormap.f90 Adds MIT header.
src/​fplot_colors.f90 Adds MIT header.
src/​fplot_constants.f90 Adds MIT header.
src/​fplot_core.f90 Adds MIT header.
src/​fplot_core_routines.f90 Adds MIT header.
src/​fplot_delaunay_tri_surface.f90 Adds MIT header.
src/​fplot_errors.f90 Adds MIT header.
src/​fplot_filled_plot_data.f90 Adds MIT header.
src/​fplot_label.f90 Adds MIT header.
src/​fplot_latex_terminal.f90 Adds MIT header.
src/​fplot_legend.f90 Adds MIT header.
src/​fplot_multiplot.f90 Adds MIT header.
src/​fplot_pdf_terminal.f90 Adds MIT header.
src/​fplot_plot.f90 Adds MIT header.
src/​fplot_plot_2d.f90 Adds MIT header.
src/​fplot_plot_3d.f90 Adds MIT header.
src/​fplot_plot_axis.f90 Adds MIT header.
src/​fplot_plot_bar.f90 Adds MIT header.
src/​fplot_plot_data.f90 Adds MIT header.
src/​fplot_plot_data_2d.f90 Adds MIT header.
src/​fplot_plot_data_3d.f90 Adds MIT header.
src/​fplot_plot_data_bar.f90 Adds MIT header.
src/​fplot_plot_data_box_whisker.f90 Adds MIT header.
src/​fplot_plot_data_error_bars.f90 Adds MIT header.
src/​fplot_plot_data_function.f90 Adds MIT header.
src/​fplot_plot_data_histogram.f90 Adds MIT header.
src/​fplot_plot_data_tri_2d.f90 Adds MIT header.
src/​fplot_plot_object.f90 Adds MIT header.
src/​fplot_plot_polar.f90 Adds MIT header.
src/​fplot_png_terminal.f90 Adds MIT header.
src/​fplot_qt_terminal.f90 Adds MIT header.
src/​fplot_simplify.f90 Adds MIT header.
src/​fplot_stats_plots.f90 Adds MIT header.
src/​fplot_surface_plot.f90 Adds MIT header.
src/​fplot_surface_plot_data.f90 Adds MIT header.
src/​fplot_svg_terminal.f90 Adds MIT header.
src/​fplot_terminal.f90 Adds MIT header.
src/​fplot_tri_surface_plot_data.f90 Adds MIT header.
src/​fplot_triangulations_delaunay_2d.f90 Adds MIT header.
src/​fplot_vector_field_plot_data.f90 Adds MIT header.
src/​fplot_windows_terminal.f90 Adds MIT header.
src/​fplot_wxt_terminal.f90 Adds MIT header.
test/​fplot_3d_test.f90 Adds MIT header.
test/​fplot_arrow_test.f90 Adds MIT header.
test/​fplot_colormap_test.f90 Adds MIT header.
test/​fplot_delaunay_test.f90 Adds MIT header.
test/​fplot_test.f90 Adds MIT header.
examples/​arrow_example.f90 Adds MIT header.
examples/​bar_plot_example.f90 Adds MIT header.
examples/​box_whisker_example.f90 Adds MIT header.
examples/​clear_plot_example.f90 Adds MIT header.
examples/​colored_vector_plot_example.f90 Adds MIT header.
examples/​correlation_plot_example.f90 Adds MIT header.
examples/​custom_colormap_example.f90 Adds MIT header.
examples/​data_dependent_colors_2d.f90 Adds MIT header.
examples/​data_dependent_colors_3d.f90 Adds MIT header.
examples/​error_bar_example.f90 Adds MIT header.
examples/​fill_between_curves_example.f90 Adds MIT header.
examples/​filled_curve_example.f90 Adds MIT header.
examples/​function_plot_example.f90 Adds MIT header.
examples/​generic_2d_plot.f90 Adds MIT header.
examples/​generic_3d_plot.f90 Adds MIT header.
examples/​histogram_example.f90 Adds MIT header.
examples/​impulse_example.f90 Adds MIT header.
examples/​jitter_plot_example.f90 Adds MIT header.
examples/​latex_plot_example.f90 Adds MIT header.
examples/​legend_example.f90 Adds MIT header.
examples/​log_scaling_example.f90 Adds MIT header.
examples/​margins_example.f90 Adds MIT header.
examples/​multiplot_example_1.f90 Adds MIT header.
examples/​multiplot_example_2.f90 Adds MIT header.
examples/​multiplot_save_to_file_example.f90 Adds MIT header.
examples/​pdf_plot_example.f90 Adds MIT header.
examples/​plot_label_example.f90 Adds MIT header.
examples/​png_plot_example.f90 Adds MIT header.
examples/​png_plot_example_2.f90 Adds MIT header.
examples/​polar_plot_example.f90 Adds MIT header.
examples/​polar_plot_simplified_example.f90 Adds MIT header.
examples/​save_to_file_example.f90 Adds MIT header.
examples/​secondary_y_axis_example.f90 Adds MIT header.
examples/​square_axis_example.f90 Adds MIT header.
examples/​surface_plot_example.f90 Adds MIT header.
examples/​surface_plot_example_2.f90 Adds MIT header.
examples/​svg_plot_example.f90 Adds MIT header.
examples/​triangle_mesh_surface_example.f90 Adds MIT header.
examples/​triangulation_2d_example.f90 Adds MIT header.
examples/​triangulation_2d_location_example.f90 Adds MIT header.
examples/​variable_point_size_2d_example.f90 Adds MIT header.
examples/​variable_point_size_3d_example.f90 Adds MIT header.
examples/​vector_plot_example.f90 Adds MIT header.
examples/​wireframe_surface_example.f90 Adds MIT header.
examples/​zero_axis_example.f90 Adds MIT header.
doc/​src/​delaunay.f90 Adds MIT header.
doc/​src/​fplot_arrow.f90 Adds MIT header.
doc/​src/​fplot_colormap.f90 Adds MIT header.
doc/​src/​fplot_colors.f90 Adds MIT header.
doc/​src/​fplot_constants.f90 Adds MIT header.
doc/​src/​fplot_core.f90 Adds MIT header.
doc/​src/​fplot_core_routines.f90 Adds MIT header.
doc/​src/​fplot_delaunay_tri_surface.f90 Adds MIT header.
doc/​src/​fplot_errors.f90 Adds MIT header.
doc/​src/​fplot_filled_plot_data.f90 Adds MIT header.
doc/​src/​fplot_label.f90 Adds MIT header.
doc/​src/​fplot_latex_terminal.f90 Adds MIT header.
doc/​src/​fplot_legend.f90 Adds MIT header.
doc/​src/​fplot_multiplot.f90 Adds MIT header.
doc/​src/​fplot_pdf_terminal.f90 Adds MIT header.
doc/​src/​fplot_plot.f90 Adds MIT header.
doc/​src/​fplot_plot_2d.f90 Adds MIT header.
doc/​src/​fplot_plot_3d.f90 Adds MIT header.
doc/​src/​fplot_plot_axis.f90 Adds MIT header.
doc/​src/​fplot_plot_bar.f90 Adds MIT header.
doc/​src/​fplot_plot_data.f90 Adds MIT header.
doc/​src/​fplot_plot_data_2d.f90 Adds MIT header.
doc/​src/​fplot_plot_data_3d.f90 Adds MIT header.
doc/​src/​fplot_plot_data_bar.f90 Adds MIT header.
doc/​src/​fplot_plot_data_box_whisker.f90 Adds MIT header.
doc/​src/​fplot_plot_data_error_bars.f90 Adds MIT header.
doc/​src/​fplot_plot_data_function.f90 Adds MIT header.
doc/​src/​fplot_plot_data_histogram.f90 Adds MIT header.
doc/​src/​fplot_plot_data_tri_2d.f90 Adds MIT header.
doc/​src/​fplot_plot_object.f90 Adds MIT header.
doc/​src/​fplot_plot_polar.f90 Adds MIT header.
doc/​src/​fplot_png_terminal.f90 Adds MIT header.
doc/​src/​fplot_qt_terminal.f90 Adds MIT header.
doc/​src/​fplot_simplify.f90 Adds MIT header.
doc/​src/​fplot_stats_plots.f90 Adds MIT header.
doc/​src/​fplot_surface_plot.f90 Adds MIT header.
doc/​src/​fplot_surface_plot_data.f90 Adds MIT header.
doc/​src/​fplot_svg_terminal.f90 Adds MIT header.
doc/​src/​fplot_terminal.f90 Adds MIT header.
doc/​src/​fplot_tri_surface_plot_data.f90 Adds MIT header.
doc/​src/​fplot_triangulations_delaunay_2d.f90 Adds MIT header.
doc/​src/​fplot_vector_field_plot_data.f90 Adds MIT header.
doc/​src/​fplot_windows_terminal.f90 Adds MIT header.
doc/​src/​fplot_wxt_terminal.f90 Adds MIT header.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread LICENSE
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
MIT License

Copyright (c) 2017-2026 Jason Christopherson

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added the GEOMPACK attribution to LICENSE alongside the MIT terms. Commit: a6e7104.

Comment thread doc/src/delaunay.f90 Outdated
Comment on lines +1 to +2
! Copyright (c) 2017-2026 Jason Christopherson
! Licensed under the MIT License. See the LICENSE file in the project root.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the documentation source header to distinguish local modifications from GEOMPACK attribution and preserve the upstream MIT statement. Commit: 3a34fd4.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the documentation copy to distinguish local modifications and preserve the GEOMPACK author and MIT attribution. Commit: 3a34fd4.

Comment thread src/delaunay/delaunay.f90 Outdated
Comment on lines +1 to +2
! Copyright (c) 2017-2026 Jason Christopherson
! Licensed under the MIT License. See the LICENSE file in the project root.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the source header to distinguish local modifications and retain GEOMPACK authorship and upstream MIT attribution. Commit: c2b76cd.

Co-authored-by: jchristopherson <28952490+jchristopherson@users.noreply.github.com>
Co-authored-by: jchristopherson <28952490+jchristopherson@users.noreply.github.com>
Co-authored-by: jchristopherson <28952490+jchristopherson@users.noreply.github.com>
@jchristopherson
jchristopherson marked this pull request as ready for review October 1, 2026 19:44
@jchristopherson
jchristopherson merged commit 4c916ed into master Oct 1, 2026
11 checks passed
@jchristopherson
jchristopherson deleted the copilot/switch-to-mit-license branch October 1, 2026 19:55
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.

3 participants