-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add license header in files and set config file for licensure tool + …
…documentation
- Loading branch information
Showing
46 changed files
with
592 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
excludes: | ||
- \.gitignore | ||
- .*lock | ||
- \.git/.* | ||
- \.licensure\.yml | ||
- README.* | ||
- LICENSE.* | ||
- .*\.(md|rst|txt) | ||
|
||
licenses: | ||
- files: any | ||
ident: AGPL-3.0 | ||
authors: | ||
- name: FusionSuite Team | ||
# auto_template: true | ||
template: | | ||
Copyright (C) [year] [name of author] | ||
This program is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3. | ||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see | ||
<https://www.gnu.org/licenses/>. | ||
comments: | ||
- extensions: | ||
- rs | ||
commenter: | ||
type: line | ||
comment_char: "//" | ||
trailing_lines: 1 | ||
columns: 80 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Set license header in files | ||
|
||
## Install licensure | ||
|
||
You need install the licensure tool: | ||
|
||
```sh | ||
cargo install licensure | ||
``` | ||
|
||
## Run licensure to add / update headers | ||
|
||
Run from root of repository: | ||
|
||
```sh | ||
find ./ -name "*.rs" -exec ~/.cargo/bin/licensure --in-place --verbose {} \; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
// Copyright (C) 2024 FusionSuite Team | ||
// | ||
// This program is free software: you can redistribute it and/or modify it under | ||
// the terms of the GNU Affero General Public License as published by the Free | ||
// Software Foundation, version 3. | ||
// | ||
// This program is distributed in the hope that it will be useful, but WITHOUT | ||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
// details. You should have received a copy of the GNU Affero General Public | ||
// License along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pub mod dmidecode; | ||
pub mod config; | ||
pub mod webserver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
// Copyright (C) 2024 FusionSuite Team | ||
// | ||
// This program is free software: you can redistribute it and/or modify it under | ||
// the terms of the GNU Affero General Public License as published by the Free | ||
// Software Foundation, version 3. | ||
// | ||
// This program is distributed in the hope that it will be useful, but WITHOUT | ||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
// details. You should have received a copy of the GNU Affero General Public | ||
// License along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pub mod dmidecode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
// Copyright (C) 2024 FusionSuite Team | ||
// | ||
// This program is free software: you can redistribute it and/or modify it under | ||
// the terms of the GNU Affero General Public License as published by the Free | ||
// Software Foundation, version 3. | ||
// | ||
// This program is distributed in the hope that it will be useful, but WITHOUT | ||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
// details. You should have received a copy of the GNU Affero General Public | ||
// License along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pub mod dmidecode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
// Copyright (C) 2024 FusionSuite Team | ||
// | ||
// This program is free software: you can redistribute it and/or modify it under | ||
// the terms of the GNU Affero General Public License as published by the Free | ||
// Software Foundation, version 3. | ||
// | ||
// This program is distributed in the hope that it will be useful, but WITHOUT | ||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
// details. You should have received a copy of the GNU Affero General Public | ||
// License along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pub mod freebsd; | ||
pub mod linux; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
// Copyright (C) 2024 FusionSuite Team | ||
// | ||
// This program is free software: you can redistribute it and/or modify it under | ||
// the terms of the GNU Affero General Public License as published by the Free | ||
// Software Foundation, version 3. | ||
// | ||
// This program is distributed in the hope that it will be useful, but WITHOUT | ||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
// details. You should have received a copy of the GNU Affero General Public | ||
// License along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pub mod common; | ||
pub mod freebsd; | ||
pub mod linux; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.