技术解读

以下内容由 GitRead 中文社区 编辑团队基于项目 README 与官方资料整理, 结合中文开发者的常见使用场景补充技术选型建议。具体以项目官方文档为准。

深度技术分析:climate-strike/license 项目

项目背景与痛点

如今,化石燃料行业对开源软件的利用,已成为一个日益严峻的问题。一些大型石油和天然气公司可能试图利用这些资源来推动化石燃料的进一步开采,进而加剧环境问题。因此,climate-strike/license 项目应运而生,旨在通过定制的软件许可证,确保开源项目的贡献不被这些公司滥用,进一步减少对环境的负面影响。开发者社区的贡献价值不容小觑,如果被用于反环保的目的,将直接违背开源初衷。

核心技术揭秘

技术挑战

climate-strike/license 项目的核心挑战在于如何通过许可证条款,有效限制某些行业对开源项目的利用,同时保证合法用户的利益不受损。这不仅需要对许可协议的深入理解,也需要在版权法方面有广泛的知识储备。

架构与实现

此项目的核心在于定制化许可证,具体实施时是一种以 MIT 和 Apache 为基础的自定义条款。这里,项目组一方面保护了代码的自由传播,另一方面也明确禁止了特定行业(尤其是石油和天然气行业)的商业利用。

数据流与架构分析

对于此类许可证,其主要的工作流程包括用户下载代码、审核合规性并实施。下面我们通过一个 Mermaid 图来展示这一过程。

graph TD A[用户下载代码] --> B{"查看许可证"} B -->|"符合要求"| C[实施项目] B -->|"不符合要求"| D[寻找替代方案]

重要的是,这种许可证不仅是法律约束,还需要有严格的自检机制来确保项目的主要使用者和贡献者都理解并遵守条款。这需要开发者社区的共同协作。

功能亮点与差异

与常见的 MIT 或 GPL 等许可证相比,climate-strike/license 的最大特色在于其明确排除条款。这种针对性的设计能够有效阻止与环境保护目标相悖的滥用行为,保护环保项目的初衷。

应用场景与落地建议

在实际生产环境中使用该许可证时,项目维护者需要明示条款,明确标明拒绝为特定行业提供服务。针对企业用户,尤其是那些可能受观察行业的企业,建议采取更为保守的态度,并确保有完备的合规检测流程。

综合评价

优点

  • 明确的行业限制,能够有效避免环保项目成果被滥用。
  • 提供了法律上的保障,降低了敏感行业对开源项目的负面影响。
  • 增强了开源项目的环境保护属性。

缺点

  • 对特定行业的限制可能导致某些潜在用户的流失。
  • 实施自检机制可能增加了项目维护者的负担。

总之,climate-strike/license 是一种勇敢且创新的尝试,为开源社区提供了一种更环保的许可证选择。同时,项目背后的环保意义使其成为值得开发者考虑的选项之一。

关于

GitHub 原始描述(英文)

Prevent oil and gas companies from co-opting your work and extracting more fossil fuels with this software license.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
529
价值分
295
活跃状态
活跃

README

Climate Strike Software

Build Status

Climate Strike Software is software that uses the Climate Strike License, a software license that developers can use to prohibit the use of their code by applications or companies that threaten to accelerate climate change through fossil fuel extraction.

Table of Contents

  1. Why now?
  2. Top OSS projects that accelerate the climate crisis
  3. How to use the License
  4. Reading List
  5. Is it an Open Source License

Why now?

Despite the urgency of our planet’s climate crisis, oil production is at an all-time high. The use of new technology is one of the main reasons behind the growth. Reservoirs that were deemed too costly to harvest are now being harvested with new equipment, better industrial processes, and increasingly specialized software. At this rate, most oil and gas company’s projected oil production is only set to increase.

Most recently, Big Oil has begun to use cloud computing, the internet of things, and artificial intelligence (AI) to accelerate fossil fuel extraction. Specialists have also begun to call AI the next “productivity revolution in the Oil & Gas industry” and are increasingly depending open source technologies to increase their efficiency. In their profit-maximizing short-sightedness, oil and gas companies are ramping up with new software to automate and optimize oil production.

By adopting the Climate Strike License, developers can explicitly prohibit the use of their software within some of the largest oil companies including Chevron, BP, Exxon Mobil, and many other companies that turn a blind eye to the greatest threat that humanity has faced.

This license reminds developers that we have the power to stop these multinational oil companies from taking advantage of open source software – that instead of waiting idly by, that they can take an active position in preventing a climate catastrophe.

Top OSS projects that accelerate the climate crisis

This is a list of the top 10 open source projects that knowingly or unknowingly contribute to the climate crisis. If each of these projects adopts the climate strike license, we may start to see a significant impact on the productivity of the fossil fuel industries.

To create this list, we parsed through GitHub for all the repos that are explicitly used for oil production and we looked through all of their dependencies. This list reflects the repos that are most commonly used when building software for oil production.

See our full methodology for creating this list.

Rank Project Uses the Climate Strike License Date of adoption Link to Issue
1 numpy :x: N/A Issue Discussion
2 matplotlib :x: N/A Not yet created
3 scipy :x: N/A Not yet created
4 pandas :x: N/A Not yet created
5 pytest :x: N/A Not yet created
6 sphinx :x: N/A Not yet created
7 jupyter :x: N/A Not yet created
8 pytest-cov :x: N/A Not yet created
9 nose :x: N/A Not yet created
10 requests :x: N/A Not yet created

How to use the License?

To use the license in your project, follow the steps below:

  1. Add the license appropriate for your project (MIT, BSD, or request another) to the root level of your project:

  2. Update the <year> and <copyright holders> fields at the top of the license.

  3. Attach the badge to your project by pasting the following snippet into your project’s README.md:

    [![Build Status](https://img.shields.io/static/v1.svg?label=CSL&message=software%20against%20climate%20change&color=green?style=flat&logo=github)](https://img.shields.io/static/v1.svg?label=CSL&message=software%20against%20climate%20change&color=green?style=flat&logo=github)
    
  4. Add your project to the Greenlist by making a PR to this repo.

Reading List

A short list of useful articles about software and climate change:

  • How Google, Microsoft, and Big Tech Are Automating the Climate Crisis

    This article provides a good overview of how the three cloud computing giants (Microsoft, Google, Amazon) have become active collaborators of the oil and gas industry and how they are using AI to automate the climate crisis.

  • Amazon Employees Will Walk Out Over the Company’s Climate Change Inaction

    Amazon workers walked out on September 20th, 2019 as part of the Global Climate Strike. They demanded the following of their company: (1) Zero emissions by 2030, (2) Zero custom Amazon Web Services (AWS) contracts for fossil fuel companies to accelerate oil and gas extraction, (3) Zero funding for climate-denying lobbyists and politicians.

  • Here are 10 ways AI could help fight climate change

    Instead of using AI to accelerate the climate crisis, AI can also be used to fight against it. This article gives us some ideas for how open source technologies and AI can make a positive impact instead of a negative one.

Is it an Open Source License?

While the Climate Strike License violates the Open Source Initiative’s canonical Open Source Definition, which explicitly excludes licenses that limit re-use “in a specific field of endeavor”, we feel that as tech workers, we should take responsibility in how our software is used, and that the urgency of climate change cannot be limited by the ideological position of open source software. Instead, we want adopters of the Climate Strike License to take a bold stance in the fight to save the planet.

评论

暂无评论