From 2a2780d8c3a0bd9d5a22b948627cfb3eaf338d1f Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Mon, 7 Jun 2021 20:13:24 +0200
Subject: Add license (GNU GPLv3+)
---
src/database.rs | 18 ++++++++++++++++++
src/git.rs | 18 ++++++++++++++++++
src/github.rs | 18 ++++++++++++++++++
src/lib.rs | 18 ++++++++++++++++++
src/main.rs | 18 ++++++++++++++++++
5 files changed, 90 insertions(+)
(limited to 'src')
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 .
+
+
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 .
+
+
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 .
+
+
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 .
+
+
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 .
+
+
use anyhow::{self, Context};
use chrono::DateTime;
use exitcode;
--
cgit v1.2.3