NF: add AGPL licence missing in some file

I noticed it when I looked at some files now used in AnkiDroid, wanting to be sure we clearly indicate that we have
AGPLv3 code linked in the app
This commit is contained in:
Arthur Milchior 2021-01-31 21:50:21 +01:00
parent 31a3add848
commit 8b5ae7d7c5
14 changed files with 42 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
load("@rules_proto//proto:defs.bzl", "proto_library") load("@rules_proto//proto:defs.bzl", "proto_library")
load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test") load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test")
load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")

View file

@ -1,3 +1,5 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
syntax = "proto3"; syntax = "proto3";
package BackendProto; package BackendProto;

View file

@ -1,3 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
pub mod mergeftl; pub mod mergeftl;
pub mod protobuf; pub mod protobuf;

View file

@ -1,3 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
use fluent_syntax::ast::Entry; use fluent_syntax::ast::Entry;
use fluent_syntax::parser::Parser; use fluent_syntax::parser::Parser;
use std::path::Path; use std::path::Path;

View file

@ -1,3 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
use std::path::PathBuf; use std::path::PathBuf;
use std::{env, fmt::Write}; use std::{env, fmt::Write};

View file

@ -1,3 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
include!("mergeftl.rs"); include!("mergeftl.rs");
fn main() { fn main() {

View file

@ -1,3 +1,6 @@
# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
""" """
@generated @generated
cargo-raze generated Bazel file. cargo-raze generated Bazel file.

View file

@ -1,3 +1,6 @@
# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
""" """
Exposes a clang-format binary for formatting protobuf. Exposes a clang-format binary for formatting protobuf.
""" """

View file

@ -1,3 +1,6 @@
# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import sys, subprocess, os, difflib import sys, subprocess, os, difflib
clang_format = sys.argv[1] clang_format = sys.argv[1]
@ -33,4 +36,4 @@ for path in sys.argv[2:]:
found_bad = True found_bad = True
if found_bad: if found_bad:
sys.exit(1) sys.exit(1)

View file

@ -1,3 +1,6 @@
# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
def _rustfmt_impl(ctx): def _rustfmt_impl(ctx):
toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"] toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"]
script_name = ctx.label.name + "_script" script_name = ctx.label.name + "_script"

View file

@ -1 +1,4 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
include!(concat!(env!("OUT_DIR"), "/backend_proto.rs")); include!(concat!(env!("OUT_DIR"), "/backend_proto.rs"));

View file

@ -1 +1,4 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
include!(concat!(env!("OUT_DIR"), "/fluent_proto.rs")); include!(concat!(env!("OUT_DIR"), "/fluent_proto.rs"));

View file

@ -1,3 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
mod cards; mod cards;
mod notes; mod notes;
mod parser; mod parser;

View file

@ -1,3 +1,6 @@
<!-- Copyright: Ankitects Pty Ltd and contributors
-- License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->
<table class="card-stats" width="100%"> <table class="card-stats" width="100%">
{% for row in stats %} {% for row in stats %}
<tr> <tr>