Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Add COPYING and headers for GPL-3.
Browse files Browse the repository at this point in the history
  • Loading branch information
gildor478 committed Sep 10, 2015
1 parent 0f1cc9c commit b6e474b
Show file tree
Hide file tree
Showing 11 changed files with 858 additions and 22 deletions.
674 changes: 674 additions & 0 deletions COPYING.txt

Large diffs are not rendered by default.

22 changes: 20 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
###########################################################################
# darckup: Manage dar backups. #
# #
# Copyright (C) 2015, Sylvain Le Gall #
# #
# This program 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. #
# #
# 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 General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
###########################################################################

default: test

Expand Down Expand Up @@ -74,8 +92,8 @@ test: precommit
headache:
find ./ \
-name _darcs -prune -false \
-name .git -prune -false \
-name .svn -prune -false \
-o -name .git -prune -false \
-o -name .svn -prune -false \
-o -name _build -prune -false \
-o -name dist -prune -false \
-o -name '*[^~]' -type f \
Expand Down
38 changes: 18 additions & 20 deletions _headache.config
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
################################################################################
# dlnasync: Synchronize your media collection with a DLNA server. #
# #
# Copyright (C) 2013, Sylvain Le Gall #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library 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 file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################
###########################################################################
# darckup: Manage dar backups. #
# #
# Copyright (C) 2015, Sylvain Le Gall #
# #
# This program 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. #
# #
# 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 General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
###########################################################################

| "setup.ml" -> no
| "myocamlbuild.ml" -> no
Expand Down
18 changes: 18 additions & 0 deletions src/darckup/conf.ml
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

let version = "0.0.1"
18 changes: 18 additions & 0 deletions src/darckup/conf.ml.ab
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

let version = "$(pkg_version)"
19 changes: 19 additions & 0 deletions src/darckup/main.ml
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

open Darckup

18 changes: 18 additions & 0 deletions src/lib/Darckup.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

module IntMap =
Map.Make
Expand Down
18 changes: 18 additions & 0 deletions src/lib/Darckup.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)


(** Darckup module provides functions to manage a dar backup system. *)
Expand Down
19 changes: 19 additions & 0 deletions src/lib/command/Command.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

type filename = string


Expand Down
18 changes: 18 additions & 0 deletions src/lib/command/Command.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

(** Command module provides functions to run commands. *)

Expand Down
18 changes: 18 additions & 0 deletions test/test.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
(*************************************************************************)
(* darckup: Manage dar backups. *)
(* *)
(* Copyright (C) 2015, Sylvain Le Gall *)
(* *)
(* This program 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. *)
(* *)
(* 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 General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU General Public License *)
(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
(*************************************************************************)

open OUnit2
open FileUtil
Expand Down

0 comments on commit b6e474b

Please sign in to comment.