Commit 2ed86700 authored by Swann Perarnau's avatar Swann Perarnau
Browse files

[doc] add license header, copyright, authors

In line with rest of the project.
Consider all authors as Argonne employees up to this commit. We will
follow the DCO (https://developercertificate.org/) process from now on.
parent 4afb1ea2
Pipeline #8548 passed with stage
in 2 minutes and 18 seconds
Alexis Janon <alexis.janon@grenoble-inp.org>
Swann Perarnau <swann@anl.gov>
[package]
name = "cuttr"
version = "0.1.0"
authors = ["Alexis Janon <alexis.janon@grenoble-inp.org>"]
[dependencies]
serde = "1.0"
......@@ -11,4 +10,4 @@ log = "0.4"
log4rs = "0.8"
libc = "0.2"
clap = "2.32"
rand = "0.5"
\ No newline at end of file
rand = "0.5"
Copyright (c) 2019, UChicago Argonne, LLC. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
pub mod sysfscontroller;
use self::sysfscontroller::{get_sys_fs_controllers, SysFsControllerList};
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use error::*;
use result::CommandResult;
use std::collections::HashMap;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use serde_json;
use std::error::Error as StdError;
use std::fmt;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#[macro_use]
extern crate log;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#[macro_use]
extern crate log;
extern crate clap;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use error::*;
use random::random_string;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use rand::distributions::Alphanumeric;
use rand::{thread_rng, Rng};
use std::iter;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use std::fmt;
#[derive(PartialEq, Eq, Debug)]
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
mod slice;
use self::slice::*;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use error::*;
use std::collections::HashMap;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use transaction::*;
pub struct CommandList {
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use result::*;
use std::fs;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use std::fs;
use std::path::PathBuf;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use std::fs;
use std::path::PathBuf;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
pub use self::create_dir::*;
pub use self::find_get_set_value::*;
pub use self::get_set_value::*;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::SysFsControllerList;
use std::fs;
use std::io;
......
/*******************************************************************************
* Copyright 2019 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the cuttr project.
* For more info, see https://xgitlab.cels.anl.gov/argo/cuttr
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
use configuration::sysfscontroller::*;
use std::path;
use std::rc::Rc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment