Add copyright headers

This commit is contained in:
Sylvain Corlay 2020-07-10 10:35:48 +02:00
parent dd08915b8c
commit cf6017edd7
60 changed files with 363 additions and 9 deletions

View File

@ -1,3 +1,9 @@
# Copyright (c) 2019, QuantStack and Mamba Contributors
#
# Distributed under the terms of the BSD 3-Clause License.
#
# The full license is in the file LICENSE, distributed with this software.
cmake_minimum_required (VERSION 2.8.11) cmake_minimum_required (VERSION 2.8.11)
if(POLICY CMP0025) if(POLICY CMP0025)
cmake_policy(SET CMP0025 NEW) cmake_policy(SET CMP0025 NEW)

View File

@ -1,4 +1,4 @@
Copyright 2020 QuantStack and the Mamba contributors. Copyright 2019 QuantStack and the Mamba contributors.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@ -168,5 +168,10 @@ cmake .. \
### Support us ### Support us
For questions, you can also join us on [QuantStack Chat](https://gitter.im/QuantStack/Lobby) or on the [conda channel](https://gitter.im/conda/conda) (note that this project is not officially affiliated with `conda` or Anaconda Inc.). For questions, you can also join us on the [QuantStack Chat](https://gitter.im/QuantStack/Lobby) or on the [conda channel](https://gitter.im/conda/conda) (note that this project is not officially affiliated with `conda` or Anaconda Inc.).
### License
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the BSD-3-Clause license. See the [LICENSE](LICENSE) file for details.

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_ACTIVATION_HPP #ifndef MAMBA_ACTIVATION_HPP
#define MAMBA_ACTIVATION_HPP #define MAMBA_ACTIVATION_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_CHANNEL_HPP #ifndef MAMBA_CHANNEL_HPP
#define MAMBA_CHANNEL_HPP #define MAMBA_CHANNEL_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_CONTEXT_HPP #ifndef MAMBA_CONTEXT_HPP
#define MAMBA_CONTEXT_HPP #define MAMBA_CONTEXT_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_ENVIRONMENT_HPP #ifndef MAMBA_ENVIRONMENT_HPP
#define MAMBA_ENVIRONMENT_HPP #define MAMBA_ENVIRONMENT_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_ENVIRONMENT_MANAGER #ifndef MAMBA_ENVIRONMENT_MANAGER
#define MAMBA_ENVIRONMENT_MANAGER #define MAMBA_ENVIRONMENT_MANAGER

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_FETCH_HPP #ifndef MAMBA_FETCH_HPP
#define MAMBA_FETCH_HPP #define MAMBA_FETCH_HPP

View File

@ -1,3 +1,10 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_FS_UTIL #ifndef MAMBA_FS_UTIL
#define MAMBA_FS_UTIL #define MAMBA_FS_UTIL

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_GRAPH_UTIL_HPP #ifndef MAMBA_GRAPH_UTIL_HPP
#define MAMBA_GRAPH_UTIL_HPP #define MAMBA_GRAPH_UTIL_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_HISTORY #ifndef MAMBA_HISTORY
#define MAMBA_HISTORY #define MAMBA_HISTORY

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_LINK #ifndef MAMBA_LINK
#define MAMBA_LINK #define MAMBA_LINK

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_MATCH_SPEC #ifndef MAMBA_MATCH_SPEC
#define MAMBA_MATCH_SPEC #define MAMBA_MATCH_SPEC

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_OUTPUT_HPP #ifndef MAMBA_OUTPUT_HPP
#define MAMBA_OUTPUT_HPP #define MAMBA_OUTPUT_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_PACKAGE_CACHE #ifndef MAMBA_PACKAGE_CACHE
#define MAMBA_PACKAGE_CACHE #define MAMBA_PACKAGE_CACHE

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_PACKAGE_HANDLING_HPP #ifndef MAMBA_PACKAGE_HANDLING_HPP
#define MAMBA_PACKAGE_HANDLING_HPP #define MAMBA_PACKAGE_HANDLING_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_PACKAGE_INFO #ifndef MAMBA_PACKAGE_INFO
#define MAMBA_PACKAGE_INFO #define MAMBA_PACKAGE_INFO

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_READ_PATHS_HPP #ifndef MAMBA_READ_PATHS_HPP
#define MAMBA_READ_PATHS_HPP #define MAMBA_READ_PATHS_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_POOL_HPP #ifndef MAMBA_POOL_HPP
#define MAMBA_POOL_HPP #define MAMBA_POOL_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_PREFIX_DATA_HPP #ifndef MAMBA_PREFIX_DATA_HPP
#define MAMBA_PREFIX_DATA_HPP #define MAMBA_PREFIX_DATA_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_QUERY_HPP #ifndef MAMBA_QUERY_HPP
#define MAMBA_QUERY_HPP #define MAMBA_QUERY_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_REPO_HPP #ifndef MAMBA_REPO_HPP
#define MAMBA_REPO_HPP #define MAMBA_REPO_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_SHELL_INIT #ifndef MAMBA_SHELL_INIT
#define MAMBA_SHELL_INIT #define MAMBA_SHELL_INIT

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_SOLVER_HPP #ifndef MAMBA_SOLVER_HPP
#define MAMBA_SOLVER_HPP #define MAMBA_SOLVER_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_SUBDIRDATA_HPP #ifndef MAMBA_SUBDIRDATA_HPP
#define MAMBA_SUBDIRDATA_HPP #define MAMBA_SUBDIRDATA_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_TRANSACTION_HPP #ifndef MAMBA_TRANSACTION_HPP
#define MAMBA_TRANSACTION_HPP #define MAMBA_TRANSACTION_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_TRANSACTION_CONTEXT #ifndef MAMBA_TRANSACTION_CONTEXT
#define MAMBA_TRANSACTION_CONTEXT #define MAMBA_TRANSACTION_CONTEXT

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_URL_HPP #ifndef MAMBA_URL_HPP
#define MAMBA_URL_HPP #define MAMBA_URL_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_UTIL_HPP #ifndef MAMBA_UTIL_HPP
#define MAMBA_UTIL_HPP #define MAMBA_UTIL_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_VALIDATE_HPP #ifndef MAMBA_VALIDATE_HPP
#define MAMBA_VALIDATE_HPP #define MAMBA_VALIDATE_HPP

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#define MAMBA_VERSION_MAJOR @MAMBA_VERSION_MAJOR@ #define MAMBA_VERSION_MAJOR @MAMBA_VERSION_MAJOR@
#define MAMBA_VERSION_MINOR @MAMBA_VERSION_MINOR@ #define MAMBA_VERSION_MINOR @MAMBA_VERSION_MINOR@
#define MAMBA_VERSION_PATCH @MAMBA_VERSION_PATCH@ #define MAMBA_VERSION_PATCH @MAMBA_VERSION_PATCH@

View File

@ -1,3 +1,9 @@
# Copyright (c) 2019, QuantStack and Mamba Contributors
#
# Distributed under the terms of the BSD 3-Clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from setuptools import setup, Extension from setuptools import setup, Extension

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "activation.hpp" #include "activation.hpp"
#include "environment.hpp" #include "environment.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <iostream> #include <iostream>
#include <regex> #include <regex>
#include <set> #include <set>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <csignal> #include <csignal>
#include "output.hpp" #include "output.hpp"

View File

@ -1 +1,7 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "environments_manager.hpp" #include "environments_manager.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <string_view> #include <string_view>
#include <thread> #include <thread>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <fstream> #include <fstream>
#include "history.hpp" #include "history.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <regex> #include <regex>
#include "link.hpp" #include "link.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
// #include <cxxopts.hpp> // #include <cxxopts.hpp>
#include <CLI/CLI.hpp> #include <CLI/CLI.hpp>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "match_spec.hpp" #include "match_spec.hpp"
#include "output.hpp" #include "output.hpp"
#include "url.hpp" #include "url.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#else #else

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "nlohmann/json.hpp" #include "nlohmann/json.hpp"
#include "validate.hpp" #include "validate.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <sstream> #include <sstream>
#include <archive.h> #include <archive.h>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <functional> #include <functional>
#include <map> #include <map>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "package_paths.hpp" #include "package_paths.hpp"
#include "util.hpp" #include "util.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "pool.hpp" #include "pool.hpp"
#include "output.hpp" #include "output.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "prefix_data.hpp" #include "prefix_data.hpp"
#include "output.hpp" #include "output.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include <pybind11/stl.h> #include <pybind11/stl.h>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>
#include <numeric> #include <numeric>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "repo.hpp" #include "repo.hpp"
#include "package_info.hpp" #include "package_info.hpp"
#include "output.hpp" #include "output.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "solver.hpp" #include "solver.hpp"
#include "output.hpp" #include "output.hpp"
#include "util.hpp" #include "util.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "openssl/md5.h" #include "openssl/md5.h"
#include "thirdparty/filesystem.hpp" #include "thirdparty/filesystem.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <iostream> #include <iostream>
#include <thread> #include <thread>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "transaction_context.hpp" #include "transaction_context.hpp"
#include "output.hpp" #include "output.hpp"
#include "util.hpp" #include "util.hpp"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <iostream> #include <iostream>
#include <regex> #include <regex>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <cerrno> #include <cerrno>

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <iostream> #include <iostream>
#include "openssl/sha.h" #include "openssl/sha.h"
#include "openssl/md5.h" #include "openssl/md5.h"

View File

@ -1,3 +1,9 @@
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "version.hpp" #include "version.hpp"
const char mamba_version[] = MAMBA_VERSION_STRING; const char mamba_version[] = MAMBA_VERSION_STRING;