aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2021-06-07 20:13:24 +0200
committerTeddy Wing2021-06-07 20:13:24 +0200
commit2a2780d8c3a0bd9d5a22b948627cfb3eaf338d1f (patch)
tree45c6aaebeee078b64c38873870d83553c460713b /src
parent52c1d69abef01228d939fa0377e655069bc19340 (diff)
downloadreflectub-2a2780d8c3a0bd9d5a22b948627cfb3eaf338d1f.tar.bz2
Add license (GNU GPLv3+)
Diffstat (limited to 'src')
-rw-r--r--src/database.rs18
-rw-r--r--src/git.rs18
-rw-r--r--src/github.rs18
-rw-r--r--src/lib.rs18
-rw-r--r--src/main.rs18
5 files changed, 90 insertions, 0 deletions
diff --git a/src/database.rs b/src/database.rs
index 6197db6..2c1c0c8 100644
--- a/src/database.rs
+++ b/src/database.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
use sqlx::{self, ConnectOptions, Connection, Executor, Row};
use thiserror;
diff --git a/src/git.rs b/src/git.rs
index a96adf5..6a2f153 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
use thiserror;
use std::fs;
diff --git a/src/github.rs b/src/github.rs
index 37e7f60..58f8983 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
use reqwest::ClientBuilder;
use serde::Deserialize;
use thiserror;
diff --git a/src/lib.rs b/src/lib.rs
index bc1e023..89be649 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
pub mod database;
pub mod git;
pub mod github;
diff --git a/src/main.rs b/src/main.rs
index bf9b7fe..5be1303 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
use anyhow::{self, Context};
use chrono::DateTime;
use exitcode;