Skip to content

[Doc]: Compress copyright message #28418

Open

Description

@timhoffm

Documentation Link

https://matplotlib.org/stable/

Problem

The message in the footer reads

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2024 The Matplotlib development team.

This is very verbose.

Suggested improvement

Per

The Matplotlib Development Team is the set of all contributors to the matplotlib project

logic would suggest that John Hunter, Darren Dale, Eric Firing, Michael Droettboom also belong to the Matplotlib development team and one can absorb everything in

© Copyright 2002-2024 The Matplotlib development team.

Which reads a bit nicer. Does anybody know whether that's viable (logic and law sometimes have a funny relationship)?

Activity

  1. story645 commented on Jun 18, 2024

    @story645
    Member

    Going by https://matplotlib.org/stable/project/license.html#copyright-policy, there are two distinct copyrights:

    Prior to July of 2013, and the 1.3.0 release, the copyright of the source code was held by John Hunter. As of July 2013, and the 1.3.0 release, matplotlib has moved to a shared copyright model.

    which my guess is means you'd need to run a change by a lawyer.

    ETA: though now I'm curious why that footer statement doesn't quite line up w/ the copyright statement.

  2. timhoffm commented on Jun 18, 2024

    @timhoffm
    MemberAuthor

    I'm also not clear: Is the copyright notice in the footer for the website, the Matplotlib code, or both?

    In theory, it would even be enough to just state the year of publication "© Copyright 2024 The Matplotlib development team", though date ranges are equally acceptable.

    From https://www.nolo.com/legal-encyclopedia/when-do-you-need-copyright-notice-websites-and-where-do-you-place-it.html

    A copyright notice must also state the year the work was published. A website is published when it's first launched. If you subsequently change the content on your site or you reorganize the pages on the site, you can refresh your copyright notice to the year of the update.

    There's no hard-and-fast rule for how substantial the changes to your website content need to be for you to update the year of publication. If you regularly add new content or edit the existing content, you should probably update the year in your copyright notice each year.

    An alternative is listing a range of years for the year of publication and from time to time updating the year at the end of that range. If you've operated your site for multiple years and updated the site during that time, you can take this approach. For example, a copyright notice of "© 2019-2022 Your Name" covers a site launched in 2019 and all updates and revisions through 2022.

  3. dopplershift commented on Jun 20, 2024

    @dopplershift
    Contributor

    IANAL, but my understanding is that none of this statement matters to actually assert/hold copyright: the authors of a work have the copyright unless it is explicitly (via document) transferred/relinquished. These statements are useful, in cases of infringement, in determining whether the infringement would be considered "willful" and subject to increased penalties. (I see now this is what the link above also says.)

    IMO, it's fine to update to something that reads nicer.

  4. jayaddison commented on Jun 20, 2024

    @jayaddison
    Contributor

    Something of a tangent, but after discovering some relevance here I want to mention it:

    When the SOURCE_DATE_EPOCH environment variable is configured to support a reproducible (deterministic) build, Sphinx will attempt to update copyright-related config entries that match some year-based patterns (YYYY, YYYY-YYYY, ..) to contain a constant end-year value.

    The existing matplotlib copyright notice is currently unaffected by this behaviour because the dash uses an 'en dash' that doesn't pattern-match using the existing logic. However, for awareness and context: I'm proposing to change that (ref sphinx-doc/sphinx#12450) to enable an unrelated project that also uses Sphinx to build reproducibly.

  5. QuLogic commented on Jun 20, 2024

    @QuLogic
    Member

    Yes, we used an en-dash to avoid that substitution on purpose.

  6. jayaddison commented on Jun 21, 2024

    @jayaddison
    Contributor

    Ok, thanks @QuLogic - that's good to know and reaffirms that we shouldn't support en-dash in the substitutions.

  7. jayaddison commented on Jun 29, 2024

    @jayaddison
    Contributor

    @QuLogic I have a sense that there a few quirks in the way that Sphinx performs year-substitutions in copyright notices, and I'd like to try to address those. I've proposed two changes; could you (and/or anyone else maintaining here) let me know if those would be useful to matplotlib as a Sphinx consumer? It's OK if they wouldn't be! - feedback to avoid unnecessary expenditure of effort is valuable too.

    To reiterate the two suggested changes here, they would be:

    1. To allow disabling the automated SOURCE_DATE_EPOCH current-year substitution when Sphinx documentation builds occur, using a configuration option.
    2. As a compatibility pathway for projects that do want to retain the ability, to add and document a specific marker ({{ current_year }} or similar) that can be used to opt-in to have that pattern replaced within the configured copyright notice of a Sphinx project.

    Apologies for my tangential/off-topic discussion; I'd be glad for feedback if available though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions